Forums Register Login

Problem launching app through web-server

+Pie Number of slices to send: Send
I've developed an application that I would like to launch via webstart. Running the application locally via:



works fine. The application launches with no problem. The jar file also runs fine if I run it using:



However, when I put the same JAR and JNLP file (edited to match the updated directory location) in the webserver directory, I get a java.lang.NoClassDefFoundError exception. Here's the JNLP file:



I'm using the new swing-layout-1.0.jar file (from Netbeans Matisse) and it's included in the JExcel.jar file in a /lib directory. Like I said, it all runs fine when I run the jar file from a command line. My question is this: why does it run fine from the command line but won't run from my web-server?

Thanks,
Dave
[ February 24, 2006: Message edited by: David Irwin ]
+Pie Number of slices to send: Send
I think it has something to do with signing the jars. I've read that if you have third party jar file, in order to use it in your webstart application you need to sign it. But you can't because it's not yours. There are couple of solution, one of them is to create another jnlp file in which you refer to the third party jar file and in turn use that jnlp in your main jnlp.
This also might be helpful: http://forum.java.sun.com/thread.jspa?threadID=704775&messageID=4086848
You don't know me, but I've been looking all over the world for. Thanks to the help from this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1725 times.
Similar Threads
Image file in cannopt access-getting error
Error is coming while launching the application
nothing is displayed after the application is loaded
Cannot Install Web Start App
javax.jnlp
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 00:00:54.