1 Reply Latest reply on Feb 5, 2010 11:00 AM by jyothi a

    TESTNG is failing

    maneesh ts Newbie
      Hi all,

      I am new to seam i created a seam application in jboss developer studio with 2 seam forms (hello,mapentry) i am able to see the welcome page and hello.xhtml but when am running TestNG to test the application it is throwing folowing exception.

      Running: /root/workspace/xOta-test/temp-testng-customsuite.xml

      ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController Error installing to Described: name BeanDeployer state  PreInstal   java.lang.RuntimeException: java.lang.reflect.UndeclaredThrowableException Caused by: java.lang.reflect.UndeclaredThrowableException
      java.lang.ClassNotFoundException: [Ljava.lang.Class;
      ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Described: name=KernelDeploymentDeployer state=PreInstall
      java.lang.RuntimeException: java.lang.reflect.UndeclaredThrowableException
      Caused by: java.lang.reflect.UndeclaredThrowableException
      Caused by: java.lang.ClassNotFoundException: [Ljava.lang.Class;
      ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Described: name=BeanMetaDataDeployer state=PreInstall
      java.lang.RuntimeException: java.lang.reflect.UndeclaredThrowableException

      FAILED CONFIGURATION: @BeforeSuite startSeam
      org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

      *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}

      UserTransactionBinding
      -> UserTransaction{Configured:**ERROR**}

      UserTransactionBinding2
      -> UserTransaction{Configured:**ERROR**}


      *** CONTEXTS IN ERROR: Name -> Error

      SARDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;

      ServiceDeploymentDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;

      ServiceClassLoaderDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;

      BeanDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;

      ServiceDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;

      BeanMetaDataDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;

      UserTransaction -> java.lang.RuntimeException: Unable to locate the transaction manager

      KernelDeploymentDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;

      SKIPPED CONFIGURATION: @BeforeClass setupClass
      SKIPPED CONFIGURATION: @BeforeMethod begin
      SKIPPED CONFIGURATION: @AfterMethod end
      SKIPPED CONFIGURATION: @AfterClass cleanupClass
      SKIPPED: test_hello

      ===============================================
          org.domain.xota.test.HelloTest
          Tests run: 1, Failures: 0, Skips: 1
          Configuration Failures: 1, Skips: 4
      ===============================================


      ===============================================
      xOta-test
      Total tests run: 1, Failures: 0, Skips: 1
      Configuration Failures: 1, Skips: 5
      ===============================================