tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chuikingman <chuiking...@yahoo.com.hk>
Subject Re: RE: check number of http connection in tomcat
Date Wed, 03 Mar 2010 08:48:25 GMT

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 password"tomcat ".
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.Caldarale@unisys.com>
> escribió:
> 
>> From: chuikingman [mailto:chuikingman@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message