tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: how to enable management agent on a process
Date Mon, 11 May 2009 14:40:56 GMT
Well, you did not mention the platform under which you are running 
Tomcat, nor the Tomcat version, not the Java version, so I could only 
give you general stuff.
(And if this happened to be a Tomcat running under Windows, please also 
indicate how you are starting Tomcat).

Anamika raj wrote:
> The link which you gave me i have gone through it before ...but i am not
> getting how to set 
> 
> com.sun.management.jmxremote in the system property. 
>   
> as it is written in the given link-
> 
> To enable the JMX agent for local access, set this system property when you
> start the JVM or Java application:
> 
> com.sun.management.jmxremote 
> 
> I am not getting how to do it.
> please help me
> thanx
> 
> 
> 
> 
> awarnier wrote:
>> Anamika raj wrote:
>>> i am configuring a server to monitor it with jconsole locally.when i m
>>> starting the jconsole PID is showing for that server in the jconsole(for
>>> local monitoring) but it is giving me message that "management agent is
>>> not
>>> enables on that process.
>>>
>>> how to enable the management agent for that process or tell me for any
>>> process in simple,step by step.
>>>
>>> i didnt do any configuration to monitor that server with Jconsole,do i
>>> need
>>> to do anything to configure any server with jconsole?
>>> I want to know if i want to monitor any server what configuration I have
>>> to
>>> do. 
>>>
>> Read :
>> http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.html
>>
>> Example jvm settings for starting Tomcat to allow jconsole monitoring (! 
>> with no security !) :
>>
>> -Dcom.sun.management.jmxremote.port=8200 
>> -Dcom.sun.management.jmxremote.ssl=false 
>> -Dcom.sun.management.jmxremote.authenticate=false
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message