This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Other Java Products and Servers and the fly likes Glasshfish InitialContext Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Glasshfish InitialContext" Watch "Glasshfish InitialContext" New topic

Glasshfish InitialContext

Adrien Ruffie
Ranch Hand

Joined: Jan 14, 2009
Posts: 92
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: Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException: rmi:

is returned ...

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



I agree. Here's the link:
subject: Glasshfish InitialContext
It's not a secret anymore!