8 Replies Latest reply on Dec 13, 2007 12:27 AM by neilac333

    SeamTest Unit Tests Working...But Not Integration Tests

      Since I have my SeamTest unit tests running smoothly, I assumed I had my testing configuration correct. However, when I run the most basic integration test just to see what happens, I get an exception.

      Here first is my classpath in Ant:

      <path id="seam.test.class.path.libs">
       <fileset dir="${seam-hibernate.lib.dir}"
       includes="*embedded*.jar,*-all.jar,jboss-deployers.jar"/>
       <pathelement path="${seam-hibernate.lib.dir}/bootstrap"/>
       <fileset dir="${sun-jsf.lib.dir}"/>
       <fileset dir="${commons.lib.dir}"/>
       <fileset dir="${seam-hibernate.lib.dir}" includes="jboss-seam.jar"/>
      </path>
      


      Hopefully, the property names are self-explanatory.

      Here now is my test:

      public void testSearchActionComponent() throws Exception {
       logger.debug("Starting method testSearchActionComponent");
      
       new ComponentTest() {
       protected void testComponents() throws Exception {
       getValue("#{identity.loggedIn}");
       }
      
       }.run();
       }
      
      


      As you can see, this test won't win any awards for code coverage. I am simply trying to verify everything is configured as it should be.

      Here now is the exception I am finding:

      java.lang.NullPointerException
       at org.jboss.seam.servlet.ServletApplicationMap.get(ServletApplicationMap.java:54)
       at org.jboss.seam.contexts.BasicContext.get(BasicContext.java:48)
       at org.jboss.seam.Component.getInstance(Component.java:1843)
       at org.jboss.seam.Component.getInstance(Component.java:1821)
       at org.jboss.seam.Component.getInstance(Component.java:1816)
       at org.jboss.seam.core.Expressions.instance(Expressions.java:253)
       at org.jboss.seam.mock.BaseSeamTest$ComponentTest.getValue(BaseSeamTest.java:152)
       at model.test.SearchActionAdvancedTest$1.testComponents(SearchActionAdvancedTest.java:39)
       at org.jboss.seam.mock.BaseSeamTest$ComponentTest.run(BaseSeamTest.java:170)
       at model.test.SearchActionAdvancedTest.testSearchActionComponent(SearchActionAdvancedTest.java:36)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)
       at org.testng.internal.Invoker.invokeMethod(Invoker.java:470)
       at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:564)
       at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:830)
       at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
       at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
       at org.testng.TestRunner.runWorkers(TestRunner.java:678)
       at org.testng.TestRunner.privateRun(TestRunner.java:624)
       at org.testng.TestRunner.run(TestRunner.java:495)
       at org.testng.SuiteRunner.runTest(SuiteRunner.java:300)
       at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295)
       at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275)
       at org.testng.SuiteRunner.run(SuiteRunner.java:190)
       at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792)
       at org.testng.TestNG.runSuitesLocally(TestNG.java:765)
       at org.testng.TestNG.run(TestNG.java:699)
       at org.testng.TestNG.privateMain(TestNG.java:824)
       at org.testng.TestNG.main(TestNG.java:802)
      


      I have looked at the samples, and I have even looked at what SeamGen gives me. I don't see anything different than what I have.

      So then I tried adding a couple of SeamTest method calls to my test just for kicks:

      public void testSearchActionComponent() throws Exception {
       logger.debug("Starting method testSearchActionComponent");
       init();
       begin();
      
       new ComponentTest() {
       protected void testComponents() throws Exception {
       getValue("#{identity.loggedIn}");
       }
      
       }.run();
       }
      
      


      As you can see, the only difference is adding two methods in SeamTest that I imagine help get everything going.

      Here is the result of that:

      DEBUG [model.test.SearchActionAdvancedTest] Starting method testSearchActionComponent
      DEBUG [org.jboss.kernel.KernelFactory] Starting JBoss Kernel construction...
      DEBUG [org.jboss.kernel.KernelFactory] Completed JBoss Kernel construction. Duration: 63 milliseconds
      DEBUG [jboss.kernel.plugins.deployment.xml.BeanXMLDeployer] Parsing file:/C:/project/libs/seam-hibernate/bootstrap/conf/bootstrap-beans.xml took 407 milliseconds
      WARN [org.jboss.mx.loading.UnifiedLoaderRepository3] Tried to add non-URLClassLoader. Ignored
      ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start: name=JMXKernel state=Create
      java.lang.NoSuchMethodError: org.jboss.system.ServiceController.setKernel(Lorg/jboss/kernel/Kernel;)V
       at org.jboss.embedded.adapters.JMXKernel.start(JMXKernel.java:160)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55)
       at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:107)
       at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
       at org.jboss.kernel.plugins.dependency.KernelControllerContextActions.dispatchJoinPoint(KernelControllerContextActions.java:100)
       at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$LifecycleAction.installAction(KernelControllerContextActions.java:582)
       at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$KernelControllerContextAction.install(KernelControllerContextActions.java:175)
       at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:593)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:346)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:438)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:379)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:225)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:151)
       at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:291)
       at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:261)
       at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:117)
       at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:95)
       at org.jboss.embedded.Bootstrap.deployBaseBootstrapUrl(Bootstrap.java:150)
       at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:162)
       at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
       at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
       at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:11)
       at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1006)
       at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:931)
       at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
       at model.test.SearchActionAdvancedTest.testSearchActionComponent(SearchActionAdvancedTest.java:34)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)
       at org.testng.internal.Invoker.invokeMethod(Invoker.java:470)
       at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:564)
       at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:830)
       at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
       at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
       at org.testng.TestRunner.runWorkers(TestRunner.java:678)
       at org.testng.TestRunner.privateRun(TestRunner.java:624)
       at org.testng.TestRunner.run(TestRunner.java:495)
       at org.testng.SuiteRunner.runTest(SuiteRunner.java:300)
       at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295)
       at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275)
       at org.testng.SuiteRunner.run(SuiteRunner.java:190)
       at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792)
       at org.testng.TestNG.runSuitesLocally(TestNG.java:765)
       at org.testng.TestNG.run(TestNG.java:699)
       at org.testng.TestNG.privateMain(TestNG.java:824)
       at org.testng.TestNG.main(TestNG.java:802)
      DEBUG [org.jboss.embedded.adapters.LocalOnlyUserTransaction] new UserTx: org.jboss.embedded.adapters.LocalOnlyUserTransaction@2515
      DEBUG [jboss.kernel.plugins.deployment.xml.BeanXMLDeployer] Deploying file:/C:/project/libs/seam-hibernate/bootstrap/conf/bootstrap-beans.xml took 736 milliseconds
      


      I have no idea what to make of any of that.

      If anyone has some insight into what my issue is, please let me know ASAP since I really need to get this testing going. Let me know if I need to provide additional information.

      Thanks.

        • 1. Re: SeamTest Unit Tests Working...But Not Integration Tests
          pmuir

          Post the actual classpath your tests are using.

          • 2. Re: SeamTest Unit Tests Working...But Not Integration Tests

            Ask and you shall receive. Here is the classpath:

            Executing 'C:\Program Files\Java\jdk1.5.0_12\jre\bin\java.exe' with arguments:
            '-ea'
            '-classpath'
            'C:\project\libs\testing\testng\testng-5.6-jdk15.jar;C:\project\persistence\dist\project-persistence.jar;C:\project\libs\seam-hibernate\groovy-all.jar;C:\project\libs\seam-hibernate\jboss-deployers.jar;C:\project\libs\seam-hibernate\jboss-ejb3-all.jar;C:\project\libs\seam-hibernate\jboss-embedded-all.jar;C:\project\libs\seam-hibernate\jboss-embedded-api.jar;C:\project\libs\seam-hibernate\jcaptcha-all.jar;C:\project\libs\seam-hibernate\thirdparty-all.jar;C:\project\libs\seam-hibernate\bootstrap;C:\project\libs\sun-jsf\el-api.jar;C:\project\libs\sun-jsf\el-ri.jar;C:\project\libs\sun-jsf\jsf-api.jar;C:\project\libs\sun-jsf\jsf-impl.jar;C:\project\libs\sun-jsf\jstl.jar;C:\project\libs\sun-jsf\servlet-api.jar;C:\project\libs\commons\commons-beanutils.jar;C:\project\libs\commons\commons-collections.jar;C:\project\libs\commons\commons-digester.jar;C:\project\libs\commons\commons-discovery.jar;C:\project\libs\commons\commons-el.jar;C:\project\libs\commons\commons-fileupload.jar;C:\project\libs\commons\commons-lang.jar;C:\project\libs\commons\commons-logging-api.jar;C:\project\libs\commons\commons-logging.jar;C:\project\libs\seam-hibernate\jboss-seam.jar;C:\project\libs\testing\jmock\cglib-2.1_3-src.jar;C:\project\libs\testing\jmock\cglib-nodep-2.1_3.jar;C:\project\libs\testing\jmock\hamcrest-core-1.1.jar;C:\project\libs\testing\jmock\hamcrest-library-1.1.jar;C:\project\libs\testing\jmock\jmock-2.4.0.jar;C:\project\libs\testing\jmock\jmock-junit4-2.4.0.jar;C:\project\libs\testing\jmock\jmock-legacy-2.4.0.jar;C:\project\libs\testing\jmock\objenesis-1.0.jar;C:\project\model\dist\project-model-test.jar'
            'org.testng.TestNG'
            


            Now I should point out something. I found that seamgen places a file called hibernate-all.jar in the classpath to get the tests to work. As you can see above, I removed hibernate-all.jar from my classpath. I did so because there was a collision that caused my Hibernate Search tests to fail. (I can go into more details on that if necessary.). Of course, it is a only minor inconvenience to place hibernate-all.jar in the classpath for all non-Hibernate Search tests.

            So when I add hibernate-all.jar to my classpath as you see here:


            Executing 'C:\Program Files\Java\jdk1.5.0_12\jre\bin\java.exe' with arguments:
            '-ea'
            '-classpath'
            'C:\project\libs\testing\testng\testng-5.6-jdk15.jar;C:\project\persistence\dist\project-persistence.jar;C:\project\libs\seam-hibernate\groovy-all.jar;C:\project\libs\seam-hibernate\hibernate-all.jar;C:\project\libs\seam-hibernate\jboss-deployers.jar;C:\project\libs\seam-hibernate\jboss-ejb3-all.jar;C:\project\libs\seam-hibernate\jboss-embedded-all.jar;C:\project\libs\seam-hibernate\jboss-embedded-api.jar;C:\project\libs\seam-hibernate\jcaptcha-all.jar;C:\project\libs\seam-hibernate\thirdparty-all.jar;C:\project\libs\seam-hibernate\bootstrap;C:\project\libs\sun-jsf\el-api.jar;C:\project\libs\sun-jsf\el-ri.jar;C:\project\libs\sun-jsf\jsf-api.jar;C:\project\libs\sun-jsf\jsf-impl.jar;C:\project\libs\sun-jsf\jstl.jar;C:\project\libs\sun-jsf\servlet-api.jar;C:\project\libs\commons\commons-beanutils.jar;C:\project\libs\commons\commons-collections.jar;C:\project\libs\commons\commons-digester.jar;C:\project\libs\commons\commons-discovery.jar;C:\project\libs\commons\commons-el.jar;C:\project\libs\commons\commons-fileupload.jar;C:\project\libs\commons\commons-lang.jar;C:\project\libs\commons\commons-logging-api.jar;C:\project\libs\commons\commons-logging.jar;C:\project\libs\seam-hibernate\jboss-seam.jar;C:\project\libs\testing\jmock\cglib-2.1_3-src.jar;C:\project\libs\testing\jmock\cglib-nodep-2.1_3.jar;C:\project\libs\testing\jmock\hamcrest-core-1.1.jar;C:\project\libs\testing\jmock\hamcrest-library-1.1.jar;C:\project\libs\testing\jmock\jmock-2.4.0.jar;C:\project\libs\testing\jmock\jmock-junit4-2.4.0.jar;C:\project\libs\testing\jmock\jmock-legacy-2.4.0.jar;C:\project\libs\testing\jmock\objenesis-1.0.jar;C:\project\model\dist\project-model-test.jar'
            'org.testng.TestNG'
            


            I still get the same exception:

            java.lang.NullPointerException
             at org.jboss.seam.servlet.ServletApplicationMap.get(ServletApplicationMap.java:54)
             at org.jboss.seam.contexts.BasicContext.get(BasicContext.java:48)
             at org.jboss.seam.Component.getInstance(Component.java:1843)
             at org.jboss.seam.Component.getInstance(Component.java:1821)
             at org.jboss.seam.Component.getInstance(Component.java:1816)
             at org.jboss.seam.core.Expressions.instance(Expressions.java:253)
             at org.jboss.seam.mock.BaseSeamTest$ComponentTest.getValue(BaseSeamTest.java:152)
             at model.test.SearchActionAdvancedTest$1.testComponents(SearchActionAdvancedTest.java:39)
             at org.jboss.seam.mock.BaseSeamTest$ComponentTest.run(BaseSeamTest.java:170)
             at model.test.SearchActionAdvancedTest.testSearchActionComponent(SearchActionAdvancedTest.java:36)
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:585)
             at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)
             at org.testng.internal.Invoker.invokeMethod(Invoker.java:470)
             at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:564)
             at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:830)
             at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
             at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
             at org.testng.TestRunner.runWorkers(TestRunner.java:678)
             at org.testng.TestRunner.privateRun(TestRunner.java:624)
             at org.testng.TestRunner.run(TestRunner.java:495)
             at org.testng.SuiteRunner.runTest(SuiteRunner.java:300)
             at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295)
             at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275)
             at org.testng.SuiteRunner.run(SuiteRunner.java:190)
             at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792)
             at org.testng.TestNG.runSuitesLocally(TestNG.java:765)
             at org.testng.TestNG.run(TestNG.java:699)
             at org.testng.TestNG.privateMain(TestNG.java:824)
             at org.testng.TestNG.main(TestNG.java:802)
            


            So I suppose the presence or absence of hibernate-all.jar is not an issue.

            Thanks for taking a look, Pete. Any insight you or anyone else can provide is much appreciated.

            Thanks.

            • 3. Re: SeamTest Unit Tests Working...But Not Integration Tests

              I rewrote my Ant script slightly to add all the libraries in the Seam 2.0 distribution to my classpath. Here is the revised Ant script:

              <path id="seam.test.class.path.libs">
               <fileset dir="${seam-hibernate.lib.dir}"
               includes="*embedded*.jar,*-all.jar,jboss-deployers.jar"/>
               <pathelement path="${seam-hibernate.lib.dir}/bootstrap"/>
               <fileset dir="${sun-jsf.lib.dir}"/>
               <fileset dir="${commons.lib.dir}"/>
               <fileset dir="${seam-hibernate.lib.dir}" excludes="*embedded*.jar,*-all.jar,jboss-deployers.jar"/>
              </path>
              



              Here also is the new classpath:

              Executing 'C:\Program Files\Java\jdk1.5.0_12\jre\bin\java.exe' with arguments:
              '-ea'
              '-classpath'
              'C:\project\libs\testing\testng\testng-5.6-jdk15.jar;C:\project\persistence\dist\project-persistence.jar;C:\project\libs\seam-hibernate\groovy-all.jar;C:\project\libs\seam-hibernate\hibernate-all.jar;C:\project\libs\seam-hibernate\jboss-deployers.jar;C:\project\libs\seam-hibernate\jboss-ejb3-all.jar;C:\project\libs\seam-hibernate\jboss-embedded-all.jar;C:\project\libs\seam-hibernate\jboss-embedded-api.jar;C:\project\libs\seam-hibernate\jcaptcha-all.jar;C:\project\libs\seam-hibernate\thirdparty-all.jar;C:\project\libs\seam-hibernate\bootstrap;C:\project\libs\sun-jsf\el-api.jar;C:\project\libs\sun-jsf\el-ri.jar;C:\project\libs\sun-jsf\jsf-api.jar;C:\project\libs\sun-jsf\jsf-impl.jar;C:\project\libs\sun-jsf\jstl.jar;C:\project\libs\sun-jsf\servlet-api.jar;C:\project\libs\commons\commons-beanutils.jar;C:\project\libs\commons\commons-collections.jar;C:\project\libs\commons\commons-digester.jar;C:\project\libs\commons\commons-discovery.jar;C:\project\libs\commons\commons-el.jar;C:\project\libs\commons\commons-fileupload.jar;C:\project\libs\commons\commons-lang.jar;C:\project\libs\commons\commons-logging-api.jar;C:\project\libs\commons\commons-logging.jar;C:\project\libs\seam-hibernate\activation.jar;C:\project\libs\seam-hibernate\ant-antlr.jar;C:\project\libs\seam-hibernate\antlr-runtime.jar;C:\project\libs\seam-hibernate\antlr.jar;C:\project\libs\seam-hibernate\asm-attrs.jar;C:\project\libs\seam-hibernate\asm.jar;C:\project\libs\seam-hibernate\bootstrap\conf\bootstrap-beans.xml;C:\project\libs\seam-hibernate\bootstrap\conf\jboss-service.xml;C:\project\libs\seam-hibernate\bootstrap\conf\jbossjta-properties.xml;C:\project\libs\seam-hibernate\bootstrap\conf\login-config.xml;C:\project\libs\seam-hibernate\bootstrap\conf\props\messaging-roles.properties;C:\project\libs\seam-hibernate\bootstrap\conf\props\messaging-users.properties;C:\project\libs\seam-hibernate\bootstrap\data\hypersonic\dvd.log;C:\project\libs\seam-hibernate\bootstrap\data\hypersonic\dvd.properties;C:\project\libs\seam-hibernate\bootstrap\data\hypersonic\localDB.lck;C:\project\libs\seam-hibernate\bootstrap\data\hypersonic\localDB.log;C:\project\libs\seam-hibernate\bootstrap\data\hypersonic\localDB.properties;C:\project\libs\seam-hibernate\bootstrap\data\hypersonic\localDB.script;C:\project\libs\seam-hibernate\bootstrap\data\jboss.identity;C:\project\libs\seam-hibernate\bootstrap\deploy\ejb3-interceptors-aop.xml;C:\project\libs\seam-hibernate\bootstrap\deploy\hsqldb-ds.xml;C:\project\libs\seam-hibernate\bootstrap\deploy\jboss-local-jdbc.rar;C:\project\libs\seam-hibernate\bootstrap\deploy\jboss-xa-jdbc.rar;C:\project\libs\seam-hibernate\bootstrap\deploy\jms-ra.rar;C:\project\libs\seam-hibernate\bootstrap\deploy\messaging\connection-factories-service.xml;C:\project\libs\seam-hibernate\bootstrap\deploy\messaging\destinations-service.xml;C:\project\libs\seam-hibernate\bootstrap\deploy\messaging\hsqldb-persistence-service.xml;C:\project\libs\seam-hibernate\bootstrap\deploy\messaging\jms-ds.xml;C:\project\libs\seam-hibernate\bootstrap\deploy\messaging\legacy-service.xml;C:\project\libs\seam-hibernate\bootstrap\deploy\messaging\messaging-service.xml;C:\project\libs\seam-hibernate\bootstrap\deploy\messaging\remoting-service.xml;C:\project\libs\seam-hibernate\bootstrap\deploy\remoting-service.xml;C:\project\libs\seam-hibernate\bootstrap\deployers\aspect-deployer-beans.xml;C:\project\libs\seam-hibernate\bootstrap\deployers\ejb3-deployers-beans.xml;C:\project\libs\seam-hibernate\bootstrap\deployers\jca-deployers-beans.xml;C:\project\libs\seam-hibernate\bootstrap\jndi.properties;C:\project\libs\seam-hibernate\bootstrap\log4j.xml;C:\project\libs\seam-hibernate\bootstrap\readme.txt;C:\project\libs\seam-hibernate\cglib-nodep.jar;C:\project\libs\seam-hibernate\cglib.jar;C:\project\libs\seam-hibernate\core.jar;C:\project\libs\seam-hibernate\dom4j.jar;C:\project\libs\seam-hibernate\ejb-api.jar;C:\project\libs\seam-hibernate\ejb3-persistence.jar;C:\project\libs\seam-hibernate\gwt-servlet.jar;C:\project\libs\seam-hibernate\hibernate-annotations.jar;C:\project\libs\seam-hibernate\hibernate-commons-annotations.jar;C:\project\libs\seam-hibernate\hibernate-entitymanager.jar;C:\project\libs\seam-hibernate\hibernate-search.jar;C:\project\libs\seam-hibernate\hibernate-validator.jar;C:\project\libs\seam-hibernate\hibernate.jar;C:\project\libs\seam-hibernate\itext.jar;C:\project\libs\seam-hibernate\janino.jar;C:\project\libs\seam-hibernate\javassist.jar;C:\project\libs\seam-hibernate\jaxb-api.jar;C:\project\libs\seam-hibernate\jaxws-api.jar;C:\project\libs\seam-hibernate\jboss-aop.jar;C:\project\libs\seam-hibernate\jboss-archive-browsing.jar;C:\project\libs\seam-hibernate\jboss-cache.jar;C:\project\libs\seam-hibernate\jboss-common-core.jar;C:\project\libs\seam-hibernate\jboss-container.jar;C:\project\libs\seam-hibernate\jboss-dependency.jar;C:\project\libs\seam-hibernate\jboss-el.jar;C:\project\libs\seam-hibernate\jboss-jmx.jar;C:\project\libs\seam-hibernate\jboss-kernel.jar;C:\project\libs\seam-hibernate\jboss-logging-spi.jar;C:\project\libs\seam-hibernate\jboss-seam-debug.jar;C:\project\libs\seam-hibernate\jboss-seam-gen.jar;C:\project\libs\seam-hibernate\jboss-seam-ioc.jar;C:\project\libs\seam-hibernate\jboss-seam-mail.jar;C:\project\libs\seam-hibernate\jboss-seam-pdf.jar;C:\project\libs\seam-hibernate\jboss-seam-remoting.jar;C:\project\libs\seam-hibernate\jboss-seam-ui.jar;C:\project\libs\seam-hibernate\jboss-seam.jar;C:\project\libs\seam-hibernate\jboss-system.jar;C:\project\libs\seam-hibernate\jbossxb.jar;C:\project\libs\seam-hibernate\jbpm-jpdl.jar;C:\project\libs\seam-hibernate\jcommon.jar;C:\project\libs\seam-hibernate\jfreechart.jar;C:\project\libs\seam-hibernate\jgroups.jar;C:\project\libs\seam-hibernate\jms.jar;C:\project\libs\seam-hibernate\jta.jar;C:\project\libs\seam-hibernate\log4j.jar;C:\project\libs\seam-hibernate\lucene-core.jar;C:\project\libs\seam-hibernate\mail-ra.jar;C:\project\libs\seam-hibernate\mail.jar;C:\project\libs\seam-hibernate\meldware-mailapi.jar;C:\project\libs\seam-hibernate\meldware-mailjmx.jar;C:\project\libs\seam-hibernate\mvel14.jar;C:\project\libs\seam-hibernate\persistence-api.jar;C:\project\libs\seam-hibernate\portlet-api.jar;C:\project\libs\seam-hibernate\quartz.jar;C:\project\libs\seam-hibernate\urlrewritefilter.jar;C:\project\libs\testing\jmock\cglib-2.1_3-src.jar;C:\project\libs\testing\jmock\cglib-nodep-2.1_3.jar;C:\project\libs\testing\jmock\hamcrest-core-1.1.jar;C:\project\libs\testing\jmock\hamcrest-library-1.1.jar;C:\project\libs\testing\jmock\jmock-2.4.0.jar;C:\project\libs\testing\jmock\jmock-junit4-2.4.0.jar;C:\project\libs\testing\jmock\jmock-legacy-2.4.0.jar;C:\project\libs\testing\jmock\objenesis-1.0.jar;C:\project\model\dist\project-model-test.jar'
              'org.testng.TestNG'
              


              Sadly, all of this effort yields the same NullPointerException.

              I should note also that the above contains hibernate-all.jar. I get the same result whether or not it is included.

              Thanks for any insight.

              • 4. Re: SeamTest Unit Tests Working...But Not Integration Tests
                pmuir

                The classpath stuff for tests is *horrible* and we really need to improve on it. I will try to write this up in the guide asap.

                "neilac333" wrote:
                'C:\project\libs\testing\testng\testng-5.6-jdk15.jar;
                C:\project\persistence\dist\project-persistence.jar;
                C:\project\libs\seam-hibernate\groovy-all.jar;
                C:\project\libs\seam-hibernate\hibernate-all.jar;
                C:\project\libs\seam-hibernate\jboss-deployers.jar;
                C:\project\libs\seam-hibernate\jboss-ejb3-all.jar;


                This certainly shouldn't be there, its part of embedded ejb3, so contains a much older distro of JBoss

                C:\project\libs\seam-hibernate\jboss-embedded-all.jar;
                C:\project\libs\seam-hibernate\jboss-embedded-api.jar;
                C:\project\libs\seam-hibernate\jcaptcha-all.jar;
                C:\project\libs\seam-hibernate\thirdparty-all.jar;
                C:\project\libs\seam-hibernate\bootstrap;
                C:\project\libs\sun-jsf\el-api.jar;
                C:\project\libs\sun-jsf\el-ri.jar;


                Shouldn't be there in Seam 2 at all.

                C:\project\libs\sun-jsf\jsf-api.jar;
                C:\project\libs\sun-jsf\jsf-impl.jar;
                C:\project\libs\sun-jsf\jstl.jar;
                C:\project\libs\sun-jsf\servlet-api.jar;
                C:\project\libs\commons\commons-beanutils.jar;
                C:\project\libs\commons\commons-collections.jar;
                C:\project\libs\commons\commons-digester.jar;
                C:\project\libs\commons\commons-discovery.jar;
                C:\project\libs\commons\commons-el.jar;


                Don't want this either (another implementation of EL)

                C:\project\libs\commons\commons-fileupload.jar;
                C:\project\libs\commons\commons-lang.jar;
                C:\project\libs\commons\commons-logging-api.jar;
                C:\project\libs\commons\commons-logging.jar;
                C:\project\libs\seam-hibernate\activation.jar;
                C:\project\libs\seam-hibernate\ant-antlr.jar;
                C:\project\libs\seam-hibernate\antlr-runtime.jar;
                C:\project\libs\seam-hibernate\antlr.jar;
                C:\project\libs\seam-hibernate\asm-attrs.jar;
                C:\project\libs\seam-hibernate\asm.jar;

                C:\project\libs\seam-hibernate\bootstrap\conf\bootstrap-beans.xml;
                C:\project\libs\seam-hibernate\bootstrap\conf\jboss-service.xml;
                C:\project\libs\seam-hibernate\bootstrap\conf\jbossjta-properties.xml;
                C:\project\libs\seam-hibernate\bootstrap\conf\login-config.xml;
                C:\project\libs\seam-hibernate\bootstrap\conf\props\messaging-roles.properties;
                C:\project\libs\seam-hibernate\bootstrap\conf\props\messaging-users.properties;
                C:\project\libs\seam-hibernate\bootstrap\data\hypersonic\dvd.log;
                C:\project\libs\seam-hibernate\bootstrap\data\hypersonic\dvd.properties;
                C:\project\libs\seam-hibernate\bootstrap\data\hypersonic\localDB.lck;
                C:\project\libs\seam-hibernate\bootstrap\data\hypersonic\localDB.log;
                C:\project\libs\seam-hibernate\bootstrap\data\hypersonic\localDB.properties;
                C:\project\libs\seam-hibernate\bootstrap\data\hypersonic\localDB.script;
                C:\project\libs\seam-hibernate\bootstrap\data\jboss.identity;
                C:\project\libs\seam-hibernate\bootstrap\deploy\ejb3-interceptors-aop.xml;
                C:\project\libs\seam-hibernate\bootstrap\deploy\hsqldb-ds.xml;
                C:\project\libs\seam-hibernate\bootstrap\deploy\jboss-local-jdbc.rar;
                C:\project\libs\seam-hibernate\bootstrap\deploy\jboss-xa-jdbc.rar;
                C:\project\libs\seam-hibernate\bootstrap\deploy\jms-ra.rar;
                C:\project\libs\seam-hibernate\bootstrap\deploy\messaging\connection-factories-service.xml;
                C:\project\libs\seam-hibernate\bootstrap\deploy\messaging\destinations-service.xml;
                C:\project\libs\seam-hibernate\bootstrap\deploy\messaging\hsqldb-persistence-service.xml;
                C:\project\libs\seam-hibernate\bootstrap\deploy\messaging\jms-ds.xml;
                C:\project\libs\seam-hibernate\bootstrap\deploy\messaging\legacy-service.xml;
                C:\project\libs\seam-hibernate\bootstrap\deploy\messaging\messaging-service.xml;
                C:\project\libs\seam-hibernate\bootstrap\deploy\messaging\remoting-service.xml;
                C:\project\libs\seam-hibernate\bootstrap\deploy\remoting-service.xml;
                C:\project\libs\seam-hibernate\bootstrap\deployers\aspect-deployer-beans.xml;
                C:\project\libs\seam-hibernate\bootstrap\deployers\ejb3-deployers-beans.xml;
                C:\project\libs\seam-hibernate\bootstrap\deployers\jca-deployers-beans.xml;
                C:\project\libs\seam-hibernate\bootstrap\jndi.properties;
                C:\project\libs\seam-hibernate\bootstrap\log4j.xml;
                C:\project\libs\seam-hibernate\bootstrap\readme.txt;

                You've already got bootstrap on the classpath, not needed
                C:\project\libs\seam-hibernate\cglib-nodep.jar;
                C:\project\libs\seam-hibernate\cglib.jar;
                C:\project\libs\seam-hibernate\core.jar;
                C:\project\libs\seam-hibernate\dom4j.jar;
                C:\project\libs\seam-hibernate\ejb-api.jar;
                C:\project\libs\seam-hibernate\ejb3-persistence.jar;
                C:\project\libs\seam-hibernate\gwt-servlet.jar;

                C:\project\libs\seam-hibernate\hibernate-annotations.jar;
                C:\project\libs\seam-hibernate\hibernate-commons-annotations.jar;
                C:\project\libs\seam-hibernate\hibernate-entitymanager.jar;
                C:\project\libs\seam-hibernate\hibernate-search.jar;
                C:\project\libs\seam-hibernate\hibernate-validator.jar;
                C:\project\libs\seam-hibernate\hibernate.jar;

                Already got hibernate from hibernate-all.jar
                C:\project\libs\seam-hibernate\itext.jar;
                C:\project\libs\seam-hibernate\janino.jar;
                C:\project\libs\seam-hibernate\javassist.jar;
                C:\project\libs\seam-hibernate\jaxb-api.jar;
                C:\project\libs\seam-hibernate\jaxws-api.jar;
                C:\project\libs\seam-hibernate\jboss-aop.jar;
                C:\project\libs\seam-hibernate\jboss-archive-browsing.jar;
                C:\project\libs\seam-hibernate\jboss-cache.jar;
                C:\project\libs\seam-hibernate\jboss-common-core.jar;
                C:\project\libs\seam-hibernate\jboss-container.jar;
                C:\project\libs\seam-hibernate\jboss-dependency.jar;
                C:\project\libs\seam-hibernate\jboss-el.jar;
                C:\project\libs\seam-hibernate\jboss-jmx.jar;
                C:\project\libs\seam-hibernate\jboss-kernel.jar;
                C:\project\libs\seam-hibernate\jboss-logging-spi.jar;
                C:\project\libs\seam-hibernate\jboss-seam-debug.jar;
                C:\project\libs\seam-hibernate\jboss-seam-gen.jar;
                C:\project\libs\seam-hibernate\jboss-seam-ioc.jar;
                C:\project\libs\seam-hibernate\jboss-seam-mail.jar;
                C:\project\libs\seam-hibernate\jboss-seam-pdf.jar;
                C:\project\libs\seam-hibernate\jboss-seam-remoting.jar;
                C:\project\libs\seam-hibernate\jboss-seam-ui.jar;
                C:\project\libs\seam-hibernate\jboss-seam.jar;
                C:\project\libs\seam-hibernate\jboss-system.jar;
                C:\project\libs\seam-hibernate\jbossxb.jar;
                C:\project\libs\seam-hibernate\jbpm-jpdl.jar;
                C:\project\libs\seam-hibernate\jcommon.jar;
                C:\project\libs\seam-hibernate\jfreechart.jar;
                C:\project\libs\seam-hibernate\jgroups.jar;
                C:\project\libs\seam-hibernate\jms.jar;
                C:\project\libs\seam-hibernate\jta.jar;
                C:\project\libs\seam-hibernate\log4j.jar;
                C:\project\libs\seam-hibernate\lucene-core.jar;
                C:\project\libs\seam-hibernate\mail-ra.jar;
                C:\project\libs\seam-hibernate\mail.jar;
                C:\project\libs\seam-hibernate\meldware-mailapi.jar;
                C:\project\libs\seam-hibernate\meldware-mailjmx.jar;
                C:\project\libs\seam-hibernate\mvel14.jar;
                C:\project\libs\seam-hibernate\persistence-api.jar;
                C:\project\libs\seam-hibernate\portlet-api.jar;
                C:\project\libs\seam-hibernate\quartz.jar;
                C:\project\libs\seam-hibernate\urlrewritefilter.jar;
                C:\project\libs\testing\jmock\cglib-2.1_3-src.jar;
                C:\project\libs\testing\jmock\cglib-nodep-2.1_3.jar;
                C:\project\libs\testing\jmock\hamcrest-core-1.1.jar;
                C:\project\libs\testing\jmock\hamcrest-library-1.1.jar;
                C:\project\libs\testing\jmock\jmock-2.4.0.jar;
                C:\project\libs\testing\jmock\jmock-junit4-2.4.0.jar;
                C:\project\libs\testing\jmock\jmock-legacy-2.4.0.jar;
                C:\project\libs\testing\jmock\objenesis-1.0.jar;
                C:\project\model\dist\project-model-test.jar'
                'org.testng.TestNG'


                • 5. Re: SeamTest Unit Tests Working...But Not Integration Tests

                  Well, I have tried a bunch of things. I used seamgen to create a dummy project which I then imported into IntelliJ. I ran the generated build script to run an integration test, and of course it worked.

                  So then I used the information from that run as well as Pete's comments to make a bunch of changes.

                  Here is the classpath that works from my IntelliJ run:

                  C:\seamgen\test\test-build;C:\seamgen\test\lib\test\hibernate-all.jar;C:\seamgen\test\lib\test\jboss-embedded-all.jar;C:\seamgen\test\lib\test\thirdparty-all.jar;C:\seamgen\test\bootstrap;C:\seamgen\test\lib\activation.jar;C:\seamgen\test\lib\ant-antlr.jar;C:\seamgen\test\lib\antlr-runtime.jar;C:\seamgen\test\lib\antlr.jar;C:\seamgen\test\lib\asm-attrs.jar;C:\seamgen\test\lib\asm.jar;C:\seamgen\test\lib\cglib- nodep.jar;C:\seamgen\test\lib\cglib.jar;C:\seamgen\test\lib\commons-beanutils.jar;C:\seamgen\test\lib\commons-collections.jar;C:\seamgen\test\lib\commons-digester.jar;C:\seamgen\test\lib\commons-lang.jar;C:\seamgen\test\lib\commons- logging.jar;C:\seamgen\test\lib\core.jar;C:\seamgen\test\lib\dbunit.jar;C:\seamgen\test\lib\dom4j.jar;C:\seamgen\test\lib\drools-compiler.jar;C:\seamgen\test\lib\drools-core.jar;C:\seamgen\test\lib\ejb-api.jar;C:\seamgen\test\lib\el-api.jar;C:\seamgen\test\lib\groovy-all.jar;C:\seamgen\test\lib\gwt-servlet.jar;C:\seamgen\test\lib\hibernate-annotations.jar;C:\seamgen\test\lib\hibernate-commons-annotations.jar;C:\seamgen\test\lib\hibernate-entitymanager.jar ;C:\seamgen\test\lib\hibernate-search.jar;C:\seamgen\test\lib\hibernate-validator.jar;C:\seamgen\test\lib\hibernate.jar;C:\seamgen\test\lib\hsqldb.jar;C:\seamgen\test\lib\itext.jar;C:\seamgen\test\lib\janino.jar;C:\seamgen\test\lib\javassist.jar;C:\seamgen\test\lib\jaxb- api.jar;C:\seamgen\test\lib\jaxws-api.jar;C:\seamgen\test\lib\jboss-aop.jar;C:\seamgen\test\lib\jboss-cache.jar;C:\seamgen\test\lib\jboss-common-core.jar;C:\seamgen\test\lib\jboss-dependency.jar;C:\seamgen\test\lib\jboss- deployers.jar;C:\seamgen\test\lib\jboss-el.jar;C:\seamgen\test\lib\jboss-embedded-api.jar;C:\seamgen\test\lib\jboss-jmx.jar;C:\seamgen\test\lib\jboss-kernel.jar;C:\seamgen\test\lib\jboss-logging-spi.jar;C:\seamgen\test\lib\jboss- seam-debug.jar;C:\seamgen\test\lib\jboss-seam-gen.jar;C:\seamgen\test\lib\jboss-seam-ioc.jar;C:\seamgen\test\lib\jboss-seam-mail.jar;C:\seamgen\test\lib\jboss-seam-pdf.jar;C:\seamgen\test\lib\jboss-seam-remoting.jar;C:\seamgen\test\lib\jboss- seam-ui.jar;C:\seamgen\test\lib\jboss-seam.jar;C:\seamgen\test\lib\jboss-system.jar;C:\seamgen\test\lib\jbossxb.jar;C:\seamgen\test\lib\jbpm-jpdl.jar;C:\seamgen\test\lib\jcaptcha-all.jar;C:\seamgen\test\lib\jcommon.jar;C:\seamgen\test\lib\jfreechart.jar;C:\seamgen\test\lib\jgroups.jar;C:\seamgen\test\lib\jms.jar;C:\seamgen\test\lib\jsf- api.jar;C:\seamgen\test\lib\jsf-facelets.jar;C:\seamgen\test\lib\jsf-impl.jar;C:\seamgen\test\lib\jsp-api.jar;C:\seamgen\test\lib\jsr173_api.jar;C:\seamgen\test\lib\jsr181-api.jar;C:\seamgen\test\lib\jsr250-api.jar;C:\seamgen\test\lib\jstl.jar;C:\seamgen\test\lib\jta.jar;C:\seamgen\test\lib\log4j.jar;C:\seamgen\test\lib\lucene- core.jar;C:\seamgen\test\lib\mail.jar;C:\seamgen\test\lib\meldware-mailapi.jar;C:\seamgen\test\lib\meldware-mailjmx.jar;C:\seamgen\test\lib\mvel14.jar;C:\seamgen\test\lib\persistence-api.jar;C:\seamgen\test\lib\portlet-api.jar ;C:\seamgen\test\lib\quartz.jar;C:\seamgen\test\lib\richfaces-api.jar;C:\seamgen\test\lib\richfaces-impl.jar;C:\seamgen\test\lib\richfaces-ui.jar;C:\seamgen\test\lib\saaj-api.jar;C:\seamgen\test\lib\servlet-api.jar;C:\seamgen\test\lib\spring.jar;C:\seamgen\test\lib\testng.jar;C:\seamgen\test\lib\urlrewritefilter.jar'
                  



                  Here now is my classpath after tinkering:

                  C:\project\model\dist\project-model-test.jar;C:\project\persistence\dist\project-persistence.jar;C:\project\libs\seam-hibernate\test-build;C:\project\libs\seam-hibernate\hibernate-all.jar;C:\project\libs\seam-hibernate\jboss-embedded-all.jar;C:\project\libs\seam-hibernate\thirdparty-all.jar;C:\project\libs\seam-hibernate\bootstrap;C:\project\libs\commons\commons-beanutils.jar;C:\project\libs\commons\commons-collections.jar;C:\project\libs\commons\commons-digester.jar;C:\project\libs\commons\commons-lang.jar;C:\project\libs\commons\commons-logging.jar;C:\project\libs\sun-jsf\el-api.jar;C:\project\libs\sun-jsf\jsf-api.jar;C:\project\libs\sun-jsf\jsf-impl.jar;C:\project\libs\sun-jsf\jsp-api.jar;C:\project\libs\sun-jsf\jstl.jar;C:\project\libs\sun-jsf\servlet-api.jar;C:\project\libs\seam-hibernate\activation.jar;C:\project\libs\seam-hibernate\ant-antlr.jar;C:\project\libs\seam-hibernate\antlr-runtime.jar;C:\project\libs\seam-hibernate\antlr.jar;C:\project\libs\seam-hibernate\asm-attrs.jar;C:\project\libs\seam-hibernate\asm.jar;C:\project\libs\seam-hibernate\cglib-nodep.jar;C:\project\libs\seam-hibernate\cglib.jar;C:\project\libs\seam-hibernate\core.jar;C:\project\libs\seam-hibernate\dom4j.jar;C:\project\libs\seam-hibernate\drools-compiler.jar;C:\project\libs\seam-hibernate\drools-core.jar;C:\project\libs\seam-hibernate\ejb-api.jar;C:\project\libs\seam-hibernate\groovy-all.jar;C:\project\libs\seam-hibernate\gwt-servlet.jar;C:\project\libs\seam-hibernate\hibernate-annotations.jar;C:\project\libs\seam-hibernate\hibernate-commons-annotations.jar;C:\project\libs\seam-hibernate\hibernate-entitymanager.jar;C:\project\libs\seam-hibernate\hibernate-search.jar;C:\project\libs\seam-hibernate\hibernate-validator.jar;C:\project\libs\seam-hibernate\hibernate.jar;C:\project\libs\seam-hibernate\itext.jar;C:\project\libs\seam-hibernate\janino.jar;C:\project\libs\seam-hibernate\javassist.jar;C:\project\libs\seam-hibernate\jaxb-api.jar;C:\project\libs\seam-hibernate\jaxws-api.jar;C:\project\libs\seam-hibernate\jboss-aop.jar;C:\project\libs\seam-hibernate\jboss-cache.jar;C:\project\libs\seam-hibernate\jboss-common-core.jar;C:\project\libs\seam-hibernate\jboss-dependency.jar;C:\project\libs\seam-hibernate\jboss-deployers.jar;C:\project\libs\seam-hibernate\jboss-el.jar;C:\project\libs\seam-hibernate\jboss-embedded-api.jar;C:\project\libs\seam-hibernate\jboss-jmx.jar;C:\project\libs\seam-hibernate\jboss-kernel.jar;C:\project\libs\seam-hibernate\jboss-logging-spi.jar;C:\project\libs\seam-hibernate\jboss-seam-debug.jar;C:\project\libs\seam-hibernate\jboss-seam-gen.jar;C:\project\libs\seam-hibernate\jboss-seam-ioc.jar;C:\project\libs\seam-hibernate\jboss-seam-mail.jar;C:\project\libs\seam-hibernate\jboss-seam-pdf.jar;C:\project\libs\seam-hibernate\jboss-seam-remoting.jar;C:\project\libs\seam-hibernate\jboss-seam-ui.jar;C:\project\libs\seam-hibernate\jboss-seam.jar;C:\project\libs\seam-hibernate\jboss-system.jar;C:\project\libs\seam-hibernate\jbossxb.jar;C:\project\libs\seam-hibernate\jbpm-jpdl.jar;C:\project\libs\seam-hibernate\jcaptcha-all.jar;C:\project\libs\seam-hibernate\jcommon.jar;C:\project\libs\seam-hibernate\jfreechart.jar;C:\project\libs\seam-hibernate\jgroups.jar;C:\project\libs\seam-hibernate\jms.jar;C:\project\libs\seam-hibernate\jsr173_api.jar;C:\project\libs\seam-hibernate\jsr181-api.jar;C:\project\libs\seam-hibernate\jsr250-api.jar;C:\project\libs\seam-hibernate\jta.jar;C:\project\libs\seam-hibernate\log4j.jar;C:\project\libs\seam-hibernate\lucene-core.jar;C:\project\libs\seam-hibernate\mail-ra.jar;C:\project\libs\seam-hibernate\mail.jar;C:\project\libs\seam-hibernate\meldware-mailapi.jar;C:\project\libs\seam-hibernate\meldware-mailjmx.jar;C:\project\libs\seam-hibernate\mvel14.jar;C:\project\libs\seam-hibernate\persistence-api.jar;C:\project\libs\seam-hibernate\portlet-api.jar;C:\project\libs\seam-hibernate\quartz.jar;C:\project\libs\seam-hibernate\urlrewritefilter.jar;C:\project\libs\testing\testng\testng-5.6-jdk15.jar;C:\project\libs\testing\jmock\cglib-2.1_3-src.jar;C:\project\libs\testing\jmock\cglib-nodep-2.1_3.jar;C:\project\libs\testing\jmock\hamcrest-core-1.1.jar;C:\project\libs\testing\jmock\hamcrest-library-1.1.jar;C:\project\libs\testing\jmock\jmock-2.4.0.jar;C:\project\libs\testing\jmock\jmock-junit4-2.4.0.jar;C:\project\libs\testing\jmock\jmock-legacy-2.4.0.jar;C:\project\libs\testing\jmock\objenesis-1.0.jar
                  


                  The key changes are basically getting rid of the superfluous bootstrap stuff as Pete suggested, making sure the right JARs are included in the right order especially at the beginning, and adding the directory called "test-build" by seamgen that contains a host of configuration and resource files.

                  Although things look very, very similar, it wasn't enough. Things still don't work.

                  I suppose one might suggest I restructure my lib directories to match what is produced by seamgen and rewrite my Ant scripts. However, the project is far enough along where such an effort would be quite prohibitive. Besides, I would rather understand what is going on and react accordingly rather than change everything around and hope things magically work.

                  I will keep tinkering. Continued insight is appreciated.

                  Thanks.

                  • 6. Re: SeamTest Unit Tests Working...But Not Integration Tests

                    I hinted at this already, but I want to be clear about the structure of my project. The overall structure of my project is a WAR file deployed to WebLogic. In the WEB-INF/lib directory, along with all the third-party library files like Seam, etc will be two JAR files of my creation--a persistence JAR (which contains all my entities and some utility classes that use those entities) and a model JAR that contains all the Seam action classes that do all the work. Both JARs are in the classpath of my test and have seam.properties in their respective META-INF folders, and it is a class in the model JAR that I am trying to test. Then again, I am not actually testing any of my code since all I am calling is getValue("#{identity.loggedIn}");.

                    Now maybe none of this has anything to do with this issue, but since the SeamTest infrastructure is such a mystery, I thought I would mention it just in case. Especially since the SeamTest stuff I tested successfully in IntelliJ relies on all the configuration files and compiled classes to be in a directory called test-build.

                    Thanks.

                    • 7. Re: SeamTest Unit Tests Working...But Not Integration Tests

                      As I mentioned before, I have a dummy project I built with seam-gen where the integration tests work as they should. I have done everything I can think of to make my real project match up with my dummy one, but nothing is working. In fact, I keep getting the same exception.

                      One thing I noticed is that when I run the test written by seam-gen in IntelliJ, the test takes a little bit of time. Clearly, the server or a stripped-down version is getting fired up before the test is run. That isn't happening with me. The test fails pretty quickly. This got me to thinking.

                      Maybe the issue isn't with my JAR files but with the configuration files--either in the bootstrapor test-build directories. I ran my test again with simply the init() method called in SeamTest. I also turned on all the logging.

                      I got the following, which makes War and Peace look like a pamphlet:

                      DEBUG [org.jboss.kernel.KernelFactory] Starting JBoss Kernel construction...
                      DEBUG [org.jboss.kernel.KernelFactory] Completed JBoss Kernel construction. Duration: 281 milliseconds
                      DEBUG [jboss.kernel.plugins.deployment.xml.BeanXMLDeployer] Parsing file:/C:/project/libs/seam-hibernate/bootstrap/conf/bootstrap-beans.xml took 515 milliseconds
                      WARN [org.jboss.mx.loading.UnifiedLoaderRepository3] Tried to add non-URLClassLoader. Ignored
                      DEBUG [org.jboss.system.ServiceController] Controller MBean online
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Added deployer: org.jboss.system.deployers.ServiceDeploymentDeployer@1321f5
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Added deployer: org.jboss.deployers.plugins.deployers.kernel.BeanMetaDataDeployer@d3ade7
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Added deployer: org.jboss.embedded.ClassLoaderDeployer@8390b0
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Added deployer: org.jboss.system.deployers.ServiceDeployer@e31e33
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Added deployer: org.jboss.deployers.plugins.deployers.kernel.BeanDeployer@16cbd97
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Added deployer: org.jboss.system.deployers.SARDeployer@e7e8eb
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Added deployer: org.jboss.deployers.plugins.deployers.kernel.KernelDeploymentDeployer@1a6518
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Add deployment context: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/conf/jboss-service.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Scheduling deployment: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/conf/jboss-service.xml
                      DEBUG [org.jboss.system.deployers.ServiceDeploymentDeployer] <server>
                       <!-- ==================================================================== -->
                       <!-- Main Deployer -->
                       <!-- ==================================================================== -->
                       <mbean code='org.jboss.deployment.MainDeployer' name='jboss.system:service=MainDeployer'>
                       <!-- This is used to delegate the deployment handling -->
                       <attribute name='KernelMainDeployer'>
                       <inject bean='MainDeployer'/>
                       </attribute>
                       </mbean>
                       <!-- ==================================================================== -->
                       <!-- SAR Deployer -->
                       <!-- ==================================================================== -->
                       <mbean code='org.jboss.deployment.SARDeployer' name='jboss.system:service=ServiceDeployer'>
                       <depends>jboss.system:service=MainDeployer</depends>
                       </mbean>
                       <!-- ==================================================================== -->
                       <!-- Security -->
                       <!-- ==================================================================== -->
                       <mbean code='org.jboss.security.plugins.SecurityConfig' name='jboss.security:service=SecurityConfig'>
                       <attribute name='LoginConfig'>jboss.security:service=XMLLoginConfig</attribute>
                       <depends>jboss.security:service=XMLLoginConfig</depends>
                       </mbean>
                       <mbean code='org.jboss.security.auth.login.XMLLoginConfig' name='jboss.security:service=XMLLoginConfig'>
                       <attribute name='ConfigResource'>${jboss.embedded.bootstrap.resource.path}conf/login-config.xml</attribute>
                       </mbean>
                       <!-- JAAS security manager and realm mapping -->
                       <mbean code='org.jboss.security.plugins.JaasSecurityManagerService' name='jboss.security:service=JaasSecurityManager'>
                       <!-- A flag which indicates whether the SecurityAssociation server mode
                       is set on service creation. This is true by default since the
                       SecurityAssociation should be thread local for multi-threaded server
                       operation.
                       -->
                       <attribute name='ServerMode'>true</attribute>
                       <attribute name='SecurityManagerClassName'>org.jboss.security.plugins.JaasSecurityManager</attribute>
                       <attribute name='DefaultUnauthenticatedPrincipal'>anonymous</attribute>
                       <!-- DefaultCacheTimeout: Specifies the default timed cache policy timeout
                       in seconds.
                       If you want to disable caching of security credentials, set this to 0 to
                       force authentication to occur every time. This has no affect if the
                       AuthenticationCacheJndiName has been changed from the default value.
                       -->
                       <attribute name='DefaultCacheTimeout'>1800</attribute>
                       <!-- DefaultCacheResolution: Specifies the default timed cache policy
                       resolution in seconds. This controls the interval at which the cache
                       current timestamp is updated and should be less than the DefaultCacheTimeout
                       in order for the timeout to be meaningful. This has no affect if the
                       AuthenticationCacheJndiName has been changed from the default value.
                       -->
                       <attribute name='DefaultCacheResolution'>60</attribute>
                       <!-- DeepCopySubjectMode: This set the copy mode of subjects done by the
                       security managers to be deep copies that makes copies of the subject
                       principals and credentials if they are cloneable. It should be set to
                       true if subject include mutable content that can be corrupted when
                       multiple threads have the same identity and cache flushes/logout clearing
                       the subject in one thread results in subject references affecting other
                       threads.
                       -->
                       <attribute name='DeepCopySubjectMode'>false</attribute>
                       </mbean>
                       <!-- Authorization manager-->
                       <mbean code='org.jboss.security.plugins.AuthorizationManagerService' name='jboss.security:service=AuthorizationManager'>
                       <attribute name='AuthorizationManagerClassName'>org.jboss.security.plugins.JBossAuthorizationManager</attribute>
                       </mbean>
                       <!-- ==================================================================== -->
                       <!-- Transactions -->
                       <!-- ==================================================================== -->
                       <!-- The configurable Xid factory. For use with Oracle, set pad to true -->
                       <mbean code='org.jboss.tm.XidFactory' name='jboss:service=XidFactory'> <!--attribute name="Pad">true</attribute-->
                      </mbean>
                       <!--
                       | The fast in-memory transaction manager.
                       | Deprecated in 5.0. Use JBossTS JTA instead.
                       <mbean code="org.jboss.tm.TransactionManagerService"
                       name="jboss:service=TransactionManager"
                       xmbean-dd="resource:xmdesc/TransactionManagerService-xmbean.xml">
                       <attribute name="TransactionTimeout">300</attribute>
                       <attribute name="XARetryTimeout">60</attribute>
                       <attribute name="PreparedTimeout">60</attribute>
                       <attribute name="GlobalIdsEnabled">true</attribute>
                       <depends optional-attribute-name="XidFactory">jboss:service=XidFactory</depends>
                       </mbean>
                       -->
                       <!-- JBossTS JTA -->
                       <mbean code='com.arjuna.ats.jbossatx.jta.TransactionManagerService' name='jboss:service=TransactionManager'>
                       <attribute name='TransactionTimeout'>300</attribute>
                       </mbean>
                       <mbean code='org.jboss.util.threadpool.BasicThreadPool' name='jboss.jca:service=WorkManagerThreadPool'>
                       <!-- The name that appears in thread names -->
                       <attribute name='Name'>WorkManager</attribute>
                       <!-- The maximum amount of work in the queue -->
                       <attribute name='MaximumQueueSize'>1024</attribute>
                       <!-- The maximum number of active threads -->
                       <attribute name='MaximumPoolSize'>100</attribute>
                       <!-- How long to keep threads alive after their last work (default one minute) -->
                       <attribute name='KeepAliveTime'>60000</attribute>
                       </mbean>
                       <mbean code='org.jboss.resource.work.JBossWorkManager' name='jboss.jca:service=WorkManager'>
                       <depends optional-attribute-name='ThreadPoolName'>jboss.jca:service=WorkManagerThreadPool</depends>
                       <depends optional-attribute-name='XATerminatorName'>jboss:service=TransactionManager</depends>
                       </mbean>
                       <!--
                       | The CachedConnectionManager is used partly to relay started UserTransactions to
                       | open connections so they may be enrolled in the new tx.
                       -->
                       <mbean code='org.jboss.resource.connectionmanager.CachedConnectionManager' name='jboss.jca:service=CachedConnectionManager'>
                       <depends optional-attribute-name='TransactionManagerServiceName'>jboss:service=TransactionManager</depends>
                       <!-- Enable connection close debug monitoring -->
                       <attribute name='Debug'>true</attribute>
                       </mbean>
                       <mbean code='org.jboss.naming.JNDIView' name='jboss:service=JNDIView' xmbean-dd='resource:xmdesc/JNDIView-xmbean.xml'>
                       <!-- The HANamingService service name -->
                       <attribute name='HANamingService'>jboss:service=HAJNDI</attribute>
                       </mbean>
                      </server>
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component jboss.system:service=MainDeployer to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/conf/jboss-service.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component jboss.system:service=ServiceDeployer to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/conf/jboss-service.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component jboss.security:service=SecurityConfig to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/conf/jboss-service.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component jboss.security:service=XMLLoginConfig to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/conf/jboss-service.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component jboss.security:service=JaasSecurityManager to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/conf/jboss-service.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component jboss.security:service=AuthorizationManager to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/conf/jboss-service.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component jboss:service=XidFactory to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/conf/jboss-service.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component jboss:service=TransactionManager to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/conf/jboss-service.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component jboss.jca:service=WorkManagerThreadPool to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/conf/jboss-service.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component jboss.jca:service=WorkManager to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/conf/jboss-service.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component jboss.jca:service=CachedConnectionManager to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/conf/jboss-service.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component jboss:service=JNDIView to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/conf/jboss-service.xml
                      DEBUG [org.jboss.system.ServiceCreator] About to create bean: jboss.system:service=MainDeployer with code: org.jboss.deployment.MainDeployer
                      DEBUG [org.jboss.system.ServiceCreator] Created mbean: jboss.system:service=MainDeployer
                      DEBUG [org.jboss.system.ServiceConfigurator] KernelMainDeployer set to org.jboss.deployers.plugins.deployment.MainDeployerImpl@1083717 in jboss.system:service=MainDeployer
                      DEBUG [org.jboss.system.ServiceController] Creating service jboss.system:service=MainDeployer
                      DEBUG [org.jboss.deployment.MainDeployer] Creating jboss.system:service=MainDeployer
                      DEBUG [org.jboss.deployment.MainDeployer] Created jboss.system:service=MainDeployer
                      DEBUG [org.jboss.system.ServiceController] starting service jboss.system:service=MainDeployer
                      DEBUG [org.jboss.deployment.MainDeployer] Starting jboss.system:service=MainDeployer
                      DEBUG [org.jboss.deployment.MainDeployer] Started jboss.system:service=MainDeployer
                      DEBUG [org.jboss.system.ServiceCreator] About to create bean: jboss.system:service=ServiceDeployer with code: org.jboss.deployment.SARDeployer
                      DEBUG [org.jboss.system.ServiceCreator] Created mbean: jboss.system:service=ServiceDeployer
                      DEBUG [org.jboss.system.ServiceController] Creating service jboss.system:service=ServiceDeployer
                      DEBUG [org.jboss.deployment.SARDeployer] Creating jboss.system:service=ServiceDeployer
                      DEBUG [org.jboss.deployment.SARDeployer] Created jboss.system:service=ServiceDeployer
                      DEBUG [org.jboss.system.ServiceController] starting service jboss.system:service=ServiceDeployer
                      DEBUG [org.jboss.deployment.SARDeployer] Starting jboss.system:service=ServiceDeployer
                      DEBUG [org.jboss.deployment.MainDeployer] Adding deployer: org.jboss.deployment.SARDeployer@1b83048
                      DEBUG [org.jboss.deployment.SARDeployer] Started jboss.system:service=ServiceDeployer
                      DEBUG [org.jboss.system.ServiceCreator] About to create bean: jboss.security:service=SecurityConfig with code: org.jboss.security.plugins.SecurityConfig
                      DEBUG [org.jboss.system.ServiceCreator] Created mbean: jboss.security:service=SecurityConfig
                      DEBUG [org.jboss.system.ServiceConfigurator] LoginConfig set to jboss.security:service=XMLLoginConfig in jboss.security:service=SecurityConfig
                      DEBUG [org.jboss.system.ServiceController] Creating service jboss.security:service=SecurityConfig
                      DEBUG [org.jboss.system.ServiceController] Waiting in create of jboss.security:service=SecurityConfig on jboss.security:service=XMLLoginConfig
                      DEBUG [org.jboss.system.ServiceController] starting service jboss.security:service=SecurityConfig
                      DEBUG [org.jboss.system.ServiceController] Waiting in start of jboss.security:service=SecurityConfig on
                      DEBUG [org.jboss.system.ServiceCreator] About to create bean: jboss.security:service=XMLLoginConfig with code: org.jboss.security.auth.login.XMLLoginConfig
                      DEBUG [org.jboss.system.ServiceCreator] Created mbean: jboss.security:service=XMLLoginConfig
                      DEBUG [org.jboss.system.ServiceConfigurator] ConfigResource set to conf/login-config.xml in jboss.security:service=XMLLoginConfig
                      DEBUG [org.jboss.system.ServiceController] Creating service jboss.security:service=XMLLoginConfig
                      DEBUG [org.jboss.security.auth.login.XMLLoginConfig] Creating jboss.security:service=XMLLoginConfig
                      DEBUG [org.jboss.security.auth.login.XMLLoginConfig] Created jboss.security:service=XMLLoginConfig
                      DEBUG [org.jboss.security.plugins.SecurityConfig] Creating jboss.security:service=SecurityConfig
                      DEBUG [org.jboss.security.plugins.SecurityConfig] Created jboss.security:service=SecurityConfig
                      DEBUG [org.jboss.system.ServiceController] starting service jboss.security:service=XMLLoginConfig
                      DEBUG [org.jboss.security.auth.login.XMLLoginConfig] Starting jboss.security:service=XMLLoginConfig
                      DEBUG [org.jboss.security.auth.login.XMLLoginConfigImpl] Try loading config as XML, url=file:/C:/project/libs/seam-hibernate/bootstrap/conf/login-config.xml
                      DEBUG [org.jboss.xb.binding.ObjectModelBuilder] No endDTD found on factory: org.jboss.xb.binding.DelegatingObjectModelFactory@12a416a
                      DEBUG [org.jboss.security.auth.login.XMLLoginConfig] Started jboss.security:service=XMLLoginConfig
                      DEBUG [org.jboss.security.plugins.SecurityConfig] Starting jboss.security:service=SecurityConfig
                      DEBUG [org.jboss.security.plugins.SecurityConfig] Installed JAAS Configuration service=jboss.security:service=XMLLoginConfig, config=org.jboss.security.auth.login.XMLLoginConfigImpl@10e18ba
                      DEBUG [org.jboss.security.plugins.SecurityConfig] Started jboss.security:service=SecurityConfig
                      DEBUG [org.jboss.system.ServiceCreator] About to create bean: jboss.security:service=JaasSecurityManager with code: org.jboss.security.plugins.JaasSecurityManagerService
                      DEBUG [org.jboss.system.ServiceCreator] Created mbean: jboss.security:service=JaasSecurityManager
                      DEBUG [org.jboss.system.ServiceConfigurator] ServerMode set to true in jboss.security:service=JaasSecurityManager
                      DEBUG [org.jboss.system.ServiceConfigurator] SecurityManagerClassName set to org.jboss.security.plugins.JaasSecurityManager in jboss.security:service=JaasSecurityManager
                      DEBUG [org.jboss.system.ServiceConfigurator] DefaultUnauthenticatedPrincipal set to anonymous in jboss.security:service=JaasSecurityManager
                      DEBUG [org.jboss.system.ServiceConfigurator] DefaultCacheTimeout set to 1800 in jboss.security:service=JaasSecurityManager
                      DEBUG [org.jboss.system.ServiceConfigurator] DefaultCacheResolution set to 60 in jboss.security:service=JaasSecurityManager
                      DEBUG [org.jboss.system.ServiceConfigurator] DeepCopySubjectMode set to false in jboss.security:service=JaasSecurityManager
                      DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] setDeepCopySubjectMode=false
                      DEBUG [org.jboss.system.ServiceController] Creating service jboss.security:service=JaasSecurityManager
                      DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Creating jboss.security:service=JaasSecurityManager
                      DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Created jboss.security:service=JaasSecurityManager
                      DEBUG [org.jboss.system.ServiceController] starting service jboss.security:service=JaasSecurityManager
                      DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Starting jboss.security:service=JaasSecurityManager
                      DEBUG [org.jboss.security.SecurityAssociation] Using ThreadLocal: false
                      DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] securityMgrCtxPath=java:/jaas
                      DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] cachePolicyCtxPath=java:/timedCacheFactory
                      DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] SecurityProxyFactory=org.jboss.security.SubjectSecurityProxyFactory@1c4795e
                      DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Registered PrincipalEditor, SecurityDomainEditor
                      DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] ServerMode=true
                      DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] SecurityMgrClass=class org.jboss.security.plugins.JaasSecurityManager
                      DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] CallbackHandlerClass=class org.jboss.security.auth.callback.SecurityAssociationHandler
                      DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Started jboss.security:service=JaasSecurityManager
                      DEBUG [org.jboss.system.ServiceCreator] About to create bean: jboss.security:service=AuthorizationManager with code: org.jboss.security.plugins.AuthorizationManagerService
                      DEBUG [org.jboss.system.ServiceCreator] Created mbean: jboss.security:service=AuthorizationManager
                      DEBUG [org.jboss.system.ServiceConfigurator] AuthorizationManagerClassName set to org.jboss.security.plugins.JBossAuthorizationManager in jboss.security:service=AuthorizationManager
                      DEBUG [org.jboss.system.ServiceController] Creating service jboss.security:service=AuthorizationManager
                      DEBUG [org.jboss.security.plugins.AuthorizationManagerService] Creating jboss.security:service=AuthorizationManager
                      DEBUG [org.jboss.security.plugins.AuthorizationManagerService] Created jboss.security:service=AuthorizationManager
                      DEBUG [org.jboss.system.ServiceController] starting service jboss.security:service=AuthorizationManager
                      DEBUG [org.jboss.security.plugins.AuthorizationManagerService] Starting jboss.security:service=AuthorizationManager
                      DEBUG [org.jboss.security.plugins.AuthorizationManagerService] Started jboss.security:service=AuthorizationManager
                      DEBUG [org.jboss.system.ServiceCreator] About to create bean: jboss:service=XidFactory with code: org.jboss.tm.XidFactory
                      DEBUG [org.jboss.system.ServiceCreator] Created mbean: jboss:service=XidFactory
                      DEBUG [org.jboss.system.ServiceController] Creating service jboss:service=XidFactory
                      DEBUG [org.jboss.tm.XidFactory] Creating jboss:service=XidFactory
                      DEBUG [org.jboss.tm.XidFactory] Created jboss:service=XidFactory
                      DEBUG [org.jboss.system.ServiceController] starting service jboss:service=XidFactory
                      DEBUG [org.jboss.tm.XidFactory] Starting jboss:service=XidFactory
                      DEBUG [org.jboss.tm.XidFactory] Started jboss:service=XidFactory
                      DEBUG [org.jboss.system.ServiceCreator] About to create bean: jboss:service=TransactionManager with code: com.arjuna.ats.jbossatx.jta.TransactionManagerService
                      DEBUG [org.jboss.system.ServiceCreator] Created mbean: jboss:service=TransactionManager
                      DEBUG [org.jboss.system.ServiceConfigurator] TransactionTimeout set to 300 in jboss:service=TransactionManager
                      DEBUG [org.jboss.system.ServiceController] Creating service jboss:service=TransactionManager
                      DEBUG [com.arjuna.ats.jbossatx.jta.TransactionManagerService] Creating jboss:service=TransactionManager
                      DEBUG [com.arjuna.ats.jbossatx.jta.TransactionManagerService] Created jboss:service=TransactionManager
                      DEBUG [org.jboss.system.ServiceController] starting service jboss:service=TransactionManager
                      DEBUG [com.arjuna.ats.jbossatx.jta.TransactionManagerService] Starting jboss:service=TransactionManager
                      INFO [com.arjuna.ats.jbossatx.jta.TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
                      INFO [com.arjuna.ats.jbossatx.jta.TransactionManagerService] Setting up property manager MBean and JMX layer
                      WARN [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TxControl_1] - Name of XA node not defined. Using -7ef9961c:1072:475edc12:0
                      DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] ShadowingStore.ShadowingStore( 14 )
                      DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] ShadowNoFileLockStore.ShadowNoFileLockStore( 14 )
                      DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] HashedStore.HashedStore( 14 )
                      DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] HashedStore.HashedActionStore()
                      DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] FileSystemStore.setupStore()
                      DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] FileSystemStore.createHierarchy(C:\project\libs\seam-hibernate\bootstrap\data/ObjectStore\HashedActionStore\defaultStore\)
                      INFO [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.recovery.TransactionStatusManager_1] - Starting service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 4210
                      INFO [com.arjuna.ats.arjuna.logging.arjLogger] TransactionStatusManagerItem - host: 129.6.105.228 port: 4210
                      DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] OutputObjectState::OutputObjectState()
                      DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] ShadowingStore.ShadowingStore( 14 )
                      DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] ShadowNoFileLockStore.ShadowNoFileLockStore( 14 )
                      DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] HashedStore.HashedStore( 14 )
                      DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] HashedStore.HashedActionStore()
                      DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] FileSystemStore.setupStore()
                      DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] FileSystemStore.createHierarchy(C:\project\libs\seam-hibernate\bootstrap\data/ObjectStore\HashedActionStore\defaultStore\)
                      DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] FileSystemStore.write_committed(-7ef9961c:1072:475edc12:1, /Recovery/TransactionStatusManager)
                      DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] ShadowingStore.write_state(-7ef9961c:1072:475edc12:1, /Recovery/TransactionStatusManager, ObjectStore.OS_ORIGINAL)
                      DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] HashedStore.genPathName(-7ef9961c:1072:475edc12:1, /Recovery/TransactionStatusManager, ObjectStore.OS_ORIGINAL)
                      DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] ShadowingStore.openAndLock(C:\project\libs\seam-hibernate\bootstrap\data/ObjectStore\HashedActionStore\defaultStore\Recovery\TransactionStatusManager\#182#\-7ef9961c_1072_475edc12_1, FileLock.F_WRLCK, true)
                      DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] FileSystemStore.createHierarchy(C:\project\libs\seam-hibernate\bootstrap\data/ObjectStore\HashedActionStore\defaultStore\Recovery\TransactionStatusManager\#182#\-7ef9961c_1072_475edc12_1)
                      DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] ShadowingStore.closeAndUnlock(C:\project\libs\seam-hibernate\bootstrap\data\ObjectStore\HashedActionStore\defaultStore\Recovery\TransactionStatusManager\#182#\-7ef9961c_1072_475edc12_1, null, java.io.FileOutputStream@1a7c484)
                      INFO [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.recovery.TransactionStatusManager_3] - TransactionStatusManager started on port 4210 with service com.arjuna.ats.arjuna.recovery.ActionStatusService
                      INFO [com.arjuna.ats.tsmx.logging.tsmxLogger] Registering mbean for module 'arjuna'
                      DEBUG [com.arjuna.ats.tsmx.logging.tsmxLogger] TransactionService Management Extentions initialising
                      INFO [com.arjuna.ats.tsmx.logging.tsmxLogger] Initialising JMX agent com.arjuna.ats.internal.jbossatx.agent.LocalJBossAgentImpl
                      DEBUG [com.arjuna.ats.tsmx.logging.tsmxLogger] Registering transaction service mbeans
                      INFO [com.arjuna.ats.jbossatx.jta.TransactionManagerService] Starting recovery manager
                      INFO [com.arjuna.ats.arjuna.logging.arjLogger]
                       --- Start RecoveryActivators
                      DEBUG [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.internal.arjuna.recovery.ExpiredEntryMonitor_3] - No Expiry scanners loaded - not scanning
                      INFO [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.internal.arjuna.recovery.ready] RecoveryManagerImple is ready on port 4,211
                      INFO [com.arjuna.ats.jbossatx.jta.TransactionManagerService] Recovery manager started
                      INFO [com.arjuna.ats.jbossatx.jta.TransactionManagerService] Binding TransactionManager JNDI Reference
                      DEBUG [com.arjuna.ats.jbossatx.jta.TransactionManagerService] Started jboss:service=TransactionManager
                      DEBUG [org.jboss.system.ServiceCreator] About to create bean: jboss.jca:service=WorkManagerThreadPool with code: org.jboss.util.threadpool.BasicThreadPool
                      DEBUG [org.jboss.system.ServiceCreator] Created mbean: jboss.jca:service=WorkManagerThreadPool
                      DEBUG [org.jboss.system.ServiceConfigurator] Name set to WorkManager in jboss.jca:service=WorkManagerThreadPool
                      DEBUG [org.jboss.system.ServiceConfigurator] MaximumQueueSize set to 1024 in jboss.jca:service=WorkManagerThreadPool
                      DEBUG [org.jboss.system.ServiceConfigurator] MaximumPoolSize set to 100 in jboss.jca:service=WorkManagerThreadPool
                      DEBUG [org.jboss.system.ServiceConfigurator] KeepAliveTime set to 60000 in jboss.jca:service=WorkManagerThreadPool
                      DEBUG [org.jboss.system.ServiceController] Creating service jboss.jca:service=WorkManagerThreadPool
                      DEBUG [org.jboss.system.ServiceController] starting service jboss.jca:service=WorkManagerThreadPool
                      DEBUG [org.jboss.system.ServiceCreator] About to create bean: jboss.jca:service=WorkManager with code: org.jboss.resource.work.JBossWorkManager
                      DEBUG [org.jboss.system.ServiceCreator] Created mbean: jboss.jca:service=WorkManager
                      DEBUG [org.jboss.system.ServiceConfigurator] ThreadPoolName set to jboss.jca:service=WorkManagerThreadPool in jboss.jca:service=WorkManager
                      DEBUG [org.jboss.system.ServiceConfigurator] XATerminatorName set to jboss:service=TransactionManager in jboss.jca:service=WorkManager
                      DEBUG [org.jboss.system.ServiceController] Creating service jboss.jca:service=WorkManager
                      DEBUG [org.jboss.resource.work.JBossWorkManager] Creating jboss.jca:service=WorkManager
                      DEBUG [org.jboss.resource.work.JBossWorkManager] Created jboss.jca:service=WorkManager
                      DEBUG [org.jboss.system.ServiceController] starting service jboss.jca:service=WorkManager
                      DEBUG [org.jboss.resource.work.JBossWorkManager] Starting jboss.jca:service=WorkManager
                      DEBUG [org.jboss.resource.work.JBossWorkManager] Started jboss.jca:service=WorkManager
                      DEBUG [org.jboss.system.ServiceCreator] About to create bean: jboss.jca:service=CachedConnectionManager with code: org.jboss.resource.connectionmanager.CachedConnectionManager
                      DEBUG [org.jboss.system.ServiceCreator] Created mbean: jboss.jca:service=CachedConnectionManager
                      DEBUG [org.jboss.system.ServiceConfigurator] TransactionManagerServiceName set to jboss:service=TransactionManager in jboss.jca:service=CachedConnectionManager
                      DEBUG [org.jboss.system.ServiceConfigurator] Debug set to true in jboss.jca:service=CachedConnectionManager
                      DEBUG [org.jboss.system.ServiceController] Creating service jboss.jca:service=CachedConnectionManager
                      DEBUG [org.jboss.resource.connectionmanager.CachedConnectionManager] Creating jboss.jca:service=CachedConnectionManager
                      DEBUG [org.jboss.resource.connectionmanager.CachedConnectionManager] Created jboss.jca:service=CachedConnectionManager
                      DEBUG [org.jboss.system.ServiceController] starting service jboss.jca:service=CachedConnectionManager
                      DEBUG [org.jboss.resource.connectionmanager.CachedConnectionManager] Starting jboss.jca:service=CachedConnectionManager
                      DEBUG [org.jboss.resource.connectionmanager.CachedConnectionManager] Started jboss.jca:service=CachedConnectionManager
                      DEBUG [org.jboss.system.ServiceCreator] About to create xmbean object: jboss:service=JNDIView with code: org.jboss.naming.JNDIView with descriptor: resource:xmdesc/JNDIView-xmbean.xml
                      DEBUG [org.jboss.system.ServiceCreator] Created mbean: jboss:service=JNDIView
                      DEBUG [org.jboss.system.ServiceConfigurator] HANamingService set to jboss:service=HAJNDI in jboss:service=JNDIView
                      DEBUG [org.jboss.system.ServiceController] Creating service jboss:service=JNDIView
                      DEBUG [org.jboss.naming.JNDIView] Creating jboss:service=JNDIView
                      DEBUG [org.jboss.naming.JNDIView] Created jboss:service=JNDIView
                      DEBUG [org.jboss.system.ServiceController] starting service jboss:service=JNDIView
                      DEBUG [org.jboss.naming.JNDIView] Starting jboss:service=JNDIView
                      DEBUG [org.jboss.naming.JNDIView] Started jboss:service=JNDIView
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Deployed: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/conf/jboss-service.xml
                      DEBUG [org.jboss.embedded.adapters.LocalOnlyUserTransaction] new UserTx: org.jboss.embedded.adapters.LocalOnlyUserTransaction@1970ae0
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Add deployment context: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deployers/aspect-deployer-beans.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Scheduling deployment: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deployers/aspect-deployer-beans.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Add deployment context: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deployers/ejb3-deployers-beans.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Scheduling deployment: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deployers/ejb3-deployers-beans.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Add deployment context: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deployers/jca-deployers-beans.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Scheduling deployment: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deployers/jca-deployers-beans.xml
                      DEBUG [jboss.deployers.plugins.deployers.kernel.BeanDeployer] Parsing file: FileHandler@31889293[path=aspect-deployer-beans.xml context=file:/C:/project/libs/seam-hibernate/bootstrap/deployers/ real=file:/C:/project/libs/seam-hibernate/bootstrap/deployers/aspect-deployer-beans.xml] for deploymentType: interface org.jboss.kernel.spi.deployment.KernelDeployment
                      DEBUG [jboss.deployers.plugins.deployers.kernel.BeanDeployer] Parsed file: FileHandler@31889293[path=aspect-deployer-beans.xml context=file:/C:/project/libs/seam-hibernate/bootstrap/deployers/ real=file:/C:/project/libs/seam-hibernate/bootstrap/deployers/aspect-deployer-beans.xml] to: AbstractKernelDeployment@1a4036f{name=null installed=false beanFactories=[AbstractBeanMetaData@dd89f9{name=AspectDeployer bean=org.jboss.aop.deployers.AspectDeployer properties= constructor=null installs=[MainDeployer.addDeployer] uninstalls=[MainDeployer.removeDeployer]}]}
                      DEBUG [jboss.deployers.plugins.deployers.kernel.BeanDeployer] Parsing file: FileHandler@9263789[path=ejb3-deployers-beans.xml context=file:/C:/project/libs/seam-hibernate/bootstrap/deployers/ real=file:/C:/project/libs/seam-hibernate/bootstrap/deployers/ejb3-deployers-beans.xml] for deploymentType: interface org.jboss.kernel.spi.deployment.KernelDeployment
                      DEBUG [jboss.deployers.plugins.deployers.kernel.BeanDeployer] Parsed file: FileHandler@9263789[path=ejb3-deployers-beans.xml context=file:/C:/project/libs/seam-hibernate/bootstrap/deployers/ real=file:/C:/project/libs/seam-hibernate/bootstrap/deployers/ejb3-deployers-beans.xml] to: AbstractKernelDeployment@e2b07b{name=null installed=false beanFactories=[AbstractBeanMetaData@b05fcb{name=DefaultPersistenceProperties bean=org.jboss.ejb3.DefaultPersistenceProperties properties= constructor=null}, AbstractBeanMetaData@16136f0{name=EJBRegistrationDeployer bean=org.jboss.ejb3.deployers.EJBRegistrationDeployer properties=[defaultPersistenceProperties, mbeanServer, kernel, ignoredJarsSet] constructor=null depends=[AspectDeployer] installs=[MainDeployer.addDeployer] uninstalls=[MainDeployer.removeDeployer]}, AbstractBeanMetaData@15e00b7{name=EJBStage2Deployer bean=org.jboss.ejb3.deployers.EJBStage2Deployer properties= constructor=null depends=[AspectDeployer] installs=[MainDeployer.addDeployer] uninstalls=[MainDeployer.removeDeployer]}]}
                      DEBUG [jboss.deployers.plugins.deployers.kernel.BeanDeployer] Parsing file: FileHandler@8454539[path=jca-deployers-beans.xml context=file:/C:/project/libs/seam-hibernate/bootstrap/deployers/ real=file:/C:/project/libs/seam-hibernate/bootstrap/deployers/jca-deployers-beans.xml] for deploymentType: interface org.jboss.kernel.spi.deployment.KernelDeployment
                      DEBUG [jboss.deployers.plugins.deployers.kernel.BeanDeployer] Parsed file: FileHandler@8454539[path=jca-deployers-beans.xml context=file:/C:/project/libs/seam-hibernate/bootstrap/deployers/ real=file:/C:/project/libs/seam-hibernate/bootstrap/deployers/jca-deployers-beans.xml] to: AbstractKernelDeployment@16b98c3{name=null installed=false beanFactories=[AbstractBeanMetaData@fa54fe{name=JCAMetaDataRepository bean=org.jboss.resource.metadata.repository.DefaultJCAMetaDataRepository properties= constructor=null}, AbstractBeanMetaData@e20ef8{name=RARParserDeployer bean=org.jboss.resource.deployers.RARParserDeployer properties=[type, metaDataRepository] constructor=null installs=[MainDeployer.addDeployer] uninstalls=[MainDeployer.removeDeployer]}, AbstractBeanMetaData@144e858{name=RARDeployer bean=org.jboss.resource.deployers.RARDeployer properties=[workManagerName, XATerminatorName, type] constructor=null installs=[MainDeployer.addDeployer] uninstalls=[MainDeployer.removeDeployer]}, AbstractBeanMetaData@f1f34a{name=ConnectionFactoryDeployer bean=org.jboss.system.deployers.ServiceXSLDeployer properties=[type, suffix, XSLPath] constructor=null installs=[MainDeployer.addDeployer] uninstalls=[MainDeployer.removeDeployer]}]}
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component AspectDeployer to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deployers/aspect-deployer-beans.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component DefaultPersistenceProperties to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deployers/ejb3-deployers-beans.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component EJBRegistrationDeployer to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deployers/ejb3-deployers-beans.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component EJBStage2Deployer to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deployers/ejb3-deployers-beans.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component JCAMetaDataRepository to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deployers/jca-deployers-beans.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component RARParserDeployer to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deployers/jca-deployers-beans.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component RARDeployer to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deployers/jca-deployers-beans.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component ConnectionFactoryDeployer to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deployers/jca-deployers-beans.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Added deployer: org.jboss.aop.deployers.AspectDeployer@ba175f
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Added deployer: org.jboss.ejb3.deployers.EJBRegistrationDeployer@92af24
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Added deployer: org.jboss.ejb3.deployers.EJBStage2Deployer@57f57f
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Added deployer: org.jboss.resource.deployers.RARParserDeployer@15291cd
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Added deployer: org.jboss.resource.deployers.RARDeployer@15726ec
                      DEBUG [org.jboss.system.deployers.ServiceXSLDeployer] Created templates: com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl@6c9f0f
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Added deployer: org.jboss.system.deployers.ServiceXSLDeployer@13ec758
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Deployed: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deployers/aspect-deployer-beans.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Deployed: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deployers/ejb3-deployers-beans.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Deployed: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deployers/jca-deployers-beans.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Add deployment context: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/ejb3-interceptors-aop.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Scheduling deployment: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/ejb3-interceptors-aop.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Add deployment context: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/hsqldb-ds.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Scheduling deployment: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/hsqldb-ds.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Add deployment context: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/jboss-local-jdbc.rar
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Scheduling deployment: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/jboss-local-jdbc.rar
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Add deployment context: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/jboss-xa-jdbc.rar
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Scheduling deployment: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/jboss-xa-jdbc.rar
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Add deployment context: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/jms-ra.rar
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Scheduling deployment: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/jms-ra.rar
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Add deployment context: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/messaging/connection-factories-service.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Scheduling deployment: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/messaging/connection-factories-service.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Add deployment context: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/messaging/destinations-service.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Scheduling deployment: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/messaging/destinations-service.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Add deployment context: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/messaging/hsqldb-persistence-service.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Scheduling deployment: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/messaging/hsqldb-persistence-service.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Add deployment context: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/messaging/jms-ds.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Scheduling deployment: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/messaging/jms-ds.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Add deployment context: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/messaging/legacy-service.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Scheduling deployment: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/messaging/legacy-service.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Add deployment context: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/messaging/messaging-service.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Scheduling deployment: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/messaging/messaging-service.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Add deployment context: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/messaging/remoting-service.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Scheduling deployment: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/messaging/remoting-service.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Add deployment context: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/remoting-service.xml
                      DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Scheduling deployment: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/remoting-service.xml
                      DEBUG [org.jboss.system.deployers.ServiceXSLDeployer] Transformed hsqldb-ds.xml into <server>
                       <mbean code='org.jboss.resource.connectionmanager.TxConnectionManager' display-name='ConnectionManager for DataSource DefaultDS' name='jboss.jca:service=LocalTxCM,name=DefaultDS'>
                       <attribute name='TrackConnectionByTx'>true</attribute>
                       <attribute name='LocalTransactions'>true</attribute>
                       <depends optional-attribute-name='ManagedConnectionPool'>
                       <mbean code='org.jboss.resource.connectionmanager.JBossManagedConnectionPool' display-name='Connection Pool for DataSource DefaultDS' name='jboss.jca:service=ManagedConnectionPool,name=DefaultDS'>
                       <depends optional-attribute-name='ManagedConnectionFactoryName'>
                       <mbean code='org.jboss.resource.connectionmanager.RARDeployment' display-name='ManagedConnectionFactory for DataSource DefaultDS' name='jboss.jca:service=ManagedConnectionFactory,name=DefaultDS'>
                       <depends>jboss:service=Hypersonic,database=localDB</depends>
                       <depends optional-attribute-name='OldRarDeployment'>jboss.jca:service=RARDeployment,name='jboss-local-jdbc.rar'</depends>
                       <attribute name='RARName'/>
                       <attribute name='ConnectionDefinition'>javax.sql.DataSource</attribute>
                       <attribute name='ManagedConnectionFactoryProperties'>
                       <properties>
                       <config-property name='ConnectionURL' type='java.lang.String'>jdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}localDB</config-property>
                       <config-property name='DriverClass' type='java.lang.String'>org.hsqldb.jdbcDriver</config-property>
                       <config-property name='UserName' type='java.lang.String'>sa</config-property>
                       <config-property name='Password' type='java.lang.String'></config-property>
                       <config-property name='TrackStatements' type='java.lang.String'></config-property>
                       <config-property name='PreparedStatementCacheSize' type='int'>32</config-property>
                       <config-property name='ValidateOnMatch' type='boolean'>true</config-property>
                       </properties>
                       </attribute>
                       </mbean>
                       </depends>
                       <attribute name='PoolJndiName'>DefaultDS</attribute>
                       <attribute name='MinSize'>0</attribute>
                       <attribute name='MaxSize'>20</attribute>
                       <attribute name='BlockingTimeoutMillis'>30000</attribute>
                       <attribute name='IdleTimeoutMinutes'>0</attribute>
                       <attribute name='BackGroundValidation'>False</attribute>
                       <attribute name='BackGroundValidationMinutes'>10</attribute>
                       <attribute name='PreFill'>False</attribute>
                       <attribute name='StrictMin'>False</attribute>
                       <attribute name='StatisticsFormatter'>org.jboss.resource.statistic.pool.JBossDefaultSubPoolStatisticFormatter</attribute>
                       <attribute name='Criteria'>ByContainer</attribute>
                       </mbean>
                       </depends>
                       <attribute name='JndiName'>DefaultDS</attribute>
                       <depends optional-attribute-name='CachedConnectionManager'>jboss.jca:service=CachedConnectionManager</depends>
                       <attribute name='SecurityDomainJndiName'>HsqlDbRealm</attribute>
                       <depends optional-attribute-name='JaasSecurityManagerService'>jboss.security:service=JaasSecurityManager</depends>
                       <depends optional-attribute-name='TransactionManagerService'>jboss:service=TransactionManager</depends>
                       </mbean>
                       <mbean code='org.jboss.resource.connectionmanager.ConnectionFactoryBindingService' display-name='Binding for ConnectionFactory DefaultDS' name='jboss.jca:service=DataSourceBinding,name=DefaultDS'>
                       <attribute name='JndiName'>DefaultDS</attribute>
                       <attribute name='UseJavaContext'>true</attribute>
                       <depends optional-attribute-name='ConnectionManager'>jboss.jca:service=LocalTxCM,name=DefaultDS</depends>
                       </mbean>
                       <mbean code='org.jboss.jdbc.HypersonicDatabase' name='jboss:service=Hypersonic,database=localDB'>
                       <attribute name='Database'>localDB</attribute>
                       <attribute name='InProcessMode'>true</attribute>
                       </mbean>
                      </server>
                      DEBUG [org.jboss.system.deployers.ServiceXSLDeployer] Transformed messaging/jms-ds.xml into <server>
                       <mbean code='org.jboss.jms.jndi.JMSProviderLoader' name='jboss.messaging:service=JMSProviderLoader,name=JMSProvider'>
                       <attribute name='ProviderName'>DefaultJMSProvider</attribute>
                       <attribute name='ProviderAdapterClass'>org.jboss.jms.jndi.JNDIProviderAdapter</attribute>
                       <attribute name='FactoryRef'>java:/XAConnectionFactory</attribute>
                       <attribute name='QueueFactoryRef'>java:/XAConnectionFactory</attribute>
                       <attribute name='TopicFactoryRef'>java:/XAConnectionFactory</attribute>
                       </mbean>
                       <mbean code='org.jboss.jms.asf.ServerSessionPoolLoader' name='jboss.messaging:service=ServerSessionPoolMBean,name=StdJMSPool'>
                       <depends optional-attribute-name='XidFactory'>jboss:service=XidFactory</depends>
                       <attribute name='PoolName'>StdJMSPool</attribute>
                       <attribute name='PoolFactoryClass'>org.jboss.jms.asf.StdServerSessionPoolFactory</attribute>
                       </mbean>
                       <mbean code='org.jboss.resource.connectionmanager.TxConnectionManager' display-name='ConnectionManager for ConnectionFactory JmsXA' name='jboss.jca:service=TxCM,name=JmsXA'>
                       <attribute name='TrackConnectionByTx'>false</attribute>
                       <attribute name='LocalTransactions'>false</attribute>
                       <attribute name='WrapXAResource'>false</attribute>
                       <attribute name='PadXid'>false</attribute>
                       <depends optional-attribute-name='ManagedConnectionPool'>
                       <mbean code='org.jboss.resource.connectionmanager.JBossManagedConnectionPool' display-name='Connection Pool for DataSource JmsXA' name='jboss.jca:service=ManagedConnectionPool,name=JmsXA'>
                       <depends optional-attribute-name='ManagedConnectionFactoryName'>
                       <mbean code='org.jboss.resource.connectionmanager.RARDeployment' display-name='ManagedConnectionFactory for ConnectionFactory JmsXA' name='jboss.jca:service=ManagedConnectionFactory,name=JmsXA'>
                       <depends>jboss.messaging:service=ServerPeer</depends>
                       <attribute name='ManagedConnectionFactoryProperties'>
                       <properties>
                       <config-property name='SessionDefaultType' type='java.lang.String'>javax.jms.Topic</config-property>
                       <config-property name='JmsProviderAdapterJNDI' type='java.lang.String'>java:/DefaultJMSProvider</config-property>
                       </properties>
                       </attribute>
                       <attribute name='RARName'>jms-ra.rar</attribute>
                       <attribute name='ConnectionDefinition'>org.jboss.resource.adapter.jms.JmsConnectionFactory</attribute>
                       <depends optional-attribute-name='OldRarDeployment'>jboss.jca:service=RARDeployment,name='jms-ra.rar'</depends>
                       </mbean>
                       </depends>
                       <attribute name='PoolJndiName'>JmsXA</attribute>
                       <attribute name='MinSize'>0</attribute>
                       <attribute name='MaxSize'>20</attribute>
                       <attribute name='BlockingTimeoutMillis'>30000</attribute>
                       <attribute name='IdleTimeoutMinutes'>15</attribute>
                       <attribute name='BackGroundValidation'>False</attribute>
                       <attribute name='BackGroundValidationMinutes'>10</attribute>
                       <attribute name='PreFill'>False</attribute>
                       <attribute name='StrictMin'>False</attribute>
                       <attribute name='StatisticsFormatter'>org.jboss.resource.statistic.pool.JBossDefaultSubPoolStatisticFormatter</attribute>
                       <attribute name='Criteria'>ByContainerAndApplication</attribute>
                       </mbean>
                       </depends>
                       <attribute name='JndiName'>JmsXA</attribute>
                       <depends optional-attribute-name='CachedConnectionManager'>jboss.jca:service=CachedConnectionManager</depends>
                       <attribute name='SecurityDomainJndiName'>JmsXARealm</attribute>
                       <depends optional-attribute-name='JaasSecurityManagerService'>jboss.security:service=JaasSecurityManager</depends>
                       <depends optional-attribute-name='TransactionManagerService'>jboss:service=TransactionManager</depends>
                       </mbean>
                       <mbean code='org.jboss.resource.connectionmanager.ConnectionFactoryBindingService' display-name='Binding for ConnectionFactory JmsXA' name='jboss.jca:service=DataSourceBinding,name=JmsXA'>
                       <attribute name='JndiName'>JmsXA</attribute>
                       <attribute name='UseJavaContext'>true</attribute>
                       <depends optional-attribute-name='ConnectionManager'>jboss.jca:service=TxCM,name=JmsXA</depends>
                       </mbean>
                      </server>
                      DEBUG [org.jboss.aop.deployers.AspectDeployer] deploying: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/ejb3-interceptors-aop.xml
                      DEBUG [org.jboss.ejb3.deployers.EJBRegistrationDeployer] ********* EJBRegistrationDepoyer Begin Unit: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/jboss-local-jdbc.rar jar: jboss-local-jdbc.rar
                      DEBUG [org.jboss.ejb3.Ejb3Deployment] EJB3 deployment time took: 62
                      DEBUG [org.jboss.ejb3.deployers.EJBRegistrationDeployer] ********* EJBRegistrationDepoyer Begin Unit: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/jboss-xa-jdbc.rar jar: jboss-xa-jdbc.rar
                      DEBUG [org.jboss.ejb3.Ejb3Deployment] EJB3 deployment time took: 0
                      DEBUG [org.jboss.ejb3.deployers.EJBRegistrationDeployer] ********* EJBRegistrationDepoyer Begin Unit: vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/jms-ra.rar jar: jms-ra.rar
                      DEBUG [org.jboss.ejb3.Ejb3Deployment] EJB3 deployment time took: 16
                      DEBUG [org.jboss.system.deployers.ServiceDeploymentDeployer] <server>
                       <mbean code='org.jboss.resource.connectionmanager.TxConnectionManager' display-name='ConnectionManager for DataSource DefaultDS' name='jboss.jca:service=LocalTxCM,name=DefaultDS'>
                       <attribute name='TrackConnectionByTx'>true</attribute>
                       <attribute name='LocalTransactions'>true</attribute>
                       <depends optional-attribute-name='ManagedConnectionPool'>
                       <mbean code='org.jboss.resource.connectionmanager.JBossManagedConnectionPool' display-name='Connection Pool for DataSource DefaultDS' name='jboss.jca:service=ManagedConnectionPool,name=DefaultDS'>
                       <depends optional-attribute-name='ManagedConnectionFactoryName'>
                       <mbean code='org.jboss.resource.connectionmanager.RARDeployment' display-name='ManagedConnectionFactory for DataSource DefaultDS' name='jboss.jca:service=ManagedConnectionFactory,name=DefaultDS'>
                       <depends>jboss:service=Hypersonic,database=localDB</depends>
                       <depends optional-attribute-name='OldRarDeployment'>jboss.jca:service=RARDeployment,name='jboss-local-jdbc.rar'</depends>
                       <attribute name='RARName'/>
                       <attribute name='ConnectionDefinition'>javax.sql.DataSource</attribute>
                       <attribute name='ManagedConnectionFactoryProperties'>
                       <properties>
                       <config-property name='ConnectionURL' type='java.lang.String'>jdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}localDB</config-property>
                       <config-property name='DriverClass' type='java.lang.String'>org.hsqldb.jdbcDriver</config-property>
                       <config-property name='UserName' type='java.lang.String'>sa</config-property>
                       <config-property name='Password' type='java.lang.String'></config-property>
                       <config-property name='TrackStatements' type='java.lang.String'></config-property>
                       <config-property name='PreparedStatementCacheSize' type='int'>32</config-property>
                       <config-property name='ValidateOnMatch' type='boolean'>true</config-property>
                       </properties>
                       </attribute>
                       </mbean>
                       </depends>
                       <attribute name='PoolJndiName'>DefaultDS</attribute>
                       <attribute name='MinSize'>0</attribute>
                       <attribute name='MaxSize'>20</attribute>
                       <attribute name='BlockingTimeoutMillis'>30000</attribute>
                       <attribute name='IdleTimeoutMinutes'>0</attribute>
                       <attribute name='BackGroundValidation'>False</attribute>
                       <attribute name='BackGroundValidationMinutes'>10</attribute>
                       <attribute name='PreFill'>False</attribute>
                       <attribute name='StrictMin'>False</attribute>
                       <attribute name='StatisticsFormatter'>org.jboss.resource.statistic.pool.JBossDefaultSubPoolStatisticFormatter</attribute>
                       <attribute name='Criteria'>ByContainer</attribute>
                       </mbean>
                       </depends>
                       <attribute name='JndiName'>DefaultDS</attribute>
                       <depends optional-attribute-name='CachedConnectionManager'>jboss.jca:service=CachedConnectionManager</depends>
                       <attribute name='SecurityDomainJndiName'>HsqlDbRealm</attribute>
                       <depends optional-attribute-name='JaasSecurityManagerService'>jboss.security:service=JaasSecurityManager</depends>
                       <depends optional-attribute-name='TransactionManagerService'>jboss:service=TransactionManager</depends>
                       </mbean>
                       <mbean code='org.jboss.resource.connectionmanager.ConnectionFactoryBindingService' display-name='Binding for ConnectionFactory DefaultDS' name='jboss.jca:service=DataSourceBinding,name=DefaultDS'>
                       <attribute name='JndiName'>DefaultDS</attribute>
                       <attribute name='UseJavaContext'>true</attribute>
                       <depends optional-attribute-name='ConnectionManager'>jboss.jca:service=LocalTxCM,name=DefaultDS</depends>
                       </mbean>
                       <mbean code='org.jboss.jdbc.HypersonicDatabase' name='jboss:service=Hypersonic,database=localDB'>
                       <attribute name='Database'>localDB</attribute>
                       <attribute name='InProcessMode'>true</attribute>
                       </mbean>
                      </server>
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component jboss.jca:name=DefaultDS,service=ManagedConnectionFactory to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/hsqldb-ds.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component jboss.jca:name=DefaultDS,service=ManagedConnectionPool to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/hsqldb-ds.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component jboss.jca:name=DefaultDS,service=LocalTxCM to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/hsqldb-ds.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component jboss.jca:name=DefaultDS,service=DataSourceBinding to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/hsqldb-ds.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component jboss:database=localDB,service=Hypersonic to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/hsqldb-ds.xml
                      DEBUG [org.jboss.system.deployers.ServiceDeploymentDeployer] <server>
                       <mbean code='org.jboss.jms.server.connectionfactory.ConnectionFactory' name='jboss.messaging.connectionfactory:service=ConnectionFactory' xmbean-dd='xmdesc/ConnectionFactory-xmbean.xml'>
                       <depends optional-attribute-name='ServerPeer'>jboss.messaging:service=ServerPeer</depends>
                       <depends optional-attribute-name='Connector'>jboss.messaging:service=Connector,transport=bisocket</depends>
                       <depends>jboss.messaging:service=PostOffice</depends>
                       <attribute name='JNDIBindings'>
                       <bindings>
                       <binding>/ConnectionFactory</binding>
                       <binding>/XAConnectionFactory</binding>
                       <binding>java:/ConnectionFactory</binding>
                       <binding>java:/XAConnectionFactory</binding>
                       </bindings>
                       </attribute>
                       </mbean>
                      </server>
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component jboss.messaging.connectionfactory:service=ConnectionFactory to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/messaging/connection-factories-service.xml
                      DEBUG [org.jboss.system.deployers.ServiceDeploymentDeployer] <server>
                       <!--
                       The Default Dead Letter Queue. This destination is a dependency of an EJB MDB container.
                       -->
                       <mbean code='org.jboss.jms.server.destination.QueueService' name='jboss.messaging.destination:service=Queue,name=DLQ' xmbean-dd='xmdesc/Queue-xmbean.xml'>
                       <depends optional-attribute-name='ServerPeer'>jboss.messaging:service=ServerPeer</depends>
                       <depends>jboss.messaging:service=PostOffice</depends>
                       </mbean>
                       <!--
                       The Default Expiry Queue.
                       -->
                       <mbean code='org.jboss.jms.server.destination.QueueService' name='jboss.messaging.destination:service=Queue,name=ExpiryQueue' xmbean-dd='xmdesc/Queue-xmbean.xml'>
                       <depends optional-attribute-name='ServerPeer'>jboss.messaging:service=ServerPeer</depends>
                       <depends>jboss.messaging:service=PostOffice</depends>
                       </mbean>
                       <!--
                       Example destinations.
                       -->
                       <!-- It's possible for indiviual queues and topics to use a specific queue for
                       an expiry or DLQ -->
                       <mbean code='org.jboss.jms.server.destination.QueueService' name='jboss.messaging.destination:service=Queue,name=PrivateDLQ' xmbean-dd='xmdesc/Queue-xmbean.xml'>
                       <depends optional-attribute-name='ServerPeer'>jboss.messaging:service=ServerPeer</depends>
                       <depends>jboss.messaging:service=PostOffice</depends>
                       </mbean>
                       <mbean code='org.jboss.jms.server.destination.QueueService' name='jboss.messaging.destination:service=Queue,name=PrivateExpiryQueue' xmbean-dd='xmdesc/Queue-xmbean.xml'>
                       <depends optional-attribute-name='ServerPeer'>jboss.messaging:service=ServerPeer</depends>
                       <depends>jboss.messaging:service=PostOffice</depends>
                       </mbean>
                       <mbean code='org.jboss.jms.server.destination.QueueService' name='jboss.messaging.destination:service=Queue,name=QueueWithOwnDLQAndExpiryQueue' xmbean-dd='xmdesc/Queue-xmbean.xml'>
                       <depends optional-attribute-name='ServerPeer'>jboss.messaging:service=ServerPeer</depends>
                       <depends>jboss.messaging:service=PostOffice</depends>
                       <attribute name='DLQ'>jboss.messaging.destination:service=Queue,name=PrivateDLQ</attribute>
                       <attribute name='ExpiryQueue'>jboss.messaging.destination:service=Queue,name=PrivateExpiryQueue</attribute>
                       </mbean>
                       <mbean code='org.jboss.jms.server.destination.TopicService' name='jboss.messaging.destination:service=Topic,name=TopicWithOwnDLQAndExpiryQueue' xmbean-dd='xmdesc/Topic-xmbean.xml'>
                       <depends optional-attribute-name='ServerPeer'>jboss.messaging:service=ServerPeer</depends>
                       <depends>jboss.messaging:service=PostOffice</depends>
                       <attribute name='DLQ'>jboss.messaging.destination:service=Queue,name=PrivateDLQ</attribute>
                       <attribute name='ExpiryQueue'>jboss.messaging.destination:service=Queue,name=PrivateExpiryQueue</attribute>
                       </mbean>
                       <!-- Queues and Topics can also specify their own redelivery delay -->
                       <mbean code='org.jboss.jms.server.destination.QueueService' name='jboss.messaging.destination:service=Queue,name=QueueWithOwnRedeliveryDelay' xmbean-dd='xmdesc/Queue-xmbean.xml'>
                       <depends optional-attribute-name='ServerPeer'>jboss.messaging:service=ServerPeer</depends>
                       <depends>jboss.messaging:service=PostOffice</depends>
                       <attribute name='RedeliveryDelay'>5000</attribute>
                       </mbean>
                       <mbean code='org.jboss.jms.server.destination.TopicService' name='jboss.messaging.destination:service=Topic,name=TopicWithOwnRedeliveryDelay' xmbean-dd='xmdesc/Topic-xmbean.xml'>
                       <depends optional-attribute-name='ServerPeer'>jboss.messaging:service=ServerPeer</depends>
                       <depends>jboss.messaging:service=PostOffice</depends>
                       <attribute name='RedeliveryDelay'>5000</attribute>
                       </mbean>
                      </server>
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component jboss.messaging.destination:name=DLQ,service=Queue to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/messaging/destinations-service.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component jboss.messaging.destination:name=ExpiryQueue,service=Queue to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/messaging/destinations-service.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component jboss.messaging.destination:name=PrivateDLQ,service=Queue to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/messaging/destinations-service.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component jboss.messaging.destination:name=PrivateExpiryQueue,service=Queue to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/messaging/destinations-service.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component jboss.messaging.destination:name=QueueWithOwnDLQAndExpiryQueue,service=Queue to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/messaging/destinations-service.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component jboss.messaging.destination:name=TopicWithOwnDLQAndExpiryQueue,service=Topic to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/messaging/destinations-service.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component jboss.messaging.destination:name=QueueWithOwnRedeliveryDelay,service=Queue to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/messaging/destinations-service.xml
                      DEBUG [org.jboss.deployers.plugins.structure.AbstractDeploymentContext] Added component jboss.messaging.destination:name=TopicWithOwnRedeliveryDelay,service=Topic to vfsfile:/C:/project/libs/seam-hibernate/bootstrap/deploy/messaging/destinations-service.xml
                      DEBUG [org.jboss.system.deployers.ServiceDeploymentDeployer] <server>
                       <mbean code='org.jboss.messaging.core.plugin.JDBCPersistenceManagerService' name='jboss.messaging:service=PersistenceManager' xmbean-dd='xmdesc/JDBCPersistenceManager-xmbean.xml'>
                       <depends>jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>
                       <depends optional-attribute-name='TransactionManager'>jboss:service=TransactionManager</depends>
                       <attribute name='DataSource'>java:/DefaultDS</attribute>
                       <attribute name='CreateTablesOnStartup'>true</attribute>
                       <attribute name='UsingBatchUpdates'>false</attribute>
                       <attribute name='MaxParams'>500</attribute>
                       </mbean>
                       <!-- Note that Hypersonic CANNOT be used for clustered post offices -->
                       <mbean code='org.jboss.messaging.core.plugin.DefaultPostOfficeService' name='jboss.messaging:service=PostOffice' xmbean-dd='xmdesc/DefaultPostOffice-xmbean.xml'>
                       <depends optional-attribute-name='ServerPeer'>jboss.messaging:service=ServerPeer</depends>
                       <depends>jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>
                       <depends optional-attribute-name='TransactionManager'>jboss:service=TransactionManager</depends>
                       <attribute name='PostOfficeName'>JMS</attribute>
                       <attribute name='DataSource'>java:/DefaultDS</attribute>
                       <attribute name='CreateTablesOnStartup'>true</attribute>
                       </mbean>
                       <mbean code='org.jboss.jms.server.plugin.JDBCJMSUserManagerService' name='jboss.messaging:s


                      • 8. Re: SeamTest Unit Tests Working...But Not Integration Tests

                        Problem solved. I think. And you will never guess in a million years what the issue was.

                        When I started this thread, my setup was all wrong from the perspective of SeamTest. I had an existing project, so seam-gen wasn't an option. Once I ran into trouble though, I used it to show me what things should look like as a model for my own setup. Eventually, I got things looking identical, yet my TestNG XML suite file would fail while the generated one would pass. Moreover, no matter what changes I was making, I continued to fail with the same error--that NPE I began the thread with.

                        So it dawned on me that, at least at this point, maybe the way I was running the tests was causing the problem rather than my configuration. Sure enough, once I removed the following from my suite file, everything worked:

                        <groups>
                         <run>
                         <include name="integration.test"/>
                         </run>
                        </groups>
                        


                        That's it. Granted my configuration was messed up to start with, but all the problems I had for the last week were due to this issue. When I put the groups element back in, I get that NPE again.

                        I don't know whether this is a bug or a side effect of some other configuration issue that hasn't been exposed otherwise yet. Still, I do find it odd that something about the way TestNG runs groups causes SeamTest to fail--at least for me.

                        Thanks, Pete, for trying to help, and thanks to all who read the thread.