response code 403 from server when launching jnlp
843802Sep 17 2004 — edited Sep 21 2004Ive searched the forums for this same problem to no avail. We have a reverse proxy server which requires authentication to log in. Once the user logs in, then they can run our webstart app. But when I run it, I get this error in webstart: Please pay attention to the "Caused by:" section of the WRAPPED EXCEPTION tab.
-----------------------------------
GENERAL
An error occurred while launching/running the application.
Title: Sherlock
Vendor: Boeing
Category: Download Error
Unable to load resource: https://rptest.ca.boeing.com/sherlock/sherlockbpn.jnlp
------------------------------------
LAUNCH FILE
<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="https://rptest.ca.boeing.com/sherlock/"
href="sherlockbpn.jnlp">
<information>
<title>Sherlock</title>
<vendor>Boeing</vendor>
<homepage href="."/>
<description>Sherlock description.</description>
<offline-allowed/>
<icon href="sherlockWindowsIcon.gif"/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.4"/>
<jar href="sherlock.jar"/>
</resources>
<application-desc main-class="sherlock.gui.applet.SherlockApplet">
</application-desc>
</jnlp>
----------------------------------------------
EXCEPTION
JNLPException[category: Download Error : Exception: java.io.IOException : LaunchDesc: null ]
at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol.getLaunchFile(Unknown Source)
at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
at com.sun.javaws.Launcher.downloadResources(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
------------------------------------
WRAPPED EXCEPTION
JNLPException[category: Download Error : Exception: java.io.IOException : LaunchDesc: null ]
at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol.getLaunchFile(Unknown Source)
at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
at com.sun.javaws.Launcher.downloadResources(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: https://rptest.ca.boeing.com:443/ReverseProxy/Authentication.html
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
... 10 more
------------------------------------
CONSOLE
Java Web Start 1.4.2_05 Console, started Fri Sep 17 07:54:41 CDT 2004
Java 2 Runtime Environment: Version 1.4.2_05 by Sun Microsystems Inc.
-------------------------------------------
If you look at the wrapped exception, the server appears to be try ing to bounch Web Start back to the login screen. Thats what that https://rptest.ca.boeing.com:443/ReverseProxy/Authentication.html is. Its the login screen. But I have already logged in! It is as if I tried to launch this app without ever logging in. Is there any way to run a web start app after you have authenticated into a server? Please help if you can, I'm really in a bind.
Thanks,
Steve