Re: RE: check number of http connection in tomcat

2010-03-03 Thread chuikingman

I try to use tomcat manager .
There is account role admin in the linux dir 
But when I access  http://XXXx:8080/admin/index.html
I input the user name tomcatadmin and passwordtomcat .
It is failed and show not authorized.
I paste the  /conf/users/tomcat-users.xml file below 
tomcat-users
  role rolename=manager/
  role rolename=admin/
  user name=tomcat password=tomcat roles=tomcat /
  user name=role1  password=tomcat roles=role1  /
  user name=both   password=tomcat roles=tomcat,role1 /
  user name=tomcatadmin  password=tomcat roles=admin,manager /
/tomcat-users
  Could you advice what is wrong for the password ??
How can I fix it ...
Please advice 


Guifre Bosch Fabregas wrote:
 
 in linux you can use:
 ps -ef | grep http | grep -v grep | wc -l
 
 This command returns the number of http active process
 
 El 03/03/2010 07:42, Caldarale, Charles R chuck.caldar...@unisys.com
 escribió:
 
 From: chuikingman [mailto:chuiking...@yahoo.com.hk]
 Subject: check number of http connection in tomcat

 I use tomcat .
 
 Congratulations.  What version?  What platform?
 
 
 I want to know how to check the number of http connection in the
 existing Tomcat web server ??
 ...
 It's not perfectly clear what you want, but the netstat tool is available
 on
 most platforms and will display all active connections.  The manager
 webapp
 that is part of the standard Tomcat download shows the number of active
 sessions, and Lambda Probe (www.lambdaprobe.org) and MoSKito (
 moskito.anotheria.net) can give you detailed statistics.
 
  - 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: user...
 
 

-- 
View this message in context: 
http://old.nabble.com/check-number-of-http-connection-in-tomcat-tp27764524p27765631.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



check number of http connection in tomcat

2010-03-02 Thread chuikingman

I use tomcat .
I want to know how to check the number of http connection in the existing
Tomcat web server ??
Any advice ???
-- 
View this message in context: 
http://old.nabble.com/check-number-of-http-connection-in-tomcat-tp27764524p27764524.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



RE: check number of http connection in tomcat

2010-03-02 Thread chuikingman

It is tomcat-3.3.2 in red hat linux AS4 , kernel 2.6.9
Can you take exmaple how to use manager webapp 
Please advice 


n828cl wrote:
 
 From: chuikingman [mailto:chuiking...@yahoo.com.hk]
 Subject: check number of http connection in tomcat
 
 I use tomcat .
 
 Congratulations.  What version?  What platform?
 
 I want to know how to check the number of http connection in the
 existing Tomcat web server ??
 
 It's not perfectly clear what you want, but the netstat tool is available
 on most platforms and will display all active connections.  The manager
 webapp that is part of the standard Tomcat download shows the number of
 active sessions, and Lambda Probe (www.lambdaprobe.org) and MoSKito
 (moskito.anotheria.net) can give you detailed statistics.
 
  - 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
 
 
 

-- 
View this message in context: 
http://old.nabble.com/check-number-of-http-connection-in-tomcat-tp27764524p27765147.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