This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UnavailableServiceException on Filter

 
phenix java
Greenhorn
Posts: 13
  • 0
  • 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
  • 0
  • 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: 2934
5
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic