You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ivars Strazdiņš <iv...@gmail.com> on 2009/03/12 19:36:38 UTC

remote jconsole connection did not succeed

Hi *,
in this setup there are two tomcat 6.0.18 instances each running on 
separate windows 2003 server with Sun JDK 1.6.0_12.
I have configured JMX console access pretty much the standard way on 
both systems, with switches:
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=9004
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false

The funny thing is that I can connect to one Tomcat both locally and 
remotely, but only locally to other Tomcat instance (that is, from the 
same system and to local process).
If I try to connect remotely to that instance, connection fails with 
message "the connection did not succeed".
I dont even have a clue what to look for :(
Both servers are nearly identical and run the same webapps.
Thanks for your time,
Ivars

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


Re: remote jconsole connection did not succeed

Posted by Ivars Strazdiņš <iv...@gmail.com>.
Caldarale, Charles R wrote:
>> From: Ivars Strazdiņš [mailto:ivars.strazdins@gmail.com] 
>> Subject: remote jconsole connection did not succeed
>>
>> If I try to connect remotely to that instance, connection 
>> fails with message "the connection did not succeed".
>>     
>
> This is usually the firewall blocking the secondary (and unpredictable) JMX port.  See the discussion here:
> http://marc.info/?l=tomcat-user&m=122277270626801&w=2
>
> If you can't turn off the firewall, the enhancement should be available in the next Tomcat 6.0 release, or you could just pick it up from svn and build it in.
>   
Well, could it be anything else because firewall is turned off on that 
server?
Ivars
>  - 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-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


RE: remote jconsole connection did not succeed

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Ivars Strazdiņš [mailto:ivars.strazdins@gmail.com] 
> Subject: remote jconsole connection did not succeed
> 
> If I try to connect remotely to that instance, connection 
> fails with message "the connection did not succeed".

This is usually the firewall blocking the secondary (and unpredictable) JMX port.  See the discussion here:
http://marc.info/?l=tomcat-user&m=122277270626801&w=2

If you can't turn off the firewall, the enhancement should be available in the next Tomcat 6.0 release, or you could just pick it up from svn and build it in.

 - 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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: remote jconsole connection did not succeed

Posted by Ivars Strazdiņš <iv...@gmail.com>.
Martin Gainty wrote:
> possibly firewall issue from client:
> netstat -aon | grep 9004
> do you see anything coming up?
nope, I can connect just fine:

ivarss@poga:~$ telnet hostname 9004
Trying 192.168.0.3...
Connected to hostname.domain
Escape character is '^]'.

Ivars
>
> > Date: Thu, 12 Mar 2009 20:36:38 +0200
> > From: ivars.strazdins@gmail.com
> > To: users@tomcat.apache.org
> > Subject: remote jconsole connection did not succeed
> >
> > Hi *,
> > in this setup there are two tomcat 6.0.18 instances each running on
> > separate windows 2003 server with Sun JDK 1.6.0_12.
> > I have configured JMX console access pretty much the standard way on
> > both systems, with switches:
> > -Dcom.sun.management.jmxremote
> > -Dcom.sun.management.jmxremote.port=9004
> > -Dcom.sun.management.jmxremote.ssl=false
> > -Dcom.sun.management.jmxremote.authenticate=false
> >
> > The funny thing is that I can connect to one Tomcat both locally and
> > remotely, but only locally to other Tomcat instance (that is, from the
> > same system and to local process).
> > If I try to connect remotely to that instance, connection fails with
> > message "the connection did not succeed".
> > I dont even have a clue what to look for :(
> > Both servers are nearly identical and run the same webapps.
> > Thanks for your time,
> > Ivars
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
>
> ------------------------------------------------------------------------
> Express your personality in color! Preview and select themes for 
> Hotmail®. See how. 
> <http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme>

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