wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "FileOpenService, uninitialized" Watch "FileOpenService, uninitialized" New topic

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

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.
wood burning stoves
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?
my applet not working
JREs and webstart bundle..