This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 2922
    
    5
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: UnavailableServiceException on Filter
 
Similar Threads
Binded Name throwing Name Not Found Exception
how to get multiple data sources in jboss
Two-Phase commit using CMT on JBoss and Oracle XE
java.net.SocketTimeoutException: Read timed out
Ejb deployment issue