You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Karthik Nanjangude <ka...@xius-bcgi.com> on 2010/10/11 10:41:01 UTC
Is there a Bug with JConsole for monitering TOMCAT 6.0.29 Running
on Linux
Hi
Spec :
Java 1.5
WebApp : Tomcat 6.0.29
O/s Win 2000 / Linux / Unix
Linux : 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux
Question : Is there a Bug with JConsole for monitering TOMCAT 6.0.29 Running on Linux ?
I am not able to connect TOMCAT 6.0.29 (on Linux, JDK1.5 ) with JConsole (JDK 1.6 on windows )
Note :
Earlier I had configured the same for UNIX / Windows for JConsole to Tomcat 6.0.14
URL : http://old.nabble.com/JMX---jconsole-for-TOMCAT6.0.14-td17778173.html
with regards
N.S.Karthik
Re: Is there a Bug with JConsole for monitering TOMCAT 6.0.29 Running
on Linux
Posted by Pid <pi...@pidster.com>.
On 13/10/2010 14:35, Karthik Nanjangude wrote:
> Hi
>
>>> through a firewall
>
> As I have already told u in the last mail
>
> 1) We do not have a Firewall
You said you did.
> 2) All our servers are available locally
I didn't understand that, apologies.
> 3) We have several UNIX /LINUX servers
>
> 4) From WIN 2000 server JKD6/jconsole I am able to connect to UNIX server
> for Monitoring TOMCAT 6.0.14
>
> 5) From WIN 2000 server JKD6/jconsole I am NOT able to connect to Linux
> server for Monitoring TOMCAT 6.0.29
What is the output from:
netstat -tln
on both machines?
> Any more ideas would really help me ..... :(?
I would still employ the listener below to ensure the port numbers are
predictable.
p
> Try enabling the "JMX Remote Lifecycle Listener".
>
> http://tomcat.apache.org/tomcat-6.0-doc/config/listeners.html
RE: Is there a Bug with JConsole for monitering TOMCAT 6.0.29
Running on Linux
Posted by Karthik Nanjangude <ka...@xius-bcgi.com>.
Hi
>> through a firewall
As I have already told u in the last mail
1) We do not have a Firewall
2) All our servers are available locally
3) We have several UNIX /LINUX servers
4) From WIN 2000 server JKD6/jconsole I am able to connect to UNIX server
for Monitoring TOMCAT 6.0.14
5) From WIN 2000 server JKD6/jconsole I am NOT able to connect to Linux
server for Monitoring TOMCAT 6.0.29
Any more ideas would really help me ..... :(?
With regards
karthik
-----Original Message-----
From: Pid [mailto:pid@pidster.com]
Sent: Wednesday, October 13, 2010 5:35 PM
To: Tomcat Users List
Subject: Re: Is there a Bug with JConsole for monitering TOMCAT 6.0.29 Running on Linux
On 13/10/2010 12:12, Karthik Nanjangude wrote:
>>> 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'
>
> Jconsole of JDK6 = <IP>:<JMX Port>
If you're connecting through a firewall, you may run into an issue
whereby the second JMX port (the registry port) isn't accessible,
because it's assigned to a random port.
Try enabling the "JMX Remote Lifecycle Listener".
http://tomcat.apache.org/tomcat-6.0-doc/config/listeners.html
p
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Is there a Bug with JConsole for monitering TOMCAT 6.0.29 Running
on Linux
Posted by Pid <pi...@pidster.com>.
On 13/10/2010 12:12, Karthik Nanjangude wrote:
>>> 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'
>
> Jconsole of JDK6 = <IP>:<JMX Port>
If you're connecting through a firewall, you may run into an issue
whereby the second JMX port (the registry port) isn't accessible,
because it's assigned to a random port.
Try enabling the "JMX Remote Lifecycle Listener".
http://tomcat.apache.org/tomcat-6.0-doc/config/listeners.html
p
RE: Is there a Bug with JConsole for monitering TOMCAT 6.0.29
Running on Linux
Posted by Karthik Nanjangude <ka...@xius-bcgi.com>.
Hi
>> I'm not playing chase-the-answer with you
Nither am I , Replying as per u'r mail
>> what details are you putting into the JConsole client instance?
>> 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'
Jconsole of JDK6 = <IP>:<JMX Port>
With regards
karthik
-----Original Message-----
From: Pid [mailto:pid@pidster.com]
Sent: Tuesday, October 12, 2010 1:43 PM
To: Tomcat Users List
Subject: Re: Is there a Bug with JConsole for monitering TOMCAT 6.0.29 Running on Linux
On 12/10/2010 06:53, Karthik Nanjangude wrote:
> Hi
>
>>> Are you connecting through a firewall?
>
> No Firewall ( ALL of these server's are behind the Firewall and the servers are available thru a local hub )
>
> I am able to use Putty (SSH Port 22) to connect to that server for other
> Activities as Start /Srop of TOMCAT 6.0.29 .
There was more than one question in my email. I'm not playing
chase-the-answer with you, please answer all questions in future.
> How have you set the JMX this time, as below?
Are you connecting through a firewall?
>> Note :
>> Earlier I had configured the same for UNIX / Windows for JConsole to Tomcat 6.0.14
>> URL : http://old.nabble.com/JMX---jconsole-for-TOMCAT6.0.14-td17778173.html
Also: what details are you putting into the JConsole client instance?
Are you specifying a host and a port, or are you specifying a full
'service' URI?
E.g.
service:jmx:rmi://www.hostname.com:port1/jndi/rmi://www.hostname.com:port2/jmxrmi
p
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Is there a Bug with JConsole for monitering TOMCAT 6.0.29 Running
on Linux
Posted by Pid <pi...@pidster.com>.
On 12/10/2010 06:53, Karthik Nanjangude wrote:
> Hi
>
>>> Are you connecting through a firewall?
>
> No Firewall ( ALL of these server's are behind the Firewall and the servers are available thru a local hub )
>
> I am able to use Putty (SSH Port 22) to connect to that server for other
> Activities as Start /Srop of TOMCAT 6.0.29 .
There was more than one question in my email. I'm not playing
chase-the-answer with you, please answer all questions in future.
> How have you set the JMX this time, as below?
Are you connecting through a firewall?
>> Note :
>> Earlier I had configured the same for UNIX / Windows for JConsole to Tomcat 6.0.14
>> URL : http://old.nabble.com/JMX---jconsole-for-TOMCAT6.0.14-td17778173.html
Also: what details are you putting into the JConsole client instance?
Are you specifying a host and a port, or are you specifying a full
'service' URI?
E.g.
service:jmx:rmi://www.hostname.com:port1/jndi/rmi://www.hostname.com:port2/jmxrmi
p
RE: Is there a Bug with JConsole for monitering TOMCAT 6.0.29
Running on Linux
Posted by Karthik Nanjangude <ka...@xius-bcgi.com>.
Hi
>> Are you connecting through a firewall?
No Firewall ( ALL of these server's are behind the Firewall and the servers are available thru a local hub )
I am able to use Putty (SSH Port 22) to connect to that server for other
Activities as Start /Srop of TOMCAT 6.0.29 .
With regards
Karthik
-----Original Message-----
From: Pid [mailto:pid@pidster.com]
Sent: Monday, October 11, 2010 8:23 PM
To: Tomcat Users List
Subject: Re: Is there a Bug with JConsole for monitering TOMCAT 6.0.29 Running on Linux
On 11/10/2010 09:41, Karthik Nanjangude wrote:
> Hi
>
> Spec :
>
> Java 1.5
> WebApp : Tomcat 6.0.29
> O/s Win 2000 / Linux / Unix
>
> Linux : 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux
>
> Question : Is there a Bug with JConsole for monitering TOMCAT 6.0.29 Running on Linux ?
None that I'm aware of. Works for me.
> I am not able to connect TOMCAT 6.0.29 (on Linux, JDK1.5 ) with JConsole (JDK 1.6 on windows )
How have you set the JMX this time, as below?
Are you connecting through a firewall?
p
> Note :
> Earlier I had configured the same for UNIX / Windows for JConsole to Tomcat 6.0.14
> URL : http://old.nabble.com/JMX---jconsole-for-TOMCAT6.0.14-td17778173.html
> with regards
>
> N.S.Karthik
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Is there a Bug with JConsole for monitering TOMCAT 6.0.29 Running
on Linux
Posted by Pid <pi...@pidster.com>.
On 11/10/2010 09:41, Karthik Nanjangude wrote:
> Hi
>
> Spec :
>
> Java 1.5
> WebApp : Tomcat 6.0.29
> O/s Win 2000 / Linux / Unix
>
> Linux : 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux
>
> Question : Is there a Bug with JConsole for monitering TOMCAT 6.0.29 Running on Linux ?
None that I'm aware of. Works for me.
> I am not able to connect TOMCAT 6.0.29 (on Linux, JDK1.5 ) with JConsole (JDK 1.6 on windows )
How have you set the JMX this time, as below?
Are you connecting through a firewall?
p
> Note :
> Earlier I had configured the same for UNIX / Windows for JConsole to Tomcat 6.0.14
> URL : http://old.nabble.com/JMX---jconsole-for-TOMCAT6.0.14-td17778173.html
> with regards
>
> N.S.Karthik
>
>