Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
    
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

1 Answer 1

up vote 0 down vote accepted

Try this:

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

Hopefully that will give you the answer.

share|improve this 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

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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