Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

FileOpenService, uninitialized

 
Sean Sullivan
Ranch Hand
Posts: 427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic