Re: check number of http connection in tomcat

2010-03-03 Thread André Warnier

Bill Barker wrote:



"Caldarale, Charles R"  wrote in message 
news:99c8b2929b39c24493377ac7a121e21f96cb875...@usea-exch8.na.uis.unisys.com... 


From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: check number of http connection in tomcat

1) the correct link is probably : http://XXXx:8080/manager


That will get you a 404 (at least on non-stone-age Tomcats).  The 
actual manager URL is:

http://XXXx:8080/manager/html



It's nice to see that 3.3.2 is still so popular.  I've gotten two 
questions about it in one week :).


Actually, the OP had the correct URL for TC 3.3.2.  It's called admin 
there, but works more like the manager for TC 4.0+.  Since it is from 
the stone-age, it has considerably less functionality.


To answer the OP, the instructions are in the index.html file under the 
/webapps/admin directory.  The short answer is that if you haven't 
changed the conf/apps-admin.xml (yes, TC 3.3 was the first one to have 
context configuration files), then you need to edit the 
conf/users/admin-users.xml to enable a user for the admin app.  The file 
posted by the OP is in the wrong  format (it is for TC 4.0+).


Of course, one of the things that the TC 3.3 admin app lacks is the 
ability to show the number of connections, so this will likely be of 
little use to the OP ;).  It mostly lets you start and stop webapps.  
Since it shares connectors with later Tomcat versions, this information 
is available via JMX however.




I told you, we need guys over 50 to answer questions about Tomcat 3.3.2.
Maybe there's hope for us after all.

-
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-03 Thread Bill Barker



"Caldarale, Charles R"  wrote in message 
news:99c8b2929b39c24493377ac7a121e21f96cb875...@usea-exch8.na.uis.unisys.com...

From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: check number of http connection in tomcat

1) the correct link is probably : http://XXXx:8080/manager


That will get you a 404 (at least on non-stone-age Tomcats).  The actual 
manager URL is:

http://XXXx:8080/manager/html



It's nice to see that 3.3.2 is still so popular.  I've gotten two questions 
about it in one week :).


Actually, the OP had the correct URL for TC 3.3.2.  It's called admin there, 
but works more like the manager for TC 4.0+.  Since it is from the 
stone-age, it has considerably less functionality.


To answer the OP, the instructions are in the index.html file under the 
/webapps/admin directory.  The short answer is that if you haven't changed 
the conf/apps-admin.xml (yes, TC 3.3 was the first one to have context 
configuration files), then you need to edit the conf/users/admin-users.xml 
to enable a user for the admin app.  The file posted by the OP is in the 
wrong  format (it is for TC 4.0+).


Of course, one of the things that the TC 3.3 admin app lacks is the ability 
to show the number of connections, so this will likely be of little use to 
the OP ;).  It mostly lets you start and stop webapps.  Since it shares 
connectors with later Tomcat versions, this information is available via JMX 
however.





- 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: check number of http connection in tomcat

2010-03-03 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: Re: check number of http connection in tomcat
> 
> 1) the correct link is probably : http://XXXx:8080/manager

That will get you a 404 (at least on non-stone-age Tomcats).  The actual 
manager URL is:
http://XXXx:8080/manager/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.



RE: check number of http connection in tomcat

2010-03-03 Thread Joseph Morgan
>> and that any people here who have actually used it are probably over 50 
>> years old.  
>> And you know that after 35, it is downhill all the way : you start 
>> forgetting things and so on.

Hey... I resemble that remark!  They always say that the 2nd thing to go is 
memory.  I don't remember what the first one is!

-Original Message-
From: André Warnier [mailto:a...@ice-sa.com] 
Sent: Wednesday, March 03, 2010 2:40 AM
To: Tomcat Users List
Subject: Re: check number of http connection in tomcat

chuikingman wrote:
> 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 
> 
Tomcat 3.3.2 is so old that most people on this list may not even 
remember if there existed a manager application in it, never mind how to 
get it and install it and configure it under RedHat.
The current released version is Tomcat 6.0.  Before that, there have 
been Tomcat 5.5 and Tomcat 5.0 and Tomcat 4.1, at least.
If you want to get help for that or any other Tomcat-related subject, I 
would strongly recommend that you upgrade that Tomcat to a more recent 
version (and probably also the Java JVM).



In case the above is not clear enough : it is not that nobody here 
/would want/ to help you; they would if they could.
But Tomcat 3.3.2 is so old that some of the people here were probably 
still in school when it was released, and that any people here who have 
actually used it are probably over 50 years old.  And you know that 
after 35, it is downhill all the way : you start forgetting things and 
so on.  Got it ?



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


-
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-03 Thread André Warnier

chuikingman wrote:

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 


  
  
  
  
  
  

  Could you advice what is wrong for the password ??
How can I fix it ...
Please advice 

As explained previously, I am really guessing here, because your version 
of Tomcat is so old..


But assuming it works like more recent versions :

1) the correct link is probably : http://XXXx:8080/manager
(admin is another application)

2) make sure that around your  section above, there are no 
XML comment signs like



(and if you remove them, restart Tomcat)


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



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 password"tomcat ".
It is failed and show not authorized.
I paste the  /conf/users/tomcat-users.xml file below 

  
  
  
  
  
  

  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" 
> 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



Re: check number of http connection in tomcat

2010-03-03 Thread André Warnier

chuikingman wrote:

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 

Tomcat 3.3.2 is so old that most people on this list may not even 
remember if there existed a manager application in it, never mind how to 
get it and install it and configure it under RedHat.
The current released version is Tomcat 6.0.  Before that, there have 
been Tomcat 5.5 and Tomcat 5.0 and Tomcat 4.1, at least.
If you want to get help for that or any other Tomcat-related subject, I 
would strongly recommend that you upgrade that Tomcat to a more recent 
version (and probably also the Java JVM).




In case the above is not clear enough : it is not that nobody here 
/would want/ to help you; they would if they could.
But Tomcat 3.3.2 is so old that some of the people here were probably 
still in school when it was released, and that any people here who have 
actually used it are probably over 50 years old.  And you know that 
after 35, it is downhill all the way : you start forgetting things and 
so on.  Got it ?




-
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



Re: RE: check number of http connection in tomcat

2010-03-02 Thread Guifre Bosch Fabregas
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" 
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...


RE: check number of http connection in tomcat

2010-03-02 Thread Caldarale, Charles R
> 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