tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Rossbach ...@objektpark.de>
Subject Re: Jconsole and remote monitoring
Date Wed, 02 May 2007 19:02:20 GMT
Please use CATALINA_OPTS to set jmx options. The catalina.sh stop  
command use only JAVA_OPTS and not CATALINA_OPTS.
Peter



Am 02.05.2007 um 18:09 schrieb Rainer Jung:

> You neded to change your start/stop scripts, so that they use the
> management parameters only in the starting case and not in the  
> stopping
> case (define a new variable and add it in bin/catalina.sh to the  
> "start"
> case.
>
> daad@libero.it schrieb:
>> Now jconsole works but when i shut it down with /bin/./shutdown.sh  
>> i get this error:
>>
>> Errore: Eccezione dell'agente : java.rmi.server.ExportException:  
>> Port already in use: 7019; nested exception is:
>>         java.net.BindException: Address already in use
>>
>> and tomcat doesn't shut down properly.
>> I added the "-Dcom.sun.management.jmxremote - 
>> Dcom.sun.management.jmxremote.port=7019 - 
>> Dcom.sun.management.jmxremote.ssl=false - 
>> Dcom.sun.management.jmxremote.authenticate=false - 
>> Djava.rmi.server.hostname=192.168.0.5" in the /bin/catalina.sh  
>> file with:
>>
>> export JAVA_OPTS = "-Dcom.sun.management.jmxremote - 
>> Dcom.sun.management.jmxremote.port=7019 - 
>> Dcom.sun.management.jmxremote.ssl=false - 
>> Dcom.sun.management.jmxremote.authenticate=false - 
>> Djava.rmi.server.hostname=192.168.0.5"
>>
>> is there any way i can fix this issue?
>> thanks
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message