VMware Cloud Community
rold50
Contributor
Contributor

How to configure tomcat6.0?

After I add tomcat to inventory, I get: The configuration has not been set for this resource due to : Invalid configuration: Plugin error: Malformed URL: [service:jmx:rmi:///jndi/rmi://localhost:6969/jmxrmi]
Shared

However, I already have [ $1 != "stop" ] && JAVA_OPTS="-Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.port=6969 \
-Dcom.sun.management.jmxremote.ssl=false \
-Dcom.sun.management.jmxremote.authenticate=false $JAVA_OPTS"
export JAVA_OPTS

in my catalina.sh. What else do I need to do?
0 Kudos
1 Reply
rold50
Contributor
Contributor

turns out, it had to do with my hostname. it's not set to localhost. so when I start tomcat the jmx agent is not able to start properly because my hostname is wrong.
0 Kudos