Register / Login
Win a copy of
Mesos in Action
this week in the
Other Java Products and Servers
posted 5 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 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