Re: Can't connect remotely to Tomcat via JMX on Windows

2010-03-16 Thread Richard John
The documentation was correct for Linux / Unix

maybe the documentation should point out the difference between
Windows and Linux configuration

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



RE: Can't connect remotely to Tomcat via JMX on Windows

2010-03-16 Thread Caldarale, Charles R
> From: Richard John [mailto:rich4rd.j...@gmail.com]
> Subject: Re: Can't connect remotely to Tomcat via JMX on Windows
> 
> removing the Quotation mark did the trick, thanks!
> 
> Why are they in the documentation?

The erroneous quotes have been removed in the current doc: 
http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html

 - 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: Can't connect remotely to Tomcat via JMX on Windows

2010-03-16 Thread Richard John
 was a typo, of course i tried port 8050, but removing the
Quotation mark did the trick, thanks!

Why are they in the documentation?

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



Re: Can't connect remotely to Tomcat via JMX on Windows

2010-03-16 Thread Gurkan Erdogdu
Also remove "" from CATALINA_OPTS, like this

set CATALINA_OPTS=-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=8050
-Dcom.sun.management.jmxremote.ssl=false
 -Dcom.sun.management.jmxremote.authenticate=false


2010/3/16 Gurkan Erdogdu 

>
> try
>
> service:jmx:rmi:///jndi/rmi://localhost:8050/jmxrmi
>
> --Gurkan
>
> 2010/3/16 Richard John 
>
> I want to monitor the Tomcat server remotley with jconsole.
>>
>> I added the properties described in
>> http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html
>>
>> set CATALINA_OPTS="-Dcom.sun.management.jmxremote
>>
>> -Dcom.sun.management.jmxremote.port=8050-Dcom.sun.management.jmxremote.ssl=false
>> -Dcom.sun.management.jmxremote.authenticate=false"
>>
>> there is no exception (cmd / log) but i can’t remote connect with
>> jconsole (i tried service:jmx:rmi:///jndi/rmi://localhost:/jmxrmi
>> and localhost:8050)
>>
>> when i connect to the local process, i can see the right VM arguments
>> in the VM summary tab
>>
>> when i use netstat, the tomcat process is listening on 8080 and 8009
>> but not on 8050
>>
>> the same configuration works with linux (same tomcat version)
>>
>> Apache Tomcat 6.0.24 (also tested with 5.5.28, same thing)
>> JDK 1.6.0.18
>> Windows Vista Business
>>
>> Thanks in advance
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>>
>
>
> --
> Gurkan Erdogdu
> http://gurkanerdogdu.blogspot.com
>



-- 
Gurkan Erdogdu
http://gurkanerdogdu.blogspot.com


Re: Can't connect remotely to Tomcat via JMX on Windows

2010-03-16 Thread Gurkan Erdogdu
try

service:jmx:rmi:///jndi/rmi://localhost:8050/jmxrmi

--Gurkan

2010/3/16 Richard John 

> I want to monitor the Tomcat server remotley with jconsole.
>
> I added the properties described in
> http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html
>
> set CATALINA_OPTS="-Dcom.sun.management.jmxremote
>
> -Dcom.sun.management.jmxremote.port=8050-Dcom.sun.management.jmxremote.ssl=false
> -Dcom.sun.management.jmxremote.authenticate=false"
>
> there is no exception (cmd / log) but i can’t remote connect with
> jconsole (i tried service:jmx:rmi:///jndi/rmi://localhost:/jmxrmi
> and localhost:8050)
>
> when i connect to the local process, i can see the right VM arguments
> in the VM summary tab
>
> when i use netstat, the tomcat process is listening on 8080 and 8009
> but not on 8050
>
> the same configuration works with linux (same tomcat version)
>
> Apache Tomcat 6.0.24 (also tested with 5.5.28, same thing)
> JDK 1.6.0.18
> Windows Vista Business
>
> Thanks in advance
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


-- 
Gurkan Erdogdu
http://gurkanerdogdu.blogspot.com