This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JNLP and Web Start and the fly likes FileOpenService, uninitialized Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "FileOpenService, uninitialized" Watch "FileOpenService, uninitialized" New topic
Author

FileOpenService, uninitialized

Sean Sullivan
Ranch Hand

Joined: Sep 09, 2001
Posts: 427
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
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.
 
Consider Paul's rocket mass heater.
 
subject: FileOpenService, uninitialized
 
Similar Threads
start your Java virtual machine with Spring's agent: -javaagent:org.springframework.instrument.jar
How can I make use of WebStart?
WebStart
my applet not working
JREs and webstart bundle..