File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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)

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 for more information.
I agree. Here's the link:
subject: FileOpenService, uninitialized