I had 1.4.2 and now I have jdk 1.5....but it doesn't work. I have this error when I try to connect MC4j to tomcat5.5:
java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: error unmarshalling return; nested...
Nothing.
Port 9004 doesn't appears anywhere after "netstat -a".
Should I modify the original server.xml? (I haven't modified server.xml anyway)
JAVA_OPTS="$JAVA_OPTS Dcom.sun.management.jmxremote.port=9004" needs to be collocated in a particular place inside catalina.sh?
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused :-(
I tried also on other ports different from 9004 but with the same results...
of course:
java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused]
at...
I downloaded and istalled both tomcat 5.5.4 and mc4j 1.2 beta7.
I modified catalina.sh as specified in http://mc4j.sourceforge.net/usageTomcat.html that is
setting JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.port=9004". Next I tried to connect mc4j to the tomcat instance with default...
That's perfect! But, you said that TOmcat runs off JMX and that JMX must be started...but the question is how? HOw JMX can be started? If JMX does not start on Tomcat the code about finding an MBeanServer is useless because is impossible to find it.
Yes. I'm trying to manage a web service deployed on tomcat using JMX but Tomcat doesn't instantiate any MBeanServer when it starts. For instance, I aspect to see the following:
12-gen-2004 15.59.13 org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
12-gen-2004...
I'm using Win2k. It seems that there are not error messages. Anyway, the complete boot sequence is:
Using CATALINA_BASE: C:\Programmi\jakarta-tomcat-5.0.24
Using CATALINA_HOME: C:\Programmi\jakarta-tomcat-5.0.24
Using CATALINA_TMPDIR: C:\Programmi\jakarta-tomcat-5.0.24\temp
Using JAVA_HOME...
Hi all,
I've installed TOmcat 5, but the MBeanServer doesn't start when the service
starts. Does anybody know why?
Here are some step when the service is starting:
Using CATALINA_BASE: C:\Programmi\jakarta-tomcat-5.0.24
Using CATALINA_HOME: C:\Programmi\jakarta-tomcat-5.0.24
Using...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.