Link to home
Start Free TrialLog in
Avatar of aquarius003
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.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!


Avatar of aquarius003
aquarius003

ASKER

Additional note: the service  is live and kicking at the time of this error.
ASKER CERTIFIED SOLUTION
Avatar of Ajay-Singh
Ajay-Singh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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!!!
May be this link needs a change.