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

Glasshfish InitialContext

 
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