Re: how to enable management agent on a process
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-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: how to enable management agent on a process
> From: Anamika raj [mailto:rajnam...@gmail.com] > Subject: Re: how to enable management agent on a process > > i am not getting how to set > com.sun.management.jmxremote in the system property. The basic answer is that you set it the same way you set any other Java system property. Perhaps you need to learn Java fundamentals. It's difficult to give you specifics when you don't bother to provide basic information such as Tomcat version, JVM level, and the platform you're running on. Also, if it's Windows, are you running Tomcat via the scripts, or as a service? If Linux/UNIX, how are your starting Tomcat? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: how to enable management agent on a process
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-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > -- View this message in context: http://www.nabble.com/how-to-enable-management-agent-on-a-process-tp23473452p23477236.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: how to enable management agent on a process
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-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
how to enable management agent on a process
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. Thanx -- View this message in context: http://www.nabble.com/how-to-enable-management-agent-on-a-process-tp23473452p23473452.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org