tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49821] New: Tomcat CLI
Date Wed, 25 Aug 2010 14:04:57 GMT

           Summary: Tomcat CLI
           Product: Tomcat 7
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Manager

Using JMX the CLI enables simple status checks of hosts, apps and connectors;
it also permits an application to be reloaded, deployed and undeployed. The
'find leaks' function is also exposed.

The targeted process is identified either by passing a PID, JMX URI, or a JMX
port. The CLI can also exploit Java 6 management features to connect to a
process localised JMX/RMI connector.

A number of additional strategies are possible, including using the
non-standard* Attach API in the Sun/Oracle JVM to enable a management agent and
initialise a local JMX/RMI connector if one is not active.

This, in effect, means that for a single Tomcat running it would be possible to
guess which process is the correct target process, attach to it, inject an
agent and then connect via JMX, all without having to perform manual JMX

I will attach code shortly.

* So reflection is used, allowing the CLI to degrade gracefully on other JVMs.
In theory, at least.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message