Re: [Openjnlp-devel] Works with http proxies through firewall?
Brought to you by:
kherr
From: Kevin H. <ke...@na...> - 2002-07-02 18:44:12
|
On Tuesday, July 2, 2002, at 12:17 PM, Hanasaki JiJi wrote: > Does OpenJNLP work throgh http proxied firewalls? If so, how is it > configured? Unfortunately OpenJNLP has not had any proxy logic added to it. That being said, there might be a way to get it to work: > I have tried the Java Env settings of: > # JAVA PROXY SETTINGS > export proxySet=true > export proxyHost=firewall > export proxyPort=8080 Since OpenJNLP uses the built-in HTTP protocol handler, this should be the right approach. There could be issues with the environment variables not being picked up, so I'd recommend try setting the proxy values as java properties. You should be able to modify the openjnlp.sh script and add these properties by changing the PROPS line: PROPS="-DproxySet=true -DproxyHost=firewall -DproxyPort=8080" I have no proxy to test against, but that should actually set the Java System properties for proxying every time OpenJNLP starts up. Note: Unfortunately that won't change the behavior of the launcher, so once an app is launched by OpenJNLP I'm afraid the proxy settings will not be set for the app. |