Unable to load resources using JNLP
843802Aug 17 2001 — edited Sep 4 2001I was browsing through the tech-tip dated May 30th 2001 dealing with JNLP. After building the jar file I deployed it on BEA weblogic server 6.0 making
sure I followed all the instructions listed on pg 3. I get the following error while downloading the resources and would appreciate if you could let me know where the problem lies:
An error occurred while launching/running the application.
Title: Hello
Vendor: Tech Tips Sample May 2001
Category: Download Error
Unable to load resource: http://pkrishna:7001/webstart/Hello.jnlp
Here is the launch file:
<?xml version="1.0" encoding="UTF-8"?>
<!-- file Hello.jnlp --> <jnlp
codebase="http://pkrishna:7001/webstart"
href="http://pkrishna:7001/webstart/Hello.jnlp"> <information>
<title>Hello</title>
<vendor>Tech Tips Sample May 2001</vendor>
<icon href="HelloJNLP.jpg" />
</information>
<resources>
<j2se version="1.2+"/>
<jar href="webstart.jar" />
</resources>
<application-desc main-class="HelloJNLP"/>
</jnlp>
Detailed Exception:
NLPException[category: Download Error : Exception: java.io.IOException: HTTP
response 404 : LaunchDesc: null ] at
com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source) at
com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(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(Thread.java:484)