RE: Processes are not showing in the JConsole

2009-05-21 Thread Caldarale, Charles R
 From: Anamika raj [mailto:rajnam...@gmail.com]
 Subject: Processes are not showing in the JConsole
 
 the process which i want to monitor on JConsole not showing 
 in the JConsole window.

Welcome to the wonderful world of Windows security.  At least on Vista, 
Tomcat running as a service is not accessible to JConsole, jps, jstack, or any 
of the other highly useful tools, regardless of the account the service is 
running under, or whether or not the tool is being run as an administrator.

The only means I've found to monitor Tomcat with JConsole is to run Tomcat from 
the .bat scripts, not as a service.  The scripts are only in the .zip download, 
not the .exe one, by the way.

 - 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: Processes are not showing in the JConsole

2009-05-21 Thread Rainer Jung
On 21.05.2009 14:57, Caldarale, Charles R wrote:
 From: Anamika raj [mailto:rajnam...@gmail.com]
 Subject: Processes are not showing in the JConsole

 the process which i want to monitor on JConsole not showing 
 in the JConsole window.
 
 Welcome to the wonderful world of Windows security.  At least on Vista, 
 Tomcat running as a service is not accessible to JConsole, jps, jstack, or 
 any of the other highly useful tools, regardless of the account the service 
 is running under, or whether or not the tool is being run as an administrator.
 
 The only means I've found to monitor Tomcat with JConsole is to run Tomcat 
 from the .bat scripts, not as a service.  The scripts are only in the .zip 
 download, not the .exe one, by the way.

Is it still possible under Vista, and will it help, if you let the
service run with the same account you are using to login?

Regards,

Rainer

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



RE: Processes are not showing in the JConsole

2009-05-21 Thread Caldarale, Charles R
 From: Rainer Jung [mailto:rainer.j...@kippdata.de]
 Subject: Re: Processes are not showing in the JConsole
 
 Is it still possible under Vista, and will it help, if you let the
 service run with the same account you are using to login?

Nope, I've tried that.  The service remains invisible to jps and JConsole, even 
if the same account is used for both.  I did not try getting the pid from task 
manager and using it explicitly when starting JConsole, but will do so when I 
get back to my Vista box (it's a couple of kilometers away and powered off at 
the moment).

 - 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



Processes are not showing in the JConsole

2009-05-20 Thread Anamika raj

the process which i want to monitor on JConsole not showing in the JConsole
window.Can anybody help me why they are not showing.However I enabled JMX on
my process.What would be the possible cause of not showing the process.My
process is running it is showing in the task manager also.when I m trying to
run JConsole with the my process ID,,,like e.g JConsole C:\program
Files\java\jdk1.6.0_04\binjconsole 3816,then it is giving me invalid
process id.
-- 
View this message in context: 
http://www.nabble.com/Processes-are-not-showing-in-the-JConsole-tp23648035p23648035.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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