3 Replies Latest reply on Nov 16, 2012 2:45 AM by Hardy Ferentschik

    Arquillian/JBoss AS 7.1.1(managed)/Java 7 experiencing freeze just after startup

    John Genoese Newbie

      Greetings.

       

      When running Integration tests with Arq/JBoss7.1.1.FInal/JDK 7, the test freezes right after the JBoss startup message.

      11:17:21,009 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 3058ms - Started 138 of 213 services (74 services are passive or on-demand)

       

      CPU utilization is near 0%, so it's not a case of looping.

       

      This very same test runs fine under JDK 6 !!!

       

      Full  details:

       

      Machine:Mac OS X 10.7.4

      IDE: Eclipse JUNO

      Maven: 3.0.3

      JDK :

      java version "1.7.0_04"

      Java(TM) SE Runtime Environment (build 1.7.0_04-b21)

      Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode

       

      Testing Framework: TestNG

       

      arquillian.xml(relevant parts):

         <container qualifier="jbossas-managed" default="true">

            <!-- If you want to use the JBOSS_HOME environment variable, just delete the jbossHome property -->

               <protocol type="Servlet 3.0">

                  <property name="executionType">MANAGED</property>

              </protocol>

            <configuration>

               <property name="jbossHome">/MDR.Development/jboss711</property>

               <!-- <property name="javaVmArguments">-Dlockbox.config.path=/tmp/lockbox.xml -Xmx1536m -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n</property> -->

               <property name="javaVmArguments">-Dlockbox.config.path=/tmp/lockbox.xml -Xmx1536m</property>

            </configuration>

         </container>

       

       

      Did I miss a configuration instuction someplace? It looks for all the world like Arquillian is in some sort of wait state.

       

      Additional info: running processes

       

      13342 ??     0:27.42 /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/bin/java -Dmaven.home=/usr/local/apache-maven/apache-maven-3.0.3 -Dclassworlds.conf=/MDR.Development/workspace_ext_waipt/.metadata/.plugins/org.eclipse.m2e.core/launches/m2conf5599357830647046970.tmp -Dfile.encoding=MacRoman -classpath /usr/local/apache-maven/apache-maven-3.0.3/boot/plexus-classworlds-2.4.jar org.codehaus.plexus.classworlds.launcher.Launcher -PIntegration -B -X -e -s /MDR.Development/.m2/settings.xml.waimap clean install
      13347 ??     0:00.00 /bin/sh -c cd /MDR.Development/workspace_waimap/waipt-lockbox/waipt-lockbox-war && /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/bin/java org.apache.maven.surefire.booter.ForkedBooter /MDR.Development/workspace_waimap/waipt-lockbox/waipt-lockbox-war/target/surefire/surefire1381175977711353959tmp /MDR.Development/workspace_waimap/waipt-lockbox/waipt-lockbox-war/target/surefire/surefire_05878459873347837300tmp
      13348 ??     0:03.69 /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/bin/java org.apache.maven.surefire.booter.ForkedBooter /MDR.Development/workspace_waimap/waipt-lockbox/waipt-lockbox-war/target/surefire/surefire1381175977711353959tmp /MDR.Development/workspace_waimap/waipt-lockbox/waipt-lockbox-war/target/surefire/surefire_05878459873347837300tmp
      13349 ??     0:07.74 /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/bin/java -Dlockbox.config.path=/tmp/lockbox.xml -Xmx1536m -XX:PermSize=512m -ea -Djboss.home.dir=/MDR.Development/jboss711 -Dorg.jboss.boot.log.file=/MDR.Development/jboss711/standalone/log/boot.log -Dlogging.configuration=file:/MDR.Development/jboss711/standalone/configuration/logging.properties -Djboss.modules.dir=/MDR.Development/jboss-as-7.1.1.Final/modules -Djboss.bundles.dir=/MDR.Development/jboss-as-7.1.1.Final/bundles -jar /MDR.Development/jboss711/jboss-modules.jar -mp /MDR.Development/jboss711/modules -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -server-config standalone.xml

       

      CPU Utilization (4th column):

      13348 javajgenoese0.120126.1 MBIntel (64 bit)
      13342 javajgenoese0.126415.3 MBIntel (64 bit)
      13349 javajgenoese0.246180.6 MBIntel (64 bit)

       

       

      Message was edited by: John Genoese