I am developing an application using Java WebStart 1.4.2_02
There are two problems:
1) I am using the FileOpenService.
When I run the application in Eclipse, my application gets an UnavailableServiceException
Caused by: javax.jnlp.UnavailableServiceException: uninitialized at javax.jnlp.ServiceManager.lookup(Unknown Source) at simple.movie.client.MovieForm$1.actionPerformed(MovieForm.java:55)
This exception occurs when I try running the code in the IDE environment (Eclipse 3.0 M9)
How can I resolve this?
2) I want to be able to set debug breakpoints in the application as it is running inside the Java WebStart JVM.
How can I do this?
Sun's developer documentation and FAQ do not address either of these issues.
jonathan koomjian
Greenhorn
Joined: Jul 12, 2004
Posts: 1
posted
0
For your first problem, it looks like you don't have a *.jnlp file to configure Java Web Start. You will need this file anytime you use web start, otherwise ServiceManager.lookup() will throw an UnavailableServiceException. Check out http://java.sun.com/products/javawebstart/1.2/docs/developersguide.html for more information.