The javaagent to use is org.apache.openejb:openejb-javaagent Le 20 juil. 2013 15:49, "Caroline Van den Hauwe" < [email protected]> a écrit :
> Hi all, > > > In my TomEE Maven project I need to use Instrumentation normally set by > "-javaagent:/path/to/SizeOf.jar". TomEE documentation has an example on > JavaAgent and Maven at > http://tomee.apache.org/javaagent-with-maven-surefire.html but the > content is garbled. I put this SizeOf.jar in my local Maven repository and > can add it to my dependencies and use it just fine. Only, it throws > Exceptions because Instrumentation is not set, an indication I can't manage > to set the JavaAgent. > > Can anyone help me set it up? > > Thanks, > > Caroline > >
