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 UnavailableServiceException on Filter 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 "UnavailableServiceException on Filter" Watch "UnavailableServiceException on Filter" New topic

UnavailableServiceException on Filter

phenix java

Joined: Jun 20, 2004
Posts: 13
In the Filter.I call BasicService of JNLP as below

BasicService bs = (BasicService)ServiceManager.lookup("javax.jnlp.BasicService");

When I had deployed *.War.I got Error message as below.

18:39:52,781 ERROR [STDERR] javax.jnlp.UnavailableServiceException: uninitialized
18:39:52,781 ERROR [STDERR] at javax.jnlp.ServiceManager.lookup(

would you please kindly help me about this case

If I don't make dust. I may eat dust.<br />SCJP 1.4 ,SCWCD 1.4,SCBCD 1.3
Cristian Negresco
Ranch Hand

Joined: Sep 15, 2001
Posts: 182

BasicService is available on the client side and not on the server side. Even adding the jar to the server side code won't help as the service is initialized from the javaws.exe.

Peer Reynders

Joined: Aug 19, 2005
Posts: 2933
Welcome to the JavaRanch "phenix java",

If I could divert your attention to the JavaRanch official policy on registered names. Please adjust your display name here in accordance with the policy. Your cooperation is appreciated.
I agree. Here's the link:
subject: UnavailableServiceException on Filter
jQuery in Action, 3rd edition