You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by an...@apache.org on 2014/10/23 12:26:43 UTC
svn commit: r1633789 - /tomee/site/trunk/content/javaagent.mdtext
Author: andygumbrecht
Date: Thu Oct 23 10:26:43 2014
New Revision: 1633789
URL: http://svn.apache.org/r1633789
Log:
CMS commit to tomee by andygumbrecht
Modified:
tomee/site/trunk/content/javaagent.mdtext
Modified: tomee/site/trunk/content/javaagent.mdtext
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/javaagent.mdtext?rev=1633789&r1=1633788&r2=1633789&view=diff
==============================================================================
--- tomee/site/trunk/content/javaagent.mdtext (original)
+++ tomee/site/trunk/content/javaagent.mdtext Thu Oct 23 10:26:43 2014
@@ -1,15 +1,15 @@
Title: JavaAgent
+
<a name="JavaAgent-AddingaJavaAgent"></a>
# Adding a JavaAgent
+NOTE: The java agent is only required if using OpenJPA as your persistence
+provider or if using CMP.
+
Adding a java agent is done via a vm parameter as follows:
java -javaagent:openejb-javaagent-4.6.0.jar _\[other params...](other-params....html)
-{note:title=Need the JavaAgent?}
-The java agent is only required if using OpenJPA as your persistence
-provider or if using CMP.
-{note}
<a name="JavaAgent-Maven2"></a>
## Maven2
@@ -28,7 +28,6 @@ your pom.xml file:
<workingDirectory>${project.basedir}/target</workingDirectory>
</configuration>
</plugin>
-
<!-- this tells maven to copy the openejb-javaagent jar into your target/ directory -->
<!-- where surefire can see it -->
<plugin>
@@ -54,6 +53,5 @@ your pom.xml file:
</execution>
</executions>
</plugin>
-
</plugins>
</build>