Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UnavailableServiceException on Filter

 
phenix java
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Cristian Negresco
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic