1 Reply Latest reply on Aug 26, 2008 4:13 AM by sjmenden

    Are Seam examples tests (2.0.3.CR1) really work?

    hipa

      I tried running tests from Seam examples, almost everywhere I have error like this:
      test:
         [testng] [Parser] Running:
         [testng]   /opt/jboss-seam-2.0.3.CR1/examples/booking/src/org/jboss/seam/example/booking/test/testng.xml
         [testng]
         [testng] ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Instantiated: name=jboss:service=TransactionManager state=Described mode=Manual requiredState=Configured
         [testng] org.jboss.deployment.DeploymentException: Unable to createMBean for jboss:service=TransactionManager
         [testng]     at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:52)
         [testng]     at org.jboss.system.ServiceCreator.install(ServiceCreator.java:141)
         [testng]     at org.jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:45)
         [testng]     at org.jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:37)
         [testng]     at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

        • 1. Re: Are Seam examples tests (2.0.3.CR1) really work?
          sjmenden

          JBoss Embedded doesn't work out of the box with JDK6, so if you are running JDK6, run JDK5.  Otherwise you can add -Dsun.lang.ClassLoader.allowArraySyntax=true  to the testng starting if you want to continue with JDK6.


          And, if you are already running JDK5 (Seeing how many times I can say JDK in one post) the post the full stacktrace.