When I am starting the tomcat-6, its giving me the below error:

Error: Invalid com.sun.management.jmxremote.port number: %my.jmx.port%

I have enabled the remote port sometime back in catalina.sh startup file but I have reverted back, but still giving me the error and tomcat is unable to start. Is there any cache or something needs to be flushed which stops it to start the tomcat process.

  • Just out of curiosity, how is the JVM launched? Can you run ps aux | grep tomcat and paste the output? – Andrew M. Dec 24 '10 at 2:29

Try this:

cd <tomcat-install-dir>
grep -r '%my.jmx.port%' *

Hopefully that will give you the answer.

  • I have already searched everywhere and its not uncommneted in any of the file. Thats the weired part. I have also even deployed the new tomcat installed the new java still the same error.. – Ramesh Kumar Dec 23 '10 at 18:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.