*From: *John Evans <address@hidden
<mailto:address@hidden>>
*Date: *12 January 2010 5:45:02 AM
*To: *Tim Pugh <address@hidden <mailto:address@hidden>>
*Subject: **Re: setting proxy host and port in matlab/java*
Hi Tim,
To be honest, no, I've not tried to do such a thing before. I'll
look into it, but I'm not hopeful of coming up with anything useful.
On Mon, Jan 11, 2010 at 12:09 PM, Tim Pugh <address@hidden
<mailto:address@hidden>> wrote:
Hi John,
I'm trying to set a proxy host and port for matlab 2008b and
SNCTOOLS. I've verified that the installation works when the
proxy server is turned off, but it fails when the proxy server
is turned on.
So I've tried to set the proxy host and port in Matlab
preferences, no change, software fails to make connection with
THREDDS server. I've tried to set the
java.lang.System.setProperties('http.proxyHost','<http://proxyhostname>')
and the
java.lang.System.setProperties('http.proxyPort','<portNumber>'),
but that fails too.
I can reach the THREDDS site with a web browser, but not with
the Matlab and toolbox. Yes the web browser has the proxy
server correctly set, but the matlab/toolbox/java software fails
to complete a request until it timeout. It seems like MATLAB or
java is not talking to the proxy server.
Can you shed any light or help on solving the proxy server problem?
Regards,
- Tim Pugh -
--
John Evans