Skip to content
Browse files

Updated JBoss AS Embedded Maven configuration for JBoss AS 6.0 M4

  • Loading branch information...
1 parent 332b7b2 commit 2ddc5edb11e4a39faedcfad19d6bc4c610314cc7 @aslakknutsen aslakknutsen committed Aug 18, 2010
Showing with 9 additions and 30 deletions.
  1. +3 −2 ch08-statusupdate/pom.xml
  2. +3 −14 ch09-14-employeeregistry/pom.xml
  3. +3 −14 ch17-transactions/pom.xml
View
5 ch08-statusupdate/pom.xml
@@ -102,15 +102,16 @@
<configuration>
<additionalClasspathElements>
<additionalClasspathElement>${JBOSS_HOME}/client/jbossws-native-client.jar</additionalClasspathElement>
+ <additionalClasspathElement>${JBOSS_HOME}/server/default/deploy/jbossweb.sar</additionalClasspathElement>
</additionalClasspathElements>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<trimStackTrace>false</trimStackTrace>
<printSummary>true</printSummary>
<includes>
<include>**/*IntegrationTest.java</include>
</includes>
- <forkMode>always</forkMode>
- <argLine>-disableassertions -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Djava.endorsed.dirs=${JBOSS_HOME}/lib/endorsed -Djboss.home=${JBOSS_HOME} -Djboss.boot.server.log.dir=${JBOSS_HOME}</argLine>
+ <forkMode>once</forkMode>
+ <argLine>-Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Djava.endorsed.dirs=${JBOSS_HOME}/lib/endorsed -Djboss.home=${JBOSS_HOME} -Djboss.boot.server.log.dir=${JBOSS_HOME} -Dorg.jboss.reflect.spi.TypeInfoFactory=org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactory</argLine>
</configuration>
</execution>
</executions>
View
17 ch09-14-employeeregistry/pom.xml
@@ -160,27 +160,16 @@
<configuration>
<additionalClasspathElements>
<additionalClasspathElement>${JBOSS_HOME}/client/jbossws-native-client.jar</additionalClasspathElement>
+ <additionalClasspathElement>${JBOSS_HOME}/server/default/deploy/jbossweb.sar</additionalClasspathElement>
</additionalClasspathElements>
-
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<trimStackTrace>false</trimStackTrace>
<printSummary>true</printSummary>
<includes>
<include>**/*IntegrationTest.java</include>
</includes>
- <forkMode>always</forkMode>
- <!--
- MaxPermSize Required to bump the space for relective
- data like classes, methods, etc. EMB-41, EMB-74. Endorsed
- required for things like WS support (EMB-61)
-
- Disable assertions because something is not playing nicely in Hibernate:
- (19:58:01,172 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController]
- Error installing to Start: name=persistence.unit:unitName=#tempdb state=Create: java.lang.AssertionError
- at org.hibernate.cfg.InheritanceState.getElementsToProcess(
- InheritanceState.java:222) [hibernate-annotations-3.5.0-CR-1.jar:3.5.0-CR-1])
- -->
- <argLine>-disableassertions -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Djava.endorsed.dirs=${JBOSS_HOME}/lib/endorsed -Djboss.home=${JBOSS_HOME} -Djboss.boot.server.log.dir=${JBOSS_HOME}</argLine>
+ <forkMode>once</forkMode>
+ <argLine>-Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Djava.endorsed.dirs=${JBOSS_HOME}/lib/endorsed -Djboss.home=${JBOSS_HOME} -Djboss.boot.server.log.dir=${JBOSS_HOME} -Dorg.jboss.reflect.spi.TypeInfoFactory=org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactory</argLine>
</configuration>
</execution>
</executions>
View
17 ch17-transactions/pom.xml
@@ -158,27 +158,16 @@
<configuration>
<additionalClasspathElements>
<additionalClasspathElement>${JBOSS_HOME}/client/jbossws-native-client.jar</additionalClasspathElement>
+ <additionalClasspathElement>${JBOSS_HOME}/server/default/deploy/jbossweb.sar</additionalClasspathElement>
</additionalClasspathElements>
-
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<trimStackTrace>false</trimStackTrace>
<printSummary>true</printSummary>
<includes>
<include>**/*IntegrationTest.java</include>
</includes>
- <forkMode>always</forkMode>
- <!--
- MaxPermSize Required to bump the space for relective
- data like classes, methods, etc. EMB-41, EMB-74. Endorsed
- required for things like WS support (EMB-61)
-
- Disable assertions because something is not playing nicely in Hibernate:
- (19:58:01,172 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController]
- Error installing to Start: name=persistence.unit:unitName=#tempdb state=Create: java.lang.AssertionError
- at org.hibernate.cfg.InheritanceState.getElementsToProcess(
- InheritanceState.java:222) [hibernate-annotations-3.5.0-CR-1.jar:3.5.0-CR-1])
- -->
- <argLine>-disableassertions -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Djava.endorsed.dirs=${JBOSS_HOME}/lib/endorsed -Djboss.home=${JBOSS_HOME} -Djboss.boot.server.log.dir=${JBOSS_HOME}</argLine>
+ <forkMode>once</forkMode>
+ <argLine>-Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Djava.endorsed.dirs=${JBOSS_HOME}/lib/endorsed -Djboss.home=${JBOSS_HOME} -Djboss.boot.server.log.dir=${JBOSS_HOME} -Dorg.jboss.reflect.spi.TypeInfoFactory=org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactory</argLine>
</configuration>
</execution>
</executions>

0 comments on commit 2ddc5ed

Please sign in to comment.
Something went wrong with that request. Please try again.