2 Replies Latest reply on Mar 28, 2010 2:37 PM by mwringe

    Errors with GateIn build deployment to JBoss AS

      I have downloaded the GateIn 3.0.0-GA source code. built, and tried to deploy per the steps outlined in http://community.jboss.org/wiki/GateInbuildinstallrunandmore. The builds have been successful, but when I tried to deploy using mvn install -Ppkg-jbossas, and got the error messages below:

       

      Test set: org.exoplatform.commons.chromattic.ChromatticIntegrationTestCase

      -------------------------------------------------------------------------------

      Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 3.099 sec <<< FAILURE!

      testPersistence(org.exoplatform.commons.chromattic.ChromatticIntegrationTestCase)  Time elapsed: 0.06 sec  <<< ERROR!

      java.lang.ExceptionInInitializerError

          at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionManagerImple.suspend(TransactionManagerImple.java:62)

          at org.exoplatform.services.jcr.impl.dataflow.persistent.TxIsolatedOperation.perform(TxIsolatedOperation.java:206)

          at org.exoplatform.services.jcr.impl.dataflow.persistent.CacheableWorkspaceDataManager.save(CacheableWorkspaceDataManager.java:454)

          at org.exoplatform.services.jcr.impl.dataflow.persistent.ACLInheritanceSupportedWorkspaceDataManager.save(ACLInheritanceSupportedWorkspaceDataManager.java:216)

          at org.exoplatform.services.jcr.impl.dataflow.persistent.VersionableWorkspaceDataManager.save(VersionableWorkspaceDataManager.java:235)

          at org.exoplatform.services.jcr.impl.dataflow.session.TransactionableDataManager.save(TransactionableDataManager.java:357)

          at org.exoplatform.services.jcr.impl.core.SessionDataManager.commit(SessionDataManager.java:1294)

          at org.exoplatform.services.jcr.impl.core.ItemImpl.save(ItemImpl.java:649)

          at org.exoplatform.services.jcr.impl.core.SessionImpl.save(SessionImpl.java:934)

          at org.exoplatform.commons.chromattic.PortalSessionLifeCycle.save(PortalSessionLifeCycle.java:56)

          at org.chromattic.core.jcr.SessionWrapperImpl.save(SessionWrapperImpl.java:253)

          at org.chromattic.core.DomainSessionImpl._save(DomainSessionImpl.java:513)

          at org.chromattic.core.DomainSession.save(DomainSession.java:140)

          at org.chromattic.core.api.ChromatticSessionImpl.save(ChromatticSessionImpl.java:178)

          at org.exoplatform.commons.chromattic.ChromatticIntegrationTestCase.testPersistence(ChromatticIntegrationTestCase.java:227)

      Caused by: com.arjuna.common.util.exceptions.LogConfigurationException: User-specified log class 'com.arjuna.common.internal.util.logging.jakarta.Log4JLogger' cannot be found or is not useable.

          at com.arjuna.common.internal.util.logging.jakarta.JakartaLogFactory.getLog(JakartaLogFactory.java:96)

          at com.arjuna.common.util.logging.LogFactory.getLogNoi18n(LogFactory.java:191)

          at com.arjuna.ats.jta.logging.jtaLogger.<clinit>(jtaLogger.java:57)

          ... 42 more

       

      testTwoLifeCycleWithSameRepository(org.exoplatform.commons.chromattic.ChromatticIntegrationTestCase)  Time elapsed: 0.007 sec  <<< ERROR!

      java.lang.IllegalStateException: Request already started

          at org.exoplatform.commons.chromattic.ChromatticManager.beginRequest(ChromatticManager.java:89)

          at org.exoplatform.commons.chromattic.ChromatticIntegrationTestCase.testTwoLifeCycleWithSameRepository(ChromatticIntegrationTestCase.java:240)

       

      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] There are test failures.

       

      There is no gatein.ear package deployed into the JBoss AS.

       

      Any ideas?

       

      Thanks.

        • 1. Re: Errors with GateIn build deployment to JBoss AS

          I have also tried with GateIn sources (zip)    3.0 FINAL    2010-03-15, and got the same error. Attached please find the file for the 2 errors that are related with failed packaging::

           

          GateIn-3.0.0-FINAL-src\GateIn-3.0.0-GA>mvn install -Ppkg-jbossas

           

          Tests run: 57, Failures: 0, Errors: 2, Skipped: 0

           

          [INFO] ------------------------------------------------------------------------
          [ERROR] BUILD FAILURE
          [INFO] ------------------------------------------------------------------------
          [INFO] There are test failures.

           

          Was wondering if any of you have been successfully built the source files? If you have, could you please share how you have made it happened.

           

          One of the challenges that I have found about the FOSS is that, when you have 10 people about the same question, you probably get 11 answers. That's probably why the business people would be willing to pay to get proprietary software since there is probably one answer, regardless whether it's the best solution or not.

           

          Thanks.

          • 2. Re: Errors with GateIn build deployment to JBoss AS
            mwringe

            Can you try building from the main root using 'mvn clean install'

            Then change the directory to packaging, and try 'mvn install -Ppkg-jbossas'

             

            Does it still fail with that?

             

            If you want to build GateIn and not have to run all the tests, you can skip the tests with -Dmaven.test.skip=true

            Or you can just use the GateIn binary and not have to worry about bulding it from source.