RE: adding mx4j's connector class to factory list
"Bordet, Simone" <[email protected]>
| Newsgroups | gmane.comp.java.mx4j.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, > > BTW, I could not find the RJMX classes in Tomcat 5... > > Where are they ? I am trying to run your example to see > what it does not work. > > $CATALINA_HOME/common/lib. It could very well depend on the > sub-version > of Tomcat. I know that they have been moving logging libraries around > due to classloader conflicts. Well, I could find there only the JMXRI's JMX classes (javax.management.*) but not remote's (javax.management.remote.*) RJMXRI's. Maybe I'm confused, let's try to recap. You're running a HTTP connector you wrote that uses a JMXConnector to connect to a JMXConnectorServer that lives in JVM2. You've packaged MBeans on the servlet container (outside WEB-INF), are their classes also present in JVM2 ? Note that on JVM1 you just need the class names of the MBeans (it can be a management method of a remote MBean that returns you this information). You have mx4j.jar and mx4j-remote.jar in WEB-INF/lib. You have the rmiregistry running. The goal is to allow a user to register/unregister/interact with MBeans from HTML to JVM2. JVM1 will only act as a bridge. With this configuration, Tomcat's JMX classes should not be involved at all. > Thx for looking. > > If you're not running that for self-education Well, yes, I would like to see if there is any problem with T5. With T4 no issues at all, and I am hoping would be the case for T5 as well. Thanks Simon ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click