You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@tomee.apache.org by bu...@apache.org on 2013/11/26 08:06:11 UTC
svn commit: r888112 - in /websites/staging/tomee/trunk: cgi-bin/ content/
content/javaagent.html
Author: buildbot
Date: Tue Nov 26 07:06:11 2013
New Revision: 888112
Log:
Staging update by buildbot for tomee
Modified:
websites/staging/tomee/trunk/cgi-bin/ (props changed)
websites/staging/tomee/trunk/content/ (props changed)
websites/staging/tomee/trunk/content/javaagent.html
Propchange: websites/staging/tomee/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Nov 26 07:06:11 2013
@@ -1 +1 @@
-1544328
+1545555
Propchange: websites/staging/tomee/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Nov 26 07:06:11 2013
@@ -1 +1 @@
-1544328
+1545555
Modified: websites/staging/tomee/trunk/content/javaagent.html
==============================================================================
--- websites/staging/tomee/trunk/content/javaagent.html (original)
+++ websites/staging/tomee/trunk/content/javaagent.html Tue Nov 26 07:06:11 2013
@@ -130,11 +130,12 @@
<h1>Adding a JavaAgent</h1>
-<p>Adding a java agent is done via a vm parameter as follows:
-<div class="panel">}
-java -javaagent:openejb-javaagent-3.0-beta-2.jar _[other params...](other-params....html)
-_<div class="panel">}
-<div class="note">:title=Need the JavaAgent?}
+<p>Adding a java agent is done via a vm parameter as follows:</p>
+
+<pre><code>java -javaagent:openejb-javaagent-4.6.0.jar _\[other params...](other-params....html)
+</code></pre>
+
+<p><div class="note">:title=Need the JavaAgent?}
The java agent is only required if using OpenJPA as your persistence
provider or if using CMP.<div class="note">}
<a name="JavaAgent-Maven2"></a></p>
@@ -152,8 +153,8 @@ your pom.xml file:</p>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
- <argLine>-javaagent:${basedir}/target/openejb-javaagent-3.0-beta-2.jar</argLine>
- <workingDirectory>${basedir}/target</workingDirectory>
+ <argLine>-javaagent:${project.basedir}/target/openejb-javaagent-4.6.0.jar</argLine>
+ <workingDirectory>${project.basedir}/target</workingDirectory>
</configuration>
</plugin>
@@ -174,7 +175,7 @@ your pom.xml file:</p>
<artifactItem>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-javaagent</artifactId>
- <version>3.0-beta-2</version>
+ <version>4.6.0</version>
<outputDirectory>${project.build.directory}</outputDirectory>
</artifactItem>
</artifactItems>