File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Glasshfish InitialContext

 
Adrien Ruffie
Ranch Hand
Posts: 92
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

I have in my webapp a JMXClient which must connect to a remote JMX server implemented with RMI.

In tomcat the connection correctly work, but in glassfish when the jmx client try to recover the RMI registry

of my remote application, glassfish return its initialContext and the connection isn't try. The initialContext

of glassfish doesn't own the RMI server stub of my remote application and in my webapp a:

java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException: rmi:

is returned ...

Anyone have a idea to correct the problem or override the glassfish initialcontext ?

Thank

Adryen
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic