GlobalRequestProcessor get Response time?

2008-06-12 Thread ubekhet

Hi folks,

Sorry for insisting this question, but I want to know how I can 
monitoring the Response Time for all requests coming for specific port.


I used GlobalRequestProcessor and RequestProcessor for getting 
prcessingTime, but I not sure what's the differents between both. Which 
one I have to use for getting what I want?


Thanks in advance!

Regards

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Response Time in Tomcat

2008-06-11 Thread ubekhet

Johnny Kewl wrote:


- Original Message - From: Liang Xiao Zhu 
[EMAIL PROTECTED]

To: Tomcat Users List users@tomcat.apache.org
Sent: Wednesday, June 11, 2008 7:41 PM
Subject: Re: Response Time in Tomcat



Johnny Kewl escribió:


- Original Message - From: Liang Xiao Zhu 
[EMAIL PROTECTED]

To: Tomcat Users List users@tomcat.apache.org
Sent: Wednesday, June 11, 2008 4:33 PM
Subject: Response Time in Tomcat



Hi,

I am monitoring Tomcat 6 Performance and I want to get the Response 
Time of the incoming Request. And I would like to know what the 
differents between requestProcessingTime


Its the actual time of the request



and processingTime


Its an average Total Processing /No of requests

you mean average Total Processing as a average time, right?


Yes

but if I want to know all RequestProcessor? I have to get the 
processingTime of GlobalRequestProcessor?


Yes its the Sum, it holds a vector of all the active requests
But I dont know what that actually means... because I think threads 
will hang around until recycled, and a total is actually meaningless.

Might be adding something that was used once ages ago???
Maybe that is useful, but not really for load testing???
Useful possibly only to a TC developer... for a normal mortal like me, 
its just a number ;)


Where is Remy Maucherat when you need him... help! ;)

Thanks for you answer!!!

Remy can you confirm this answer?? Please!!!




and also I would like to know the unit of these attributes


milli seconds

And the other problem I noticed that when the request is finished 
through jmxproxy the thread that process that request is still 
alive...that's normal?


Dont understand what you asking... or what you looking at


Thanks in advance..


This stuff (JMX) is nice and interesting, but I'm not sure if its 
the right tool to actually test performance
Have a little look at Jmeter... with that you can whack TC and 
really see how its holding up.

Or possibly watch the JMX while you whack it... its more fun ;)





--- 



HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
--- 




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Refuse connections in the selector

2008-05-17 Thread ubekhet
Yes, I want to write my own NIO code. But I dont know how to cancel/close
a connection in the selector, because the file NioEndPoint.java es so
confusing and I dont in which of class of that file I have to do that.

Tnaks

 I'm still not sure what you're asking, but if you are writing your own
 NIO code, then you can cancel/close a connection that is in the selector
 pool at any point in time. Just get it out of the selector pool, and
 close it.

 Filip

 ubekhet wrote:
 Hi Filip,

 Is related java nio, and in this case as I use Tomcat with NIO
 paradigm, is the same.

 Thanks

 Filip Hanik - Dev Lists wrote:
 is this related to tomcat, or just generic java/nio?

 Filip

 ubekhet wrote:
 Hi,

 I would like to know, how I can refuse the connections when they are
 in the selector pool, just for waiting thread to manage connections.
 I use Tomcat 6 and also using NIO paradigm! and I dont know how to
 do that.

 Thanks in advance!!!

 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JMX MBean

2008-05-16 Thread ubekhet

Hi Caldarale,

Yes, I use the current version of Tomcat. Thanks for your link, but I 
want to know how to implement MBean, because according the web you gave, 
I have to add my MBean to the mbeans-descriptor.xml and also the folder 
where is contained.


For example, if I want to implement the HelloWorld in 
java/org/apache/catalina/mbeans, first of all I have to add to 
mbeans-descriptor.xml in java/org/apache/catalina and then also in 
java/org/apache/catalina/mbeans.


On the other hand, I've implemented HelloWorld.java in 
java/org/apache/catalina/deploy and HelloWorldMBean as interface in 
java/org/apache/catalina/mbeans. This implementation is the correct way? 
Other way in the same java/org/apache/catalina/deploy directory contain 
another mbeans-descriptor.xml file


Can you say me, if I am right?

Thanks a lots!!!

Caldarale, Charles R wrote:

-Original Message-
From: Liang Xiao Zhu [mailto:[EMAIL PROTECTED] 
Subject: JMX MBean


I am searching how to implement a MBean for a class that I 
implemented, which add some new funcionality to Tomcat.



Don't suppose you'd care to tell us what version of Tomcat you're using?

If it's the current level, have you followed these instructions?

http://tomcat.apache.org/tomcat-6.0-doc/mbeans-descriptor-howto.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.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Refuse connections in the selector

2008-05-16 Thread ubekhet

Hi,

I would like to know, how I can refuse the connections when they are in 
the selector pool, just for waiting thread to manage connections.

I use Tomcat 6 and also using NIO paradigm! and I dont know how to do that.

Thanks in advance!!!

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Refuse connections in the selector

2008-05-16 Thread ubekhet

Hi Filip,

Is related java nio, and in this case as I use Tomcat with NIO paradigm, 
is the same.


Thanks

Filip Hanik - Dev Lists wrote:

is this related to tomcat, or just generic java/nio?

Filip

ubekhet wrote:

Hi,

I would like to know, how I can refuse the connections when they are 
in the selector pool, just for waiting thread to manage connections.
I use Tomcat 6 and also using NIO paradigm! and I dont know how to do 
that.


Thanks in advance!!!

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Redirect request to another Tomcat server

2008-05-14 Thread ubekhet

Hi everyone,

I am wondering, if there is some posibility to redirect the request from 
one Tomcat Server to another one. I would like to know where is the 
point to change that. Basically, in one Tomcat Server I recieve the 
request I will check the headers and then depending of some parameters I 
will redirect the same request to another Tomcat or not.


In fact, I have been looking at some files, such as, 
Http11NioProtocol.java and Http11NioProcessor.java, because both files 
are for managing the connector of Tomcat, in this case the connector 
Coyote using NIO.


Thans in advance!!!

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Developing Tomcat using Eclipse

2008-05-14 Thread ubekhet

Hi,

I want developing tomcat from Tomcat source using Eclipse, Is there 
someone know how I have to setup in Eclipse for to do that?


Thank in advance!!!

Regards

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Developing Tomcat using Eclipse

2008-05-14 Thread ubekhet

Hi,

I want developing tomcat from Tomcat source using Eclipse, Is there 
someone know how I have to setup in Eclipse for to do that?


Thank in advance!!!

Regards

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: get Tomcat perfomance using JMX

2008-04-19 Thread ubekhet
It looks like this, but I am not sure the link you gave show that 
exactly. The time response that I want is show a normal benchmark where 
there is a option for count time response of application. In this case I 
want time response for one request, and then I will mesure 10 trace and 
get the average time response of Tomcat.


I dont if I explain correctly.

The information that show the link it a little bit confusion for me.

Regards

Leon Rosenberg wrote:

http://moskito.anotheria.net/moskitodemo/mui/mskShowAllProducers

this kind of time response?

Leon

On Sat, Apr 19, 2008 at 7:17 PM, Liang Xiao Zhu
[EMAIL PROTECTED] wrote:
  

Thanks for you answer, but also I want to know if for getting time response
of Tomcat there is another alternative that not only through logs.

 Regards

 Caldarale, Charles R escribió:





From: Liang Xiao Zhu [mailto:[EMAIL PROTECTED] Subject: get


Tomcat perfomance using JMX


I want to get information relative a tomcat performance, such as time


response, throughput, etc.. And I also want using JMX for getting this kind
of information.



Look at Lambda Probe (www.lambdaprobe.org).  It extracts the kind of
information you're looking for via JMX; if you can't use it directly,
you can use its code as a model.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  

 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]