You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "anita kulshreshtha (JIRA)" <de...@geronimo.apache.org> on 2005/12/05 17:15:08 UTC

[jira] Created: (GERONIMO-1293) Provide tomcat statistics

Provide tomcat statistics
-------------------------

         Key: GERONIMO-1293
         URL: http://issues.apache.org/jira/browse/GERONIMO-1293
     Project: Geronimo
        Type: New Feature
  Components: Tomcat  
    Versions: 1.x    
 Environment: All environments
    Reporter: anita kulshreshtha
    Priority: Minor


Provide following statistics for tomcat :
     1. Per Host/Container -
             a. Initially provide the following per connector statistics for each connector - 
                                Cummulative statistics about all request handled by this connector since the stat were turned on. 
             b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
     2. Per application  - 
             a.. processingTime : The cumulative processing times of all servlets in this StandardContext
             b.  startTime - The time this context was started.
            c.  startupTime - The time (in milliseconds) it took to start this context.
            d..  tldScanTime() - 
            Later add session statistics and jsp statistics.
      3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
              

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1293) Provide tomcat statistics

Posted by "Anita Kulshreshtha (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1293?page=all ]

Anita Kulshreshtha updated GERONIMO-1293:
-----------------------------------------

    Fix Version/s: 2.0
                       (was: 1.2)

> Provide tomcat statistics
> -------------------------
>
>                 Key: GERONIMO-1293
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-1293
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Tomcat
>    Affects Versions: 1.0-M5
>         Environment: All environments
>            Reporter: Anita Kulshreshtha
>         Assigned To: Anita Kulshreshtha
>            Priority: Minor
>             Fix For: 2.0
>
>         Attachments: geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.1-SNAPSHOT.war, management.patch, management.patch, management.patch, project.patch, properties.patch, properties.patch, stats.zip, stats.zip, stats.zip, statsApp.zip, tomcat-builder.patch, tomcat.patch, tomcat.patch, tomcat.patch, tomcat.patch, TomcatWebAppContext.patch
>
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (GERONIMO-1293) Provide tomcat statistics

Posted by "Matt Hogstrom (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1293?page=comments#action_12449800 ] 
            
Matt Hogstrom commented on GERONIMO-1293:
-----------------------------------------

Anita, can you update that status of this patch and adjust the target version?

> Provide tomcat statistics
> -------------------------
>
>                 Key: GERONIMO-1293
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-1293
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Tomcat
>    Affects Versions: 1.0-M5
>         Environment: All environments
>            Reporter: Anita Kulshreshtha
>         Assigned To: Anita Kulshreshtha
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.1-SNAPSHOT.war, management.patch, management.patch, management.patch, project.patch, properties.patch, properties.patch, stats.zip, stats.zip, stats.zip, statsApp.zip, tomcat-builder.patch, tomcat.patch, tomcat.patch, tomcat.patch, tomcat.patch, TomcatWebAppContext.patch
>
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (GERONIMO-1293) Provide tomcat statistics

Posted by "Kevan Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevan Miller resolved GERONIMO-1293.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0

Anita,
I'm assuming we can close this one out. Please close, if you agree.

> Provide tomcat statistics
> -------------------------
>
>                 Key: GERONIMO-1293
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1293
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Tomcat
>    Affects Versions: 1.0-M5
>         Environment: All environments
>            Reporter: Anita Kulshreshtha
>            Assignee: Anita Kulshreshtha
>            Priority: Minor
>             Fix For: 2.1, 2.0
>
>         Attachments: geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.1-SNAPSHOT.war, geronimo-stats-2.0-SNAPSHOT.war, management.patch, management.patch, management.patch, project.patch, properties.patch, properties.patch, stats.zip, stats.zip, stats.zip, statsApp.zip, tomcat-builder.patch, tomcat.patch, tomcat.patch, tomcat.patch, tomcat.patch, TomcatWebAppContext.patch
>
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-1293) Provide tomcat statistics

Posted by "anita kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1293?page=all ]

anita kulshreshtha updated GERONIMO-1293:
-----------------------------------------

    Attachment: statsApp.zip
                management.patch
                tomcat.patch

Please discard all the old patches. These patches implement 1.a and 2. JSR77Servlet shows how to use these. 
These statistics are provided since the component was started. The console must do the arithmetic to compute
values during a given time period.  

> Provide tomcat statistics
> -------------------------
>
>          Key: GERONIMO-1293
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1293
>      Project: Geronimo
>         Type: New Feature
>   Components: Tomcat
>     Versions: 1.0-M5
>  Environment: All environments
>     Reporter: anita kulshreshtha
>     Priority: Minor
>      Fix For: 1.1
>  Attachments: TomcatWebAppContext.patch, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, management.patch, project.patch, stats.zip, stats.zip, statsApp.zip, tomcat.patch
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1293) Provide tomcat statistics

Posted by "Prasad Kashyap (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prasad Kashyap updated GERONIMO-1293:
-------------------------------------

    Patch Info: [Patch Available]

> Provide tomcat statistics
> -------------------------
>
>                 Key: GERONIMO-1293
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1293
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Tomcat
>    Affects Versions: 1.0-M5
>         Environment: All environments
>            Reporter: Anita Kulshreshtha
>            Assignee: Anita Kulshreshtha
>            Priority: Minor
>             Fix For: 2.0
>
>         Attachments: geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.1-SNAPSHOT.war, geronimo-stats-2.0-SNAPSHOT.war, management.patch, management.patch, management.patch, project.patch, properties.patch, properties.patch, stats.zip, stats.zip, stats.zip, statsApp.zip, tomcat-builder.patch, tomcat.patch, tomcat.patch, tomcat.patch, tomcat.patch, TomcatWebAppContext.patch
>
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-1293) Provide tomcat statistics

Posted by "Anita Kulshreshtha (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470057 ] 

Anita Kulshreshtha commented on GERONIMO-1293:
----------------------------------------------

rev 503417 - Added Stats interfaces and implementations  for webConnector and webModule
                       

> Provide tomcat statistics
> -------------------------
>
>                 Key: GERONIMO-1293
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1293
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Tomcat
>    Affects Versions: 1.0-M5
>         Environment: All environments
>            Reporter: Anita Kulshreshtha
>         Assigned To: Anita Kulshreshtha
>            Priority: Minor
>             Fix For: 2.0
>
>         Attachments: geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.1-SNAPSHOT.war, management.patch, management.patch, management.patch, project.patch, properties.patch, properties.patch, stats.zip, stats.zip, stats.zip, statsApp.zip, tomcat-builder.patch, tomcat.patch, tomcat.patch, tomcat.patch, tomcat.patch, TomcatWebAppContext.patch
>
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (GERONIMO-1293) Provide tomcat statistics

Posted by "anita kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1293?page=all ]

anita kulshreshtha reassigned GERONIMO-1293:
--------------------------------------------

    Assign To: anita kulshreshtha

> Provide tomcat statistics
> -------------------------
>
>          Key: GERONIMO-1293
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1293
>      Project: Geronimo
>         Type: New Feature
>   Components: Tomcat
>     Versions: 1.0-M5
>  Environment: All environments
>     Reporter: anita kulshreshtha
>     Assignee: anita kulshreshtha
>     Priority: Minor
>      Fix For: 1.1
>  Attachments: TomcatWebAppContext.patch, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.1-SNAPSHOT.war, management.patch, management.patch, management.patch, project.patch, properties.patch, properties.patch, stats.zip, stats.zip, stats.zip, statsApp.zip, tomcat-builder.patch, tomcat.patch, tomcat.patch, tomcat.patch, tomcat.patch
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (GERONIMO-1293) Provide tomcat statistics

Posted by "Anita Kulshreshtha (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anita Kulshreshtha closed GERONIMO-1293.
----------------------------------------


The ServletStats(JSR77) can easily be added when we incorporate 'Servlet' J2EEManagedObject.
Alternately a user can get raw servlet statistics from mbeanserver.

> Provide tomcat statistics
> -------------------------
>
>                 Key: GERONIMO-1293
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1293
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Tomcat
>    Affects Versions: 1.0-M5
>         Environment: All environments
>            Reporter: Anita Kulshreshtha
>            Assignee: Anita Kulshreshtha
>            Priority: Minor
>             Fix For: 2.0, 2.1
>
>         Attachments: geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.1-SNAPSHOT.war, geronimo-stats-2.0-SNAPSHOT.war, management.patch, management.patch, management.patch, project.patch, properties.patch, properties.patch, stats.zip, stats.zip, stats.zip, statsApp.zip, tomcat-builder.patch, tomcat.patch, tomcat.patch, tomcat.patch, tomcat.patch, TomcatWebAppContext.patch
>
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-1293) Provide tomcat statistics

Posted by "anita kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1293?page=all ]

anita kulshreshtha updated GERONIMO-1293:
-----------------------------------------

    Attachment: tomcat.patch

The patch was incomplete due to a missing folder.

> Provide tomcat statistics
> -------------------------
>
>          Key: GERONIMO-1293
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1293
>      Project: Geronimo
>         Type: New Feature
>   Components: Tomcat
>     Versions: 1.0-M5
>  Environment: All environments
>     Reporter: anita kulshreshtha
>     Priority: Minor
>      Fix For: 1.1
>  Attachments: TomcatWebAppContext.patch, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, management.patch, project.patch, properties.patch, stats.zip, stats.zip, statsApp.zip, tomcat.patch, tomcat.patch
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1293) Provide tomcat statistics

Posted by "Prasad Kashyap (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prasad Kashyap updated GERONIMO-1293:
-------------------------------------

    Fix Version/s:     (was: 2.0-M5)
                   2.0

> Provide tomcat statistics
> -------------------------
>
>                 Key: GERONIMO-1293
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1293
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Tomcat
>    Affects Versions: 1.0-M5
>         Environment: All environments
>            Reporter: Anita Kulshreshtha
>            Assignee: Anita Kulshreshtha
>            Priority: Minor
>             Fix For: 2.0
>
>         Attachments: geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.1-SNAPSHOT.war, geronimo-stats-2.0-SNAPSHOT.war, management.patch, management.patch, management.patch, project.patch, properties.patch, properties.patch, stats.zip, stats.zip, stats.zip, statsApp.zip, tomcat-builder.patch, tomcat.patch, tomcat.patch, tomcat.patch, tomcat.patch, TomcatWebAppContext.patch
>
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-1293) Provide tomcat statistics

Posted by "Krishnakumar B (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1293?page=all ]

Krishnakumar B updated GERONIMO-1293:
-------------------------------------


Can some more details like Execute Thread, Queue Length be provided for Tomcat that would be useful for performance modelling

> Provide tomcat statistics
> -------------------------
>
>          Key: GERONIMO-1293
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1293
>      Project: Geronimo
>         Type: New Feature
>     Security: public(Regular issues) 
>   Components: Tomcat
>     Versions: 1.0-M5
>  Environment: All environments
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>     Priority: Minor
>      Fix For: 1.2
>  Attachments: TomcatWebAppContext.patch, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.1-SNAPSHOT.war, management.patch, management.patch, management.patch, project.patch, properties.patch, properties.patch, stats.zip, stats.zip, stats.zip, statsApp.zip, tomcat-builder.patch, tomcat.patch, tomcat.patch, tomcat.patch, tomcat.patch
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1293) Provide tomcat statistics

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1293?page=all ]

Aaron Mulder updated GERONIMO-1293:
-----------------------------------

    Fix Version: 1.1
        Version: 1.0-M5
                     (was: 1.x)

> Provide tomcat statistics
> -------------------------
>
>          Key: GERONIMO-1293
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1293
>      Project: Geronimo
>         Type: New Feature
>   Components: Tomcat
>     Versions: 1.0-M5
>  Environment: All environments
>     Reporter: anita kulshreshtha
>     Priority: Minor
>      Fix For: 1.1

>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1293) Provide tomcat statistics

Posted by "Anita Kulshreshtha (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anita Kulshreshtha updated GERONIMO-1293:
-----------------------------------------

    Fix Version/s:     (was: 2.0)
                   2.1

> Provide tomcat statistics
> -------------------------
>
>                 Key: GERONIMO-1293
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1293
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Tomcat
>    Affects Versions: 1.0-M5
>         Environment: All environments
>            Reporter: Anita Kulshreshtha
>            Assignee: Anita Kulshreshtha
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.1-SNAPSHOT.war, geronimo-stats-2.0-SNAPSHOT.war, management.patch, management.patch, management.patch, project.patch, properties.patch, properties.patch, stats.zip, stats.zip, stats.zip, statsApp.zip, tomcat-builder.patch, tomcat.patch, tomcat.patch, tomcat.patch, tomcat.patch, TomcatWebAppContext.patch
>
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-1293) Provide tomcat statistics

Posted by "Anita Kulshreshtha (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470059 ] 

Anita Kulshreshtha commented on GERONIMO-1293:
----------------------------------------------

Initial statistics collection support added in rev 503422
TODO - upgrade for concurrent data collection

> Provide tomcat statistics
> -------------------------
>
>                 Key: GERONIMO-1293
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1293
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Tomcat
>    Affects Versions: 1.0-M5
>         Environment: All environments
>            Reporter: Anita Kulshreshtha
>         Assigned To: Anita Kulshreshtha
>            Priority: Minor
>             Fix For: 2.0
>
>         Attachments: geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.1-SNAPSHOT.war, management.patch, management.patch, management.patch, project.patch, properties.patch, properties.patch, stats.zip, stats.zip, stats.zip, statsApp.zip, tomcat-builder.patch, tomcat.patch, tomcat.patch, tomcat.patch, tomcat.patch, TomcatWebAppContext.patch
>
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-1293) Provide tomcat statistics

Posted by "anita kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1293?page=all ]

anita kulshreshtha updated GERONIMO-1293:
-----------------------------------------

    Attachment: geronimo-stats-1.0-SNAPSHOT.war

Latest war to view the stats. Deploy and point the browser to http://localhost:8080/stats
Note : the address attribute for  AJP is OK. For http and https connectors, it appears as  :

Name: Geronimo:type=Connector,port=8443,address=%2F0.0.0.0
.................
address: /0.0.0.0
..............................
Why ?

> Provide tomcat statistics
> -------------------------
>
>          Key: GERONIMO-1293
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1293
>      Project: Geronimo
>         Type: New Feature
>   Components: Tomcat
>     Versions: 1.0-M5
>  Environment: All environments
>     Reporter: anita kulshreshtha
>     Priority: Minor
>      Fix For: 1.1
>  Attachments: TomcatWebAppContext.patch, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, stats.zip, stats.zip
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1293) Provide tomcat statistics

Posted by "anita kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1293?page=all ]

anita kulshreshtha updated GERONIMO-1293:
-----------------------------------------

    Attachment: geronimo-stats-1.1-SNAPSHOT.war
                tomcat.patch
                management.patch

Added servlet statistics. This requires servlet Gbeans.  

> Provide tomcat statistics
> -------------------------
>
>          Key: GERONIMO-1293
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1293
>      Project: Geronimo
>         Type: New Feature
>   Components: Tomcat
>     Versions: 1.0-M5
>  Environment: All environments
>     Reporter: anita kulshreshtha
>     Priority: Minor
>      Fix For: 1.1
>  Attachments: TomcatWebAppContext.patch, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.1-SNAPSHOT.war, management.patch, management.patch, management.patch, project.patch, properties.patch, properties.patch, stats.zip, stats.zip, stats.zip, statsApp.zip, tomcat.patch, tomcat.patch, tomcat.patch, tomcat.patch
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1293) Provide tomcat statistics

Posted by "anita kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1293?page=all ]

anita kulshreshtha updated GERONIMO-1293:
-----------------------------------------

    Attachment: stats.zip
                geronimo-stats-1.0-SNAPSHOT.war

Please discard the old files. Still need to figure out why no RequestProcessors are visible.

> Provide tomcat statistics
> -------------------------
>
>          Key: GERONIMO-1293
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1293
>      Project: Geronimo
>         Type: New Feature
>   Components: Tomcat
>     Versions: 1.0-M5
>  Environment: All environments
>     Reporter: anita kulshreshtha
>     Priority: Minor
>      Fix For: 1.1
>  Attachments: geronimo-stats-1.0-SNAPSHOT.war, stats.zip, stats.zip
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-1293) Provide tomcat statistics

Posted by "Jeff Genender (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1293?page=comments#action_12450107 ] 
            
Jeff Genender commented on GERONIMO-1293:
-----------------------------------------

I concur that the gbean per servlet is too much overhead and we should find another solution for this.

> Provide tomcat statistics
> -------------------------
>
>                 Key: GERONIMO-1293
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-1293
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Tomcat
>    Affects Versions: 1.0-M5
>         Environment: All environments
>            Reporter: Anita Kulshreshtha
>         Assigned To: Anita Kulshreshtha
>            Priority: Minor
>             Fix For: 2.0
>
>         Attachments: geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.1-SNAPSHOT.war, management.patch, management.patch, management.patch, project.patch, properties.patch, properties.patch, stats.zip, stats.zip, stats.zip, statsApp.zip, tomcat-builder.patch, tomcat.patch, tomcat.patch, tomcat.patch, tomcat.patch, TomcatWebAppContext.patch
>
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (GERONIMO-1293) Provide tomcat statistics

Posted by "Anita Kulshreshtha (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1293?page=comments#action_12450030 ] 
            
Anita Kulshreshtha commented on GERONIMO-1293:
----------------------------------------------

There is a problem with our current tomcat (5.5.15) integration. In a standalone mode tomcat (5.5.15) returns
connector statistics via GlobalRequestProcessor. Inside geronimo all returned values are zero! The cause of this 
still unknown. These patches worked with 5.5.12. 
    The servlet stats require Gbean implementation from G-1035. Given that adding servlet GBeans duplicates the
servlet MBeans, and might affect performance, I am looking at an alternate solution.  

> Provide tomcat statistics
> -------------------------
>
>                 Key: GERONIMO-1293
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-1293
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Tomcat
>    Affects Versions: 1.0-M5
>         Environment: All environments
>            Reporter: Anita Kulshreshtha
>         Assigned To: Anita Kulshreshtha
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.1-SNAPSHOT.war, management.patch, management.patch, management.patch, project.patch, properties.patch, properties.patch, stats.zip, stats.zip, stats.zip, statsApp.zip, tomcat-builder.patch, tomcat.patch, tomcat.patch, tomcat.patch, tomcat.patch, TomcatWebAppContext.patch
>
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (GERONIMO-1293) Provide tomcat statistics

Posted by "anita kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1293?page=all ]

anita kulshreshtha updated GERONIMO-1293:
-----------------------------------------

    Attachment: project.patch

project.xml for implementation of 2.

> Provide tomcat statistics
> -------------------------
>
>          Key: GERONIMO-1293
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1293
>      Project: Geronimo
>         Type: New Feature
>   Components: Tomcat
>     Versions: 1.0-M5
>  Environment: All environments
>     Reporter: anita kulshreshtha
>     Priority: Minor
>      Fix For: 1.1
>  Attachments: TomcatWebAppContext.patch, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, project.patch, stats.zip, stats.zip
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Updated: (GERONIMO-1293) Provide tomcat statistics

Posted by Joe Bohn <jo...@earthlink.net>.
Yes, there is a newer version of the debug console that more of a 
straight forward JMX object viewer.  It is still being debated if this 
should be merged with the admin console or kept independent.  The admin 
console in general attempts to provide more easy to use information for 
somebody not necessarily familiar with JMX.

My apologies for not yet responding on your earlier appends on the 
server statistics.   I hope to get back to that very soon (hopefully 
later today or tomorrow).

Joe

anita kulshreshtha wrote:
> Aaron, 
>     Thanks, for providing valuable feedback. I do not
> search for anything. The console (or any other tool)
> will ask for stats for  a specific component. When I
> wrote this, I got carried away... I was thinking about
> a no-frill tool like JMXProxyServlet see
> http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html#Using%20the%20JMX%20Proxy%20Servlet
> 
> for Geronimo gurus. I am not sure about its
> usefulness. I see there is a new JMX debug console
> already in the works. 
> 
> Thnaks
> Anita
> 
> --- Aaron Mulder <am...@alumni.princeton.edu>
> wrote:
> 
> 
>>You shouldn't be doing anything by ObjectName. 
>>Instead, as you said,
>>you should get the WebContainer and get the
>>connectors from there.  If
>>you want to search the whole world for statistics
>>providers, start
>>with the domain object and just march the tree
>>looking for
>>J2EEManagedObjects that return true for
>>isStatisticsProvider.
>>
>>Thanks,
>>    Aaron
>>
>>On 1/7/06, anita kulshreshtha <a_...@yahoo.com>
>>wrote:
>>
>>>Jeff,
>>>    I would like to be able to search for all
>>
>>Tomcat
>>
>>>Connectors using listGBeans(...). Do we need to
>>
>>have a
>>
>>>j2eeType for this? I could always look for the
>>>WebContainer and then get all the connectors
>>>(objectNames) from there. Eventually an MEJB would
>>>like to discover all the statistics providers to
>>>capture the performance and monitoring data. Any
>>>thoughts?
>>>
>>>
>>>Thanks
>>>Anita
>>>
>>>
>>
> J2EEApplication=null,J2EEModule=geronimo/tomcat/1.0-SNAPSHOT/car,J2EEServer=geronimo,
> 
>>>j2eeType=GBean,name=TomcatWebConnector
>>>
>>>--- "anita kulshreshtha (JIRA)"
>>><de...@geronimo.apache.org> wrote:
>>>
>>>
>>>>     [
>>>>
>>>
> http://issues.apache.org/jira/browse/GERONIMO-1293?page=all
> 
>>>>]
>>>>
>>>>anita kulshreshtha updated GERONIMO-1293:
>>>>-----------------------------------------
>>>>
>>>>    Attachment: properties.patch
>>>>                geronimo-stats-1.0-SNAPSHOT.war
>>>>
>>>> Please use tomcat 5.5.9 to view the stats.
>>>>Properties.patch for using tomcat 5.5.9.  Deploy
>>
>>the
>>
>>>>war and point to
>>>>http://localhost:8080/stats
>>>>
>>>>
>>>>>Provide tomcat statistics
>>>>>-------------------------
>>>>>
>>>>>         Key: GERONIMO-1293
>>>>>         URL:
>>>>
>>http://issues.apache.org/jira/browse/GERONIMO-1293
>>
>>>>>     Project: Geronimo
>>>>>        Type: New Feature
>>>>>  Components: Tomcat
>>>>>    Versions: 1.0-M5
>>>>> Environment: All environments
>>>>>    Reporter: anita kulshreshtha
>>>>>    Priority: Minor
>>>>>     Fix For: 1.1
>>>>> Attachments: TomcatWebAppContext.patch,
>>>>
>>>>geronimo-stats-1.0-SNAPSHOT.war,
>>>>geronimo-stats-1.0-SNAPSHOT.war,
>>>>geronimo-stats-1.0-SNAPSHOT.war,
>>
>>management.patch,
>>
>>>>project.patch, properties.patch, stats.zip,
>>>>stats.zip, statsApp.zip, tomcat.patch
>>>>
>>>>>Provide following statistics for tomcat :
>>>>>     1. Per Host/Container -
>>>>>             a. Initially provide the
>>
>>following
>>
>>>>per connector statistics for each connector -
>>>>
>>>>>                                Cummulative
>>>>
>>>>statistics about all request handled by this
>>>>connector since the stat were turned on.
>>>>
>>>>>             b. If time (before 1.0 release)
>>>>
>>>>permits, use 'a'  to generate (rename/compute)
>>>>statistics similar to the ones provided by Jetty
>>>>
>>>>>     2. Per application  -
>>>>>             a.. processingTime : The
>>
>>cumulative
>>
>>>>processing times of all servlets in this
>>>>StandardContext
>>>>
>>>>>             b.  startTime - The time this
>>
>>context
>>
>>>>was started.
>>>>
>>>>>            c.  startupTime - The time (in
>>>>
>>>>milliseconds) it took to start this context.
>>>>
>>>>>            d..  tldScanTime() -
>>>>>            Later add session statistics and
>>
>>jsp
>>
>>>>statistics.
>>>>
>>>>>      3.  Per Servlet - Explore using
>>
>>statistics
>>
>>>>from RequestInfo to provide statistics for a
>>>>servlet.
>>>>
>>>>--
>>>>This message is automatically generated by JIRA.
>>>>-
>>>>If you think it was sent incorrectly contact one
>>
>>of
>>
>>>>the administrators:
>>>>
>>>>
>>>
> http://issues.apache.org/jira/secure/Administrators.jspa
> 
>>>>-
>>>>For more information on JIRA, see:
>>>>   http://www.atlassian.com/software/jira
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>__________________________________________
>>>Yahoo! DSL – Something to write home about.
>>>Just $16.99/mo. or less.
>>>dsl.yahoo.com
>>>
>>>
>>
> 
> 
> 
> 		
> __________________________________________ 
> Yahoo! DSL – Something to write home about. 
> Just $16.99/mo. or less. 
> dsl.yahoo.com 
> 
> 
> 

-- 
Joe Bohn
joe.bohn at earthlink.net

"He is no fool who gives what he cannot keep, to gain what he cannot 
lose."   -- Jim Elliot

Re: [jira] Updated: (GERONIMO-1293) Provide tomcat statistics

Posted by anita kulshreshtha <a_...@yahoo.com>.
Aaron, 
    Thanks, for providing valuable feedback. I do not
search for anything. The console (or any other tool)
will ask for stats for  a specific component. When I
wrote this, I got carried away... I was thinking about
a no-frill tool like JMXProxyServlet see
http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html#Using%20the%20JMX%20Proxy%20Servlet

for Geronimo gurus. I am not sure about its
usefulness. I see there is a new JMX debug console
already in the works. 

Thnaks
Anita

--- Aaron Mulder <am...@alumni.princeton.edu>
wrote:

> You shouldn't be doing anything by ObjectName. 
> Instead, as you said,
> you should get the WebContainer and get the
> connectors from there.  If
> you want to search the whole world for statistics
> providers, start
> with the domain object and just march the tree
> looking for
> J2EEManagedObjects that return true for
> isStatisticsProvider.
> 
> Thanks,
>     Aaron
> 
> On 1/7/06, anita kulshreshtha <a_...@yahoo.com>
> wrote:
> > Jeff,
> >     I would like to be able to search for all
> Tomcat
> > Connectors using listGBeans(...). Do we need to
> have a
> > j2eeType for this? I could always look for the
> > WebContainer and then get all the connectors
> > (objectNames) from there. Eventually an MEJB would
> > like to discover all the statistics providers to
> > capture the performance and monitoring data. Any
> > thoughts?
> >
> >
> > Thanks
> > Anita
> >
> >
>
J2EEApplication=null,J2EEModule=geronimo/tomcat/1.0-SNAPSHOT/car,J2EEServer=geronimo,
> > j2eeType=GBean,name=TomcatWebConnector
> >
> > --- "anita kulshreshtha (JIRA)"
> > <de...@geronimo.apache.org> wrote:
> >
> > >      [
> > >
> >
>
http://issues.apache.org/jira/browse/GERONIMO-1293?page=all
> > > ]
> > >
> > > anita kulshreshtha updated GERONIMO-1293:
> > > -----------------------------------------
> > >
> > >     Attachment: properties.patch
> > >                 geronimo-stats-1.0-SNAPSHOT.war
> > >
> > >  Please use tomcat 5.5.9 to view the stats.
> > > Properties.patch for using tomcat 5.5.9.  Deploy
> the
> > > war and point to
> > > http://localhost:8080/stats
> > >
> > > > Provide tomcat statistics
> > > > -------------------------
> > > >
> > > >          Key: GERONIMO-1293
> > > >          URL:
> > >
> http://issues.apache.org/jira/browse/GERONIMO-1293
> > > >      Project: Geronimo
> > > >         Type: New Feature
> > > >   Components: Tomcat
> > > >     Versions: 1.0-M5
> > > >  Environment: All environments
> > > >     Reporter: anita kulshreshtha
> > > >     Priority: Minor
> > > >      Fix For: 1.1
> > > >  Attachments: TomcatWebAppContext.patch,
> > > geronimo-stats-1.0-SNAPSHOT.war,
> > > geronimo-stats-1.0-SNAPSHOT.war,
> > > geronimo-stats-1.0-SNAPSHOT.war,
> management.patch,
> > > project.patch, properties.patch, stats.zip,
> > > stats.zip, statsApp.zip, tomcat.patch
> > > >
> > > > Provide following statistics for tomcat :
> > > >      1. Per Host/Container -
> > > >              a. Initially provide the
> following
> > > per connector statistics for each connector -
> > > >                                 Cummulative
> > > statistics about all request handled by this
> > > connector since the stat were turned on.
> > > >              b. If time (before 1.0 release)
> > > permits, use 'a'  to generate (rename/compute)
> > > statistics similar to the ones provided by Jetty
> > > >      2. Per application  -
> > > >              a.. processingTime : The
> cumulative
> > > processing times of all servlets in this
> > > StandardContext
> > > >              b.  startTime - The time this
> context
> > > was started.
> > > >             c.  startupTime - The time (in
> > > milliseconds) it took to start this context.
> > > >             d..  tldScanTime() -
> > > >             Later add session statistics and
> jsp
> > > statistics.
> > > >       3.  Per Servlet - Explore using
> statistics
> > > from RequestInfo to provide statistics for a
> > > servlet.
> > > >
> > >
> > > --
> > > This message is automatically generated by JIRA.
> > > -
> > > If you think it was sent incorrectly contact one
> of
> > > the administrators:
> > >
> > >
> >
>
http://issues.apache.org/jira/secure/Administrators.jspa
> > > -
> > > For more information on JIRA, see:
> > >    http://www.atlassian.com/software/jira
> > >
> > >
> >
> >
> >
> >
> > __________________________________________
> > Yahoo! DSL – Something to write home about.
> > Just $16.99/mo. or less.
> > dsl.yahoo.com
> >
> >
> 



		
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 


Re: [jira] Updated: (GERONIMO-1293) Provide tomcat statistics

Posted by Aaron Mulder <am...@alumni.princeton.edu>.
You shouldn't be doing anything by ObjectName.  Instead, as you said,
you should get the WebContainer and get the connectors from there.  If
you want to search the whole world for statistics providers, start
with the domain object and just march the tree looking for
J2EEManagedObjects that return true for isStatisticsProvider.

Thanks,
    Aaron

On 1/7/06, anita kulshreshtha <a_...@yahoo.com> wrote:
> Jeff,
>     I would like to be able to search for all Tomcat
> Connectors using listGBeans(...). Do we need to have a
> j2eeType for this? I could always look for the
> WebContainer and then get all the connectors
> (objectNames) from there. Eventually an MEJB would
> like to discover all the statistics providers to
> capture the performance and monitoring data. Any
> thoughts?
>
>
> Thanks
> Anita
>
> J2EEApplication=null,J2EEModule=geronimo/tomcat/1.0-SNAPSHOT/car,J2EEServer=geronimo,
> j2eeType=GBean,name=TomcatWebConnector
>
> --- "anita kulshreshtha (JIRA)"
> <de...@geronimo.apache.org> wrote:
>
> >      [
> >
> http://issues.apache.org/jira/browse/GERONIMO-1293?page=all
> > ]
> >
> > anita kulshreshtha updated GERONIMO-1293:
> > -----------------------------------------
> >
> >     Attachment: properties.patch
> >                 geronimo-stats-1.0-SNAPSHOT.war
> >
> >  Please use tomcat 5.5.9 to view the stats.
> > Properties.patch for using tomcat 5.5.9.  Deploy the
> > war and point to
> > http://localhost:8080/stats
> >
> > > Provide tomcat statistics
> > > -------------------------
> > >
> > >          Key: GERONIMO-1293
> > >          URL:
> > http://issues.apache.org/jira/browse/GERONIMO-1293
> > >      Project: Geronimo
> > >         Type: New Feature
> > >   Components: Tomcat
> > >     Versions: 1.0-M5
> > >  Environment: All environments
> > >     Reporter: anita kulshreshtha
> > >     Priority: Minor
> > >      Fix For: 1.1
> > >  Attachments: TomcatWebAppContext.patch,
> > geronimo-stats-1.0-SNAPSHOT.war,
> > geronimo-stats-1.0-SNAPSHOT.war,
> > geronimo-stats-1.0-SNAPSHOT.war, management.patch,
> > project.patch, properties.patch, stats.zip,
> > stats.zip, statsApp.zip, tomcat.patch
> > >
> > > Provide following statistics for tomcat :
> > >      1. Per Host/Container -
> > >              a. Initially provide the following
> > per connector statistics for each connector -
> > >                                 Cummulative
> > statistics about all request handled by this
> > connector since the stat were turned on.
> > >              b. If time (before 1.0 release)
> > permits, use 'a'  to generate (rename/compute)
> > statistics similar to the ones provided by Jetty
> > >      2. Per application  -
> > >              a.. processingTime : The cumulative
> > processing times of all servlets in this
> > StandardContext
> > >              b.  startTime - The time this context
> > was started.
> > >             c.  startupTime - The time (in
> > milliseconds) it took to start this context.
> > >             d..  tldScanTime() -
> > >             Later add session statistics and jsp
> > statistics.
> > >       3.  Per Servlet - Explore using statistics
> > from RequestInfo to provide statistics for a
> > servlet.
> > >
> >
> > --
> > This message is automatically generated by JIRA.
> > -
> > If you think it was sent incorrectly contact one of
> > the administrators:
> >
> >
> http://issues.apache.org/jira/secure/Administrators.jspa
> > -
> > For more information on JIRA, see:
> >    http://www.atlassian.com/software/jira
> >
> >
>
>
>
>
> __________________________________________
> Yahoo! DSL – Something to write home about.
> Just $16.99/mo. or less.
> dsl.yahoo.com
>
>

Re: [jira] Updated: (GERONIMO-1293) Provide tomcat statistics

Posted by anita kulshreshtha <a_...@yahoo.com>.
Jeff,
    I would like to be able to search for all Tomcat
Connectors using listGBeans(...). Do we need to have a
j2eeType for this? I could always look for the
WebContainer and then get all the connectors
(objectNames) from there. Eventually an MEJB would
like to discover all the statistics providers to
capture the performance and monitoring data. Any
thoughts?


Thanks
Anita

J2EEApplication=null,J2EEModule=geronimo/tomcat/1.0-SNAPSHOT/car,J2EEServer=geronimo,
j2eeType=GBean,name=TomcatWebConnector 

--- "anita kulshreshtha (JIRA)"
<de...@geronimo.apache.org> wrote:

>      [
>
http://issues.apache.org/jira/browse/GERONIMO-1293?page=all
> ]
> 
> anita kulshreshtha updated GERONIMO-1293:
> -----------------------------------------
> 
>     Attachment: properties.patch
>                 geronimo-stats-1.0-SNAPSHOT.war
> 
>  Please use tomcat 5.5.9 to view the stats. 
> Properties.patch for using tomcat 5.5.9.  Deploy the
> war and point to 
> http://localhost:8080/stats
> 
> > Provide tomcat statistics
> > -------------------------
> >
> >          Key: GERONIMO-1293
> >          URL:
> http://issues.apache.org/jira/browse/GERONIMO-1293
> >      Project: Geronimo
> >         Type: New Feature
> >   Components: Tomcat
> >     Versions: 1.0-M5
> >  Environment: All environments
> >     Reporter: anita kulshreshtha
> >     Priority: Minor
> >      Fix For: 1.1
> >  Attachments: TomcatWebAppContext.patch,
> geronimo-stats-1.0-SNAPSHOT.war,
> geronimo-stats-1.0-SNAPSHOT.war,
> geronimo-stats-1.0-SNAPSHOT.war, management.patch,
> project.patch, properties.patch, stats.zip,
> stats.zip, statsApp.zip, tomcat.patch
> >
> > Provide following statistics for tomcat :
> >      1. Per Host/Container -
> >              a. Initially provide the following
> per connector statistics for each connector - 
> >                                 Cummulative
> statistics about all request handled by this
> connector since the stat were turned on. 
> >              b. If time (before 1.0 release)
> permits, use 'a'  to generate (rename/compute) 
> statistics similar to the ones provided by Jetty
> >      2. Per application  - 
> >              a.. processingTime : The cumulative
> processing times of all servlets in this
> StandardContext
> >              b.  startTime - The time this context
> was started.
> >             c.  startupTime - The time (in
> milliseconds) it took to start this context.
> >             d..  tldScanTime() - 
> >             Later add session statistics and jsp
> statistics.
> >       3.  Per Servlet - Explore using statistics 
> from RequestInfo to provide statistics for a
> servlet.
> >               
> 
> -- 
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of
> the administrators:
>   
>
http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
> 
> 



		
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 


[jira] Updated: (GERONIMO-1293) Provide tomcat statistics

Posted by "anita kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1293?page=all ]

anita kulshreshtha updated GERONIMO-1293:
-----------------------------------------

    Attachment: properties.patch
                geronimo-stats-1.0-SNAPSHOT.war

 Please use tomcat 5.5.9 to view the stats.  Properties.patch for using tomcat 5.5.9.  Deploy the war and point to 
http://localhost:8080/stats

> Provide tomcat statistics
> -------------------------
>
>          Key: GERONIMO-1293
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1293
>      Project: Geronimo
>         Type: New Feature
>   Components: Tomcat
>     Versions: 1.0-M5
>  Environment: All environments
>     Reporter: anita kulshreshtha
>     Priority: Minor
>      Fix For: 1.1
>  Attachments: TomcatWebAppContext.patch, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, management.patch, project.patch, properties.patch, stats.zip, stats.zip, statsApp.zip, tomcat.patch
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1293) Provide tomcat statistics

Posted by "anita kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1293?page=all ]

anita kulshreshtha updated GERONIMO-1293:
-----------------------------------------

    Attachment: tomcat-builder.patch

This  patch is same as G-1035 and is attached here for convenience.

> Provide tomcat statistics
> -------------------------
>
>          Key: GERONIMO-1293
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1293
>      Project: Geronimo
>         Type: New Feature
>   Components: Tomcat
>     Versions: 1.0-M5
>  Environment: All environments
>     Reporter: anita kulshreshtha
>     Priority: Minor
>      Fix For: 1.1
>  Attachments: TomcatWebAppContext.patch, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.1-SNAPSHOT.war, management.patch, management.patch, management.patch, project.patch, properties.patch, properties.patch, stats.zip, stats.zip, stats.zip, statsApp.zip, tomcat-builder.patch, tomcat.patch, tomcat.patch, tomcat.patch, tomcat.patch
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-1293) Provide tomcat statistics

Posted by "anita kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1293?page=comments#action_12360609 ] 

anita kulshreshtha commented on GERONIMO-1293:
----------------------------------------------

and point your browser to http://localhost:8080/stats

> Provide tomcat statistics
> -------------------------
>
>          Key: GERONIMO-1293
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1293
>      Project: Geronimo
>         Type: New Feature
>   Components: Tomcat
>     Versions: 1.0-M5
>  Environment: All environments
>     Reporter: anita kulshreshtha
>     Priority: Minor
>      Fix For: 1.1
>  Attachments: stats.zip
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1293) Provide tomcat statistics

Posted by "anita kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1293?page=all ]

anita kulshreshtha updated GERONIMO-1293:
-----------------------------------------

    Attachment: stats.zip

Added session statistics for a wb app. Updated viewer war is also included. Point the browser to http://localhot:8080/stats. 
Works with tomcat 5.5.9.

> Provide tomcat statistics
> -------------------------
>
>          Key: GERONIMO-1293
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1293
>      Project: Geronimo
>         Type: New Feature
>   Components: Tomcat
>     Versions: 1.0-M5
>  Environment: All environments
>     Reporter: anita kulshreshtha
>     Priority: Minor
>      Fix For: 1.1
>  Attachments: TomcatWebAppContext.patch, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, management.patch, management.patch, project.patch, properties.patch, properties.patch, stats.zip, stats.zip, stats.zip, statsApp.zip, tomcat.patch, tomcat.patch, tomcat.patch
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-1293) Provide tomcat statistics

Posted by "Anita Kulshreshtha (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471185 ] 

Anita Kulshreshtha commented on GERONIMO-1293:
----------------------------------------------

Added support for resetStats() in rev 504777 

> Provide tomcat statistics
> -------------------------
>
>                 Key: GERONIMO-1293
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1293
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Tomcat
>    Affects Versions: 1.0-M5
>         Environment: All environments
>            Reporter: Anita Kulshreshtha
>         Assigned To: Anita Kulshreshtha
>            Priority: Minor
>             Fix For: 2.0
>
>         Attachments: geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.1-SNAPSHOT.war, geronimo-stats-2.0-SNAPSHOT.war, management.patch, management.patch, management.patch, project.patch, properties.patch, properties.patch, stats.zip, stats.zip, stats.zip, statsApp.zip, tomcat-builder.patch, tomcat.patch, tomcat.patch, tomcat.patch, tomcat.patch, TomcatWebAppContext.patch
>
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-1293) Provide tomcat statistics

Posted by "anita kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1293?page=all ]

anita kulshreshtha updated GERONIMO-1293:
-----------------------------------------

    Attachment: TomcatWebAppContext.patch

this patch implements 2.a, 2.b, 2.c, 2.d. 

> Provide tomcat statistics
> -------------------------
>
>          Key: GERONIMO-1293
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1293
>      Project: Geronimo
>         Type: New Feature
>   Components: Tomcat
>     Versions: 1.0-M5
>  Environment: All environments
>     Reporter: anita kulshreshtha
>     Priority: Minor
>      Fix For: 1.1
>  Attachments: TomcatWebAppContext.patch, geronimo-stats-1.0-SNAPSHOT.war, stats.zip, stats.zip
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-1293) Provide tomcat statistics

Posted by "anita kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1293?page=comments#action_12360511 ] 

anita kulshreshtha commented on GERONIMO-1293:
----------------------------------------------

         Provide getters for the above stastistics for HTTP connector. The values will be returned from a local copy.
To get the freshest value, refresh() must be called before calling the getters.

> Provide tomcat statistics
> -------------------------
>
>          Key: GERONIMO-1293
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1293
>      Project: Geronimo
>         Type: New Feature
>   Components: Tomcat
>     Versions: 1.0-M5
>  Environment: All environments
>     Reporter: anita kulshreshtha
>     Priority: Minor
>      Fix For: 1.1

>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1293) Provide tomcat statistics

Posted by "Anita Kulshreshtha (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anita Kulshreshtha updated GERONIMO-1293:
-----------------------------------------

    Attachment: geronimo-stats-2.0-SNAPSHOT.war

A simple war to view the stats is attached

> Provide tomcat statistics
> -------------------------
>
>                 Key: GERONIMO-1293
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1293
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Tomcat
>    Affects Versions: 1.0-M5
>         Environment: All environments
>            Reporter: Anita Kulshreshtha
>         Assigned To: Anita Kulshreshtha
>            Priority: Minor
>             Fix For: 2.0
>
>         Attachments: geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.1-SNAPSHOT.war, geronimo-stats-2.0-SNAPSHOT.war, management.patch, management.patch, management.patch, project.patch, properties.patch, properties.patch, stats.zip, stats.zip, stats.zip, statsApp.zip, tomcat-builder.patch, tomcat.patch, tomcat.patch, tomcat.patch, tomcat.patch, TomcatWebAppContext.patch
>
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-1293) Provide tomcat statistics

Posted by "Anonymous (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1293?page=all ]

 updated GERONIMO-1293:
-----------------------

    Attachment: tomcat.patch
                management.patch
                properties.patch

> Provide tomcat statistics
> -------------------------
>
>          Key: GERONIMO-1293
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1293
>      Project: Geronimo
>         Type: New Feature
>   Components: Tomcat
>     Versions: 1.0-M5
>  Environment: All environments
>     Reporter: anita kulshreshtha
>     Priority: Minor
>      Fix For: 1.1
>  Attachments: TomcatWebAppContext.patch, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, geronimo-stats-1.0-SNAPSHOT.war, management.patch, management.patch, project.patch, properties.patch, properties.patch, stats.zip, stats.zip, statsApp.zip, tomcat.patch, tomcat.patch, tomcat.patch
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-1293) Provide tomcat statistics

Posted by "anita kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1293?page=comments#action_12360139 ] 

anita kulshreshtha commented on GERONIMO-1293:
----------------------------------------------

      Query  tomcat Mbean 
"Catalina:type=GlobalRequestProcessor,........................."   to get the following statistcs for each of its
connectors. Their Jetty equivalents are written next  to each.
1. RequestCount :   _requests : total requests made to the server, I guess to get this
add RequestCount from all the connectors.
2. maxTime :   _requestsDurationMax : max request duration
3. bytesSent - no Jetty equivelent
4. bytesReceived - no Jetty equivalent 
5. processingTime -  _requestsDurationTotalTime : total request duration time
6. errorCount -  _errors : total bad requests to the server 
  Query  "Catalina:type=GlobalRequestProcessor,........................".      to obtain  per request
statistics. These can be used to compute
_requestsActive (number of requests currently being handled) ,e.g., go through each req stat, find the
active ones, and count them up.  
    Expose tomcat's mBeanServer via TomcatContainer, and write TomcatStatsGbean. 
setStatesOn would mean initializing  all the stat attributes of these Mbeans. 

> Provide tomcat statistics
> -------------------------
>
>          Key: GERONIMO-1293
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1293
>      Project: Geronimo
>         Type: New Feature
>   Components: Tomcat
>     Versions: 1.0-M5
>  Environment: All environments
>     Reporter: anita kulshreshtha
>     Priority: Minor
>      Fix For: 1.1

>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1293) Provide tomcat statistics

Posted by "anita kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1293?page=all ]

anita kulshreshtha updated GERONIMO-1293:
-----------------------------------------

    Attachment: stats.zip

     This is an app to view tomcat statistics. I think it will be useful for testing the above code.
    To view deploy the war. Currently it only displays everything! More to come....
     The jsp page borrowed from Hernan's Geronimo For the impatient..... Thanks!

> Provide tomcat statistics
> -------------------------
>
>          Key: GERONIMO-1293
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1293
>      Project: Geronimo
>         Type: New Feature
>   Components: Tomcat
>     Versions: 1.0-M5
>  Environment: All environments
>     Reporter: anita kulshreshtha
>     Priority: Minor
>      Fix For: 1.1
>  Attachments: stats.zip
>
> Provide following statistics for tomcat :
>      1. Per Host/Container -
>              a. Initially provide the following per connector statistics for each connector - 
>                                 Cummulative statistics about all request handled by this connector since the stat were turned on. 
>              b. If time (before 1.0 release) permits, use 'a'  to generate (rename/compute)  statistics similar to the ones provided by Jetty
>      2. Per application  - 
>              a.. processingTime : The cumulative processing times of all servlets in this StandardContext
>              b.  startTime - The time this context was started.
>             c.  startupTime - The time (in milliseconds) it took to start this context.
>             d..  tldScanTime() - 
>             Later add session statistics and jsp statistics.
>       3.  Per Servlet - Explore using statistics  from RequestInfo to provide statistics for a servlet.
>               

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira