aquarius003
asked on
Creating a connection for Tomcat 5.5 in MC4J
Hi,
As specified in the documentation, I added the following to catalina.bat:
set CATALINA_OPTS="-Dcom.sun.m anagement. jmxremote \
-Dcom.sun.management.jmxre mote.port= 8999 \
-Dcom.sun.management.jmxre mote.ssl=f alse \
-Dcom.sun.management.jmxre mote.authe nticate=fa lse"
However, when I create a new connection for this server, I get IOException: Check service availability.
The parameters I'm using are:
server connection type: Tomcat 5.5+
Initial Context Factory: com.sun.jndi.rmi.registry. RegistryCo ntextFacto ry
Server URL: service:jmx:rmi:///jndi/rm i://localh ost:8999/j mxrmi
Something is not setup properly, any idea what?
Thanks in advance!
As specified in the documentation, I added the following to catalina.bat:
set CATALINA_OPTS="-Dcom.sun.m
-Dcom.sun.management.jmxre
-Dcom.sun.management.jmxre
-Dcom.sun.management.jmxre
However, when I create a new connection for this server, I get IOException: Check service availability.
The parameters I'm using are:
server connection type: Tomcat 5.5+
Initial Context Factory: com.sun.jndi.rmi.registry.
Server URL: service:jmx:rmi:///jndi/rm
Something is not setup properly, any idea what?
Thanks in advance!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hmnmm, http://www.josso.org/configuring-gui-howto.html says to put it in CATALINA_OPTS. However, it works when they're moved to JAVA_OPTS.
Thanks!!!
Thanks!!!
May be this link needs a change.
ASKER