You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by karthikn <ka...@xius-bcgi.com> on 2008/06/11 15:43:35 UTC
JMX / jconsole for TOMCAT6.0.14
Hi
For JMX / jconsole for TOMCAT6.0.14 with following in catalina.sh
export JAVA_HOME=/opt/java6
echo JAVA_HOME = $JAVA_HOME
set CATALINA_OPTS="-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=8999
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false"
but on using ./startup.sh
I am getting the folowing as below ?
bash-3.00$ ./startup.sh
JAVA_HOME = /opt/java6
Using CATALINA_BASE: /karthik/TOMCAT6014
Using CATALINA_HOME: /karthik/TOMCAT6014
Using CATALINA_TMPDIR: /karthik/TOMCAT6014/temp
Using JRE_HOME: /opt/java6
Usage: catalina.sh ( commands ... )
commands:
debug Start Catalina in a debugger
debug -security Debug Catalina with a security manager
jpda start Start Catalina under JPDA debugger
run Start Catalina in the current window
run -security Start in the current window with security manager
start Start Catalina in a separate window
start -security Start in a separate window with security manager
stop Stop Catalina
stop -force Stop Catalina (followed by kill -KILL)
version What version of tomcat are you running?
bash-3.00$
Is there any thing wrong with the JMX /Jconsole arguments ?
with regards
Karthik
---------------------------------------------------------------------
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
Re: JMX / jconsole for TOMCAT6.0.14
Posted by karthikn <ka...@xius-bcgi.com>.
Hi
After lot's permutation combination
export JAVA_HOME=/opt/java6
echo JAVA_HOME = $JAVA_HOME
export CATALINA_OPTS='-Dcom.sun.management.jmxremote.port=8999
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false'
echo CATALINA_OPTS = $CATALINA_OPTS
This Worked for me on UNIX 11i PA -RISC
bash-3.00$ ./startup.sh
JAVA_HOME = /opt/java6
CATALINA_OPTS = -Dcom.sun.management.jmxremote.port=8999
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
Using CATALINA_BASE: /infinet/karthik/TOMCAT6014
Using CATALINA_HOME: /infinet/karthik/TOMCAT6014
Using CATALINA_TMPDIR: /infinet/karthik/TOMCAT6014/temp
Using JRE_HOME: /opt/java6
bash-3.00$
Thx with regards
Karthik
Caldarale, Charles R wrote:
>> From: karthikn [mailto:karthik.nanjangude@xius-bcgi.com]
>> Subject: JMX / jconsole for TOMCAT6.0.14
>>
>> set CATALINA_OPTS="-Dcom.sun.management.jmxremote
>> -Dcom.sun.management.jmxremote.port=8999
>> -Dcom.sun.management.jmxremote.ssl=false
>> -Dcom.sun.management.jmxremote.authenticate=false"
>>
>
> Remove the quotes and put all the items on one line, separated by spaces. Also, since you're specifying a port, you do not need the plain -Dcom.sun.management.jmxremote parameter.
>
> Depending on the shell you're using, you may or may not need to use "set", or you may need to use "export" (without the quotes, of course).
>
> - 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 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
>
>
>
---------------------------------------------------------------------
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
RE: JMX / jconsole for TOMCAT6.0.14
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: karthikn [mailto:karthik.nanjangude@xius-bcgi.com]
> Subject: JMX / jconsole for TOMCAT6.0.14
>
> set CATALINA_OPTS="-Dcom.sun.management.jmxremote
> -Dcom.sun.management.jmxremote.port=8999
> -Dcom.sun.management.jmxremote.ssl=false
> -Dcom.sun.management.jmxremote.authenticate=false"
Remove the quotes and put all the items on one line, separated by spaces. Also, since you're specifying a port, you do not need the plain -Dcom.sun.management.jmxremote parameter.
Depending on the shell you're using, you may or may not need to use "set", or you may need to use "export" (without the quotes, of course).
- 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 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