A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other Java Products and Servers
Joined: Jan 14, 2009
Dec 13, 2010 05:37:13
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:
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 ?
SCJP 5, SCDJWS 5
subject: Glasshfish InitialContext
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014