Re: performance metrics of servlets in Tomcat 4.1.30.

2004-08-25 Thread Prasheel Vemulapalli
Thanks Bill,

I am able to get the servlet metrics, but for getting
connector metrics i replaced tomcat_jk.jar from TC
5.0. Even then I am not getting the connector metrics
as i get in TC 5.0. I want to monitor the bytes sent
and received through the connectors. In TC 5.0 I can
get these metrics through
type=GlobalRequestProcessor;
name=jk-8009; MBean which i dont find in TC 4.1.30.
How can I enable this MBean?

Thanks
prasheel
--- Bill Barker [EMAIL PROTECTED] wrote:

 
 Shapira, Yoav [EMAIL PROTECTED] wrote in
 message

news:[EMAIL PROTECTED]
 
 Hi,
 
 Does Tomcat 4.1.30 provide any MBeans for
 monitoring
 the above metrics?
 
 No.
 
 Pure FUD.  You need to specify the jsr77Names=true
 attribute to the
 ServerLifecyleListener to have TC 4 JMX register the
 servlets, but otherwise
 its much like TC 5.  You might also need updated
 Connector jars (these can
 be swapped between any version of Tomcat),
 especially if you want the
 information for JK requests.
 
 
 Is there any way to get the
 performance metrics from Tomcat 4.1.30 other than
 JMX
 interface?
 
 You'd have to write some code and rebuild Tomcat
 with your code for
 tracking.
 
 Where can I find a document that specifies
 the MBeans supported in Tomcat 4.1.30 and Tomcat
 5.0
 versions?
 
 See the mbeans-descriptors.xml file
 (org.apache.catalina.mbeans
 package).  There's a brief document at

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/mbeans-descriptor-howto.
 html.  But there's no one comprehensive document
 listing all the MBeans,
 operations, and attributes supported the different
 Tomcat version.  Such
 a document would be nice: do you feel like writing
 and contributing it?
 ;)
 
 Consider this another reason to upgrade to Tomcat
 5.x.
 
 Or, easier, wait until TC 4.1.31 comes out.
 
 
 Yoav
 
 
 
 This e-mail, including any attachments, is a
 confidential business
 communication, and may contain information that is
 confidential, proprietary
 and/or privileged.  This e-mail is intended only for
 the individual(s) to
 whom it is addressed, and may not be saved, copied,
 printed, disclosed or
 used by anyone else.  If you are not the(an)
 intended recipient, please
 immediately delete this e-mail from your computer
 system and notify the
 sender.  Thank you.
 
 
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 




___
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: performance metrics of servlets in Tomcat 4.1.30.

2004-08-25 Thread Shapira, Yoav

Hola,

Does Tomcat 4.1.30 provide any MBeans for monitoring
the above metrics?

No.

Pure FUD.  You need to specify the jsr77Names=true attribute to the
ServerLifecyleListener to have TC 4 JMX register the servlets, but
otherwise
its much like TC 5.  You might also need updated Connector jars (these
can
be swapped between any version of Tomcat), especially if you want the
information for JK requests.

For the specific beans he asked about, I'm pretty sure you need to swap
the connector jars.  The jsr77Names attribute is not documented (and set
to false by default) so one would have to look at the code to know of it
;)  Given those two, you can't get that data with 4.1.30 out of the box,
which is why I said no, and I don't think that's FUD ;)

Yoav



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: performance metrics of servlets in Tomcat 4.1.30.

2004-08-25 Thread Remy Maucherat
On Tue, 24 Aug 2004 23:23:06 -0400, Peter Lin [EMAIL PROTECTED] wrote:
 oh, I didn't realize the new 4.1.31 includes back port of the new
 status servlet in tc5.
 
 or am I mis-reading that?

4.1.31 doesn't include any backport of the status servlet. Personally,
I wouldn't recommend using it, it will likely not get the same amount
of testing as the 5.0 branch.
Instead, upgrade to 5.0.x, which is getting the testing and bug fixes.

-- 
x
Rémy Maucherat
Developer  Consultant
JBoss Group (Europe) SàRL
x

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: performance metrics of servlets in Tomcat 4.1.30.

2004-08-24 Thread Shapira, Yoav

Hi,

Does Tomcat 4.1.30 provide any MBeans for monitoring
the above metrics?

No.

Is there any way to get the
performance metrics from Tomcat 4.1.30 other than JMX
interface?

You'd have to write some code and rebuild Tomcat with your code for
tracking.

Where can I find a document that specifies
the MBeans supported in Tomcat 4.1.30 and Tomcat 5.0
versions?

See the mbeans-descriptors.xml file (org.apache.catalina.mbeans
package).  There's a brief document at
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/mbeans-descriptor-howto.
html.  But there's no one comprehensive document listing all the MBeans,
operations, and attributes supported the different Tomcat version.  Such
a document would be nice: do you feel like writing and contributing it?
;)

Consider this another reason to upgrade to Tomcat 5.x.

Yoav



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: performance metrics of servlets in Tomcat 4.1.30.

2004-08-24 Thread Peter Lin
you're option is to back port the status servlet to tomcat4. if you
manage to do that, it should work I would think :)  If you do, I will
gladly use Jmeter's tomcat5 monitor to test it.

peter


On Tue, 24 Aug 2004 10:22:57 -0700 (PDT), Prasheel Vemulapalli
[EMAIL PROTECTED] wrote:
 I want to monitor the performance metrics of servlets,
 WebApps, Connectors on Tomcat 4.1.30. I am able to get
 the same metrics through JMX interface in Tomcat 5.0
 but in Tomcat 4.1.30 there are no MBeans for
 monitoring the above metrics.
 Does Tomcat 4.1.30 provide any MBeans for monitoring
 the above metrics? If so what configuration changes
 needs to be done? Is there any way to get the
 performance metrics from Tomcat 4.1.30 other than JMX
 interface? Where can I find a document that specifies
 the MBeans supported in Tomcat 4.1.30 and Tomcat 5.0
 versions?
 
 Thanks
 prasheel
 
 ___
 Do you Yahoo!?
 Win 1 of 4,000 free domain names from Yahoo! Enter now.
 http://promotions.yahoo.com/goldrush
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: performance metrics of servlets in Tomcat 4.1.30.

2004-08-24 Thread Bill Barker

Shapira, Yoav [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

Hi,

Does Tomcat 4.1.30 provide any MBeans for monitoring
the above metrics?

No.

Pure FUD.  You need to specify the jsr77Names=true attribute to the
ServerLifecyleListener to have TC 4 JMX register the servlets, but otherwise
its much like TC 5.  You might also need updated Connector jars (these can
be swapped between any version of Tomcat), especially if you want the
information for JK requests.


Is there any way to get the
performance metrics from Tomcat 4.1.30 other than JMX
interface?

You'd have to write some code and rebuild Tomcat with your code for
tracking.

Where can I find a document that specifies
the MBeans supported in Tomcat 4.1.30 and Tomcat 5.0
versions?

See the mbeans-descriptors.xml file (org.apache.catalina.mbeans
package).  There's a brief document at
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/mbeans-descriptor-howto.
html.  But there's no one comprehensive document listing all the MBeans,
operations, and attributes supported the different Tomcat version.  Such
a document would be nice: do you feel like writing and contributing it?
;)

Consider this another reason to upgrade to Tomcat 5.x.

Or, easier, wait until TC 4.1.31 comes out.


Yoav



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: performance metrics of servlets in Tomcat 4.1.30.

2004-08-24 Thread Peter Lin
oh, I didn't realize the new 4.1.31 includes back port of the new
status servlet in tc5.

or am I mis-reading that?

peter

On Tue, 24 Aug 2004 20:16:08 -0700, Bill Barker [EMAIL PROTECTED] wrote:
 
 Shapira, Yoav [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
 
 Hi,
 
 Does Tomcat 4.1.30 provide any MBeans for monitoring
 the above metrics?
 
 No.
 
 Pure FUD.  You need to specify the jsr77Names=true attribute to the
 ServerLifecyleListener to have TC 4 JMX register the servlets, but otherwise
 its much like TC 5.  You might also need updated Connector jars (these can
 be swapped between any version of Tomcat), especially if you want the
 information for JK requests.
 
 
 Is there any way to get the
 performance metrics from Tomcat 4.1.30 other than JMX
 interface?
 
 You'd have to write some code and rebuild Tomcat with your code for
 tracking.
 
 Where can I find a document that specifies
 the MBeans supported in Tomcat 4.1.30 and Tomcat 5.0
 versions?
 
 See the mbeans-descriptors.xml file (org.apache.catalina.mbeans
 package).  There's a brief document at
 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/mbeans-descriptor-howto.
 html.  But there's no one comprehensive document listing all the MBeans,
 operations, and attributes supported the different Tomcat version.  Such
 a document would be nice: do you feel like writing and contributing it?
 ;)
 
 Consider this another reason to upgrade to Tomcat 5.x.
 
 Or, easier, wait until TC 4.1.31 comes out.
 
 
 
 
 Yoav
 
 This e-mail, including any attachments, is a confidential business
 communication, and may contain information that is confidential, proprietary
 and/or privileged.  This e-mail is intended only for the individual(s) to
 whom it is addressed, and may not be saved, copied, printed, disclosed or
 used by anyone else.  If you are not the(an) intended recipient, please
 immediately delete this e-mail from your computer system and notify the
 sender.  Thank you.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]