On Jul 21, 2010, at 12:52 AM, Henri Gomez wrote: >> Haven't seen this before but looks like it's related to the javaagent and >> dynamically attaching. Maybe try running the setup to put the agent on the >> command line. > > Note, I'm using openejb 3.1 as a webapp in Tomcat 6.0.28
Yep. The setup should copy the agent jar into the Tomcat lib dir and then mod the catalina.sh so that there's a '-javaagent:' flag passed to the vm on Tomcat startup. That will ensure the agent is there on boot and should prevent the agent from needing to attach dynamically -- which is supposed to work in java 6, but clearly having troubles. Definitely let us know how it goes. -David
