OPENJPA-1117 Missing AgentClass attribute in openjpa-all-xxx.jar manifest.mf. Also included some jvm arguments from OPENJPA-1119 which were required to fix some OOM PermGen space problems with 64bit IBM 6 SDK on Windows.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@786555 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Donald Woods 2009-06-19 15:43:46 +00:00
parent 453a6a96fa
commit 6c1cc88175
3 changed files with 16 additions and 2 deletions

View File

@ -51,6 +51,7 @@
<manifestEntries>
<Main-Class>org.apache.openjpa.conf.OpenJPAVersion</Main-Class>
<Premain-Class>org.apache.openjpa.enhance.PCEnhancerAgent</Premain-Class>
<Agent-Class>org.apache.openjpa.enhance.InstrumentationFactory</Agent-Class>
<Can-Redefine-Classes>true</Can-Redefine-Classes>
<Specification-Title>JSR-317 Java Persistence</Specification-Title>
<Specification-Vendor>Sun Microsystems, Inc.</Specification-Vendor>

View File

@ -115,6 +115,17 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Agent-Class>org.apache.openjpa.enhance.InstrumentationFactory</Agent-Class>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>
<repositories>

View File

@ -35,10 +35,12 @@
</parent>
<properties>
<openjpa.loglevel>INFO</openjpa.loglevel>
<test.jvm.maxpermsize>256m</test.jvm.maxpermsize>
<test.jvm.maxheapsize>512m</test.jvm.maxheapsize>
<!-- to set debug arguments, you might set the following at the command line:
-Dtest.jvm.arguments="-Xmx500m -agentlib:jdwp=transport=dt_socket,server=y,address=8000"
-Dtest.jvm.arguments="-Xmx512m -agentlib:jdwp=transport=dt_socket,server=y,address=8000"
-->
<test.jvm.arguments>-Xmx500m</test.jvm.arguments>
<test.jvm.arguments>-Xmx${test.jvm.maxheapsize} -XX:MaxPermSize=${test.jvm.maxpermsize}</test.jvm.arguments>
<dbcp.maxActive>10</dbcp.maxActive>
<dbcp.maxIdle>5</dbcp.maxIdle>
<dbcp.minIdle>2</dbcp.minIdle>