Re: JMX / jconsole for TOMCAT6.0.14

2008-06-12 Thread karthikn

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:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


  



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: JMX / jconsole for TOMCAT6.0.14

2008-06-11 Thread Caldarale, Charles R
> From: karthikn [mailto:[EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



JMX / jconsole for TOMCAT6.0.14

2008-06-11 Thread karthikn

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 startStart 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]