Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Bypass proxy for local site

843802Oct 2 2008 — edited Oct 8 2008
Hi,

I am trying to run a program from a web server in my company's intranet via Web Start.

It fails to run with a 502 HTTP error.

I found out (using a packet sniffer) that javaws tries to get the codebase of the jnlp file via the company's internet proxy, which doesn't work because the local server can only be connected directly.

The URL which leads to the error is "http://wikis.inside.mycompany.com/pub/Application/swingset.jnlp", which is the URL from where I downloaded the jnlp file itself.

The browser settings (IE 6 and Firefox 3) are automagically correctly configured from an URL (http://proxyconf.my-intra.net/). But apparently javaws uses its own settings.

How can I override them so that javaws uses the browser settings? I understand that javaws is supposed to read the browser settings, but it doesn't.

Here is the jnlp file itself (slightly modified):

<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://wikis.inside.mycompany.com/pub/Application/" href="swingset.jnlp">
<information>
<title>SwingSet2</title>
<vendor>MyCompany</vendor>
<homepage href=""/>
<description>SwingSet2</description>
<description kind="short">SwingSet2</description>
</information>
<resources>
<j2se version="1.5+"/>
<jar href="SwingSet2.jar" main="true" download="eager"/>
</resources>
<application-desc main-class="SwingSet2">
</application-desc>
</jnlp>
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 5 2008
Added on Oct 2 2008
1 comment
220 views