Hi Please can any one help me.
I have a problem in launching the web start application.
As i am the beginner i need help from you people.
I have created three class files as below.
Aeon_PManager.java
SimpleSerial.java
SimpleSerialNative.java.
We have to create a SimpleSerialNative.dll in the same folder where we are saving all the class files.
The jnlp file that i have written is as follows:
{code}
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for Aeon HHBM Manager Application -->
<jnlp spec="1.0+" codebase="http://zycomm:8080" href="Aeon.jnlp">
<information>
<title>Aeon HHBM Manager</title>
<vendor>ME</vendor>
<description>Aeon HHBM Manager</description>
</information>
<offline_allowed/>
<resources>
<j2se version="1.4+"/>
<jar eager="true" href="SimpleSerialNative.jar" main="true"/>
<jar href="lib/Aeon_PManger.jar"/>
<jar href="lib/simpleSerialNative.jar"/>
<jar href="lib/simpleSerialNatived.jar"/>
<jar href="lib/simpleSerial.jar"/>
</resources>
<application-desc main-class="Aeon_PManager.Main" />
<component-desc/>
</jnlp>
I am using Tomact6.0 server.
I am saving the jnlp file and jar files in the path below
tomcat6.0/webapps/root
Is it wrong to do so. If it is then what should i do to launch the application.
Is it necessary for me to create jar files for all classes seperately.
should i create jar file for simpleSerialNative.dll also.
These are the error messages that I am getting:
In general tab:
An error occured while launching/running the application
Title:Aeon HHBM Manger
Vendor:Me
Category:DownloadError
Unable to load resource http://zycomm:8080/Aeon_PManager.jar
Exception tab:
jnlp exception[category download error: exception: java io.ioexception:http response 404 launchdesc:null]
at com.sun.javaws.cache.DownloadProtocol.doDownload(Unkown Source)
at com.sun.javaws.cache.DownloadProtocol.getDownload(Unkown Source)
at com.sun.javaws.LaunchDownload.downloadJarFiles(Unkown Source)
at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unkown Source)
at com.sun.javaws.Launcher.downloadResources(Unkown Source)
at com.sun.javaws.Launcher.handleApplicationDescUunkown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unkown Source)
at com.sun.javaws.Launcher.Run(Unkown Source)
at java.lang.Thread.run(Unkown Source)
Wrapped Exception Tab
java io.IOexception:HTTP response 404
at com.sun.javaws.cache.DownloadProtocol.doDownload(Unkown Source)
at com.sun.javaws.cache.DownloadProtocol.getDownload(Unkown Source)
at com.sun.javaws.LaunchDownload.downloadJarFiles(Unkown Source)
at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unkown Source)
at com.sun.javaws.Launcher.downloadResources(Unkown Source)
at com.sun.javaws.Launcher.handleApplicationDescUunkown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unkown Source)
at com.sun.javaws.Launcher.Run(Unkown Source)
at java.lang.Thread.run(Unkown Source)
I have a problem in launching the web start application.
As i am the beginner i need help from you people.
I have created three class files as below.
Aeon_PManager.java
SimpleSerial.java
SimpleSerialNative.java.
We have to create a SimpleSerialNative.dll in the same folder where we are saving all the class files.
The jnlp file that i have written is as follows:
{code}
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for Aeon HHBM Manager Application -->
<jnlp spec="1.0+" codebase="http://zycomm:8080" href="Aeon.jnlp">
<information>
<title>Aeon HHBM Manager</title>
<vendor>ME</vendor>
<description>Aeon HHBM Manager</description>
</information>
<offline_allowed/>
<resources>
<j2se version="1.4+"/>
<jar eager="true" href="SimpleSerialNative.jar" main="true"/>
<jar href="lib/Aeon_PManger.jar"/>
<jar href="lib/simpleSerialNative.jar"/>
<jar href="lib/simpleSerialNatived.jar"/>
<jar href="lib/simpleSerial.jar"/>
</resources>
<application-desc main-class="Aeon_PManager.Main" />
<component-desc/>
</jnlp>
I am using Tomact6.0 server.
I am saving the jnlp file and jar files in the path below
tomcat6.0/webapps/root
Is it wrong to do so. If it is then what should i do to launch the application.
Is it necessary for me to create jar files for all classes seperately.
should i create jar file for simpleSerialNative.dll also.
These are the error messages that I am getting:
In general tab:
An error occured while launching/running the application
Title:Aeon HHBM Manger
Vendor:Me
Category:DownloadError
Unable to load resource http://zycomm:8080/Aeon_PManager.jar
Exception tab:
jnlp exception[category download error: exception: java io.ioexception:http response 404 launchdesc:null]
at com.sun.javaws.cache.DownloadProtocol.doDownload(Unkown Source)
at com.sun.javaws.cache.DownloadProtocol.getDownload(Unkown Source)
at com.sun.javaws.LaunchDownload.downloadJarFiles(Unkown Source)
at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unkown Source)
at com.sun.javaws.Launcher.downloadResources(Unkown Source)
at com.sun.javaws.Launcher.handleApplicationDescUunkown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unkown Source)
at com.sun.javaws.Launcher.Run(Unkown Source)
at java.lang.Thread.run(Unkown Source)
Wrapped Exception Tab
java io.IOexception:HTTP response 404
at com.sun.javaws.cache.DownloadProtocol.doDownload(Unkown Source)
at com.sun.javaws.cache.DownloadProtocol.getDownload(Unkown Source)
at com.sun.javaws.LaunchDownload.downloadJarFiles(Unkown Source)
at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unkown Source)
at com.sun.javaws.Launcher.downloadResources(Unkown Source)
at com.sun.javaws.Launcher.handleApplicationDescUunkown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unkown Source)
at com.sun.javaws.Launcher.Run(Unkown Source)
at java.lang.Thread.run(Unkown Source)