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.management.jmxremote \
    -Dcom.sun.management.jmxremote.port=8999 \
    -Dcom.sun.management.jmxremote.ssl=false \
    -Dcom.sun.management.jmxremote.authenticate=false"


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.RegistryContextFactory
Server URL: service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi

Something is not setup properly, any idea what?

Thanks in advance!


aquarius003Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Ajay-SinghConnect With a Mentor Commented:
set these to JAVA_OPTS variable
0
 
aquarius003Author Commented:
Additional note: the service  is live and kicking at the time of this error.
0
 
aquarius003Author Commented:
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!!!
0
 
Ajay-SinghCommented:
May be this link needs a change.
0
All Courses

From novice to tech pro — start learning today.