https://issues.apache.org/bugzilla/show_bug.cgi?id=56242
Bug ID: 56242
Summary: Deploying a Velocity-based web application can thwart
Attach API connections for monitoring
Product: Tomcat 8
Version: trunk
Hardware: PC
OS: Mac OS X 10.4
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
This may not be a Tomcat bug, but I think it best to report it here as it's
more likely the Tomcat team will be able to find the root cause.
The attached web application WAR does nothing other than define a <servlet>
that comes out of the box with Velocity and Velocity Tools. The mere presence
of this servlet appears to cause the JVM to reject certain Attach API
connections -- such as those from jconsole, VisualVM, and other profiling
tools.
VisualVM will connect after an error ("attach: task_for_pid(23490) failed (5)"
in the console, longer stack trace available which basically says "couldn't
connect") but the JMX tab will be unavailable.
Any help with discovering the root cause of this issue would be greatly
appreciated.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]