aspose file tools*
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
Author

UnavailableServiceException on Filter

phenix java
Greenhorn

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(ServiceManager.java:44)

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
Hi,

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.

Regards,
Cristian
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2906
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.


"Don't succumb to the false authority of a tool or model. There is no substitute for thinking."
Andy Hunt, Pragmatic Thinking & Learning: Refactor Your Wetware p.41
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: UnavailableServiceException on Filter
 
Similar Threads
Ejb deployment issue
Two-Phase commit using CMT on JBoss and Oracle XE
Binded Name throwing Name Not Found Exception
java.net.SocketTimeoutException: Read timed out
how to get multiple data sources in jboss