This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Glasshfish InitialContext  RSS feed

 
Adrien Ruffie
Ranch Hand
Posts: 92
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!