Register / Login
Win a copy of
this week in the
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Other Java Products and Servers
posted 6 years ago
I have in my webapp a JMXClient which must connect to a remote JMX server implemented with RMI.
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:
is returned ...
Anyone have a idea to correct the problem or override the glassfish initialcontext ?
SCJP 5, SCDJWS 5
I found a beautiful pie. And a tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
Boost this thread!
I am getting ClassNotFoundException for stub file
JMX cannot get connected, Maybe due wrong stub???
JMX + RMIConnector
Connecting JBoss with JMXConnectorFactory
java.rmi.ConnectException: Connection refused to host