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!

Java Web Start fails attempting to download J2RE 1.5.0_02 from jal.sun.com

843802Sep 20 2005
I'm attempting to deploy 1.5 applications over Java Web Start, however, the application opens up the Installer which then fails to download J2RE 1.5 throwing an UnknownHostException apparently while connecting to jal.sun.com. I opened IE and verified that I can go to jal.sun.com (it just redirects to java.sun.com), but that the file specified in the UnknownHostException generates an error that the site is not available. We have lots of other apps deployed via JWS that use 1.4 and I've never seen any problem like this.

Any ideas about this? This is a serious, serious problem. Other people must be experiencing this.

Here's the details from the JWS error screen:
General
An error occurred while launching/running the application.

Title: J2RE 1.5.0_02 Installer
Vendor: Sun Microsystems, Inc.
Category: Download Error

Unable to load resource: http://jal.sun.com/webapps/jawsautodl/AutoDL/j2se/javaws-1_0_1-j2re-1_5_0_02-native-windows-i586.jar

Exception:
JNLPException[category: Download Error : Exception: java.net.UnknownHostException: jal.sun.com : LaunchDesc: null ]

at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)

at com.sun.javaws.cache.DownloadProtocol.getResource(Unknown Source)

at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)

at com.sun.javaws.LaunchDownload.downloadEagerorAll(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:
java.net.UnknownHostException: jal.sun.com

at java.net.InetAddress.getAllByName0(Unknown Source)

at java.net.InetAddress.getAllByName0(Unknown Source)

at java.net.InetAddress.getByName(Unknown Source)

at java.net.Socket.<init>(Unknown Source)

at sun.net.NetworkClient.doConnect(Unknown Source)

at sun.net.www.http.HttpClient.openServer(Unknown Source)

at sun.net.www.http.HttpClient.openServer(Unknown Source)

at sun.net.www.http.HttpClient.<init>(Unknown Source)

at sun.net.www.http.HttpClient.<init>(Unknown Source)

at sun.net.www.http.HttpClient.New(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)

at com.sun.javaws.net.BasicNetworkLayer.doRequest(Unknown Source)

at com.sun.javaws.net.BasicNetworkLayer.doGetRequest(Unknown Source)

at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)

at com.sun.javaws.cache.DownloadProtocol.getResource(Unknown Source)

at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)

at com.sun.javaws.LaunchDownload.downloadEagerorAll(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)


Launch File (this is the installer launch file that apparently Sun uses to download a JRE):
<?xml version="1.0" encoding="utf-8"?><jnlp codebase="http://jal.sun.com/webapps/jawsautodl/AutoDL/j2se"> <information> <title>J2RE 1.5.0_02 Installer</title> <vendor>Sun Microsystems, Inc.</vendor> </information> <security> <all-permissions/> </security> <resources> <j2se version="1.3+" href="http://java.sun.com/products/autodl/j2se"/> <jar href="javaws-1_0_1-j2re-1_5_0_02-inst-windows-i586.jar" download="lazy" size="40986"/> <jar href="javaws-1_0_1-j2re-1_5_0_02-data-windows-i586.jar" download="lazy" size="15210416"/> <property name="javaVersion" value="1.5.0_02"/> <property name="platformVersion" value="1.5"/> <property name="installerLocation" value="javaws-1_0_1-j2re-1_5_0_02-data-windows-i586.jar"/> <property name="installerEntry" value="jre.dat"/> <property name="licenseEntry" value="LICENSE"/> <property name="lib" value="j2re-installer"/> <property name="msvcrt.versionMS" value="60000"/> <property name="msvcrt.versionLS" value="20910000"/> <property name="execString" value="{0} {1}"/> <property name="javaPath" value="bin\javaw.exe"/> <property name="verbose" value="true"/> <property name="hopper" value="true"/> <property name="isWindowsInstall" value="true"/> <nativelib href="javaws-1_0_1-j2re-1_5_0_02-native-windows-i586.jar" size="13586"/> </resources> <installer-desc main-class="com.sun.webstart.installers.Main"/></jnlp>

Here's basically what my jnlp looks like:
<?xmlversion="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://intranet.hcmny.com/location" href="myapp.jnlp">
<information>
<title>My App</title>
<vendor>Me</vendor>
<homepage href="http://intranet.hcmny.com/"/>
<description>My App</description>
<offline-allowed/>
</information>
<security>
<all-permissions>allPermissions</all-permissions>
</security>
<application-desc main-class="com.hcmny.MyApp">
</application-desc>
<resources>
<j2se version="1.5" max-heap-size="50m" initial-heap-size="30m" />
</resources>
</jnlp>
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 18 2005
Added on Sep 20 2005
0 comments
275 views