A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
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:
: Failed to retrieve
is returned ...
Anyone have a idea to correct the problem or override the glassfish initialcontext ?
SCJP 5, SCDJWS 5
I agree. Here's the link:
subject: Glasshfish InitialContext
JMX + RMIConnector
Connecting JBoss with JMXConnectorFactory
JMX cannot get connected, Maybe due wrong stub???
I am getting ClassNotFoundException for stub file
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