[gatein-issues] [JBoss JIRA] Created: (GTNPORTAL-696) Failure in GateIn unit tests on different DB than hsqldb

Michal Vanco (JIRA) jira-events at lists.jboss.org
Fri Feb 19 07:44:10 EST 2010


Failure in GateIn unit tests on different DB than hsqldb
--------------------------------------------------------

                 Key: GTNPORTAL-696
                 URL: https://jira.jboss.org/jira/browse/GTNPORTAL-696
             Project: GateIn Portal
          Issue Type: Task
          Components: Common integration, Identity integration, JCR integration
         Environment: GateIn trunk version (rev. 1777)
PostgreSQL 8.2-504
maven 2.2.1
jdk1.6.0_15
            Reporter: Michal Vanco
         Attachments: log_unit_tests_postgresql.txt

I'm trying to run unit tests on different DBs than HSQL, but get an error in ChromatticIntegrationTestCase.

I tried it with PostgreSQL and MySQL and have the same result.

Procedure is following:
 - use current version of GateIn from http://anonsvn.jboss.org/repos/gatein/portal/trunk
 - change hibernate dialect in component/test/organization/src/main/resources/conf/exo.portal.component.test.organization-configuration.xml
 - change driver, url, user and passw in component/identity/src/test/java/conf/portal/test-configuration.xml
 - change driver, url, user, passw and idm dialect in component/identity/src/test/java/conf/portal/idm-configuration.xml
 - change driver, url, user, passw and hibernate dialect in component/resources/src/test/java/conf/portal/testjcr/test-jcr-configuration.xml
 - change driver, url, user and passw in component/test/core/src/main/resources/conf/portal-configuration.xml
 - add repository with jdbc drivers and dependency of jdbc connector to main pom.xml

 - then run tests with mvn clean test

In ChromatticIntegrationTestCase get the following error:
14225 [main] ERROR jcr.TxIsolatedOperation - Rollback error 
java.lang.IllegalStateException: BaseTransaction.rollback - [com.arjuna.ats.internal.jta.transaction.arjunacore.notx] [com.arjuna.ats.internal.jta.transaction.arjunacore.notx] no transaction!

Full exception log is attached.

Is there anything else to be configured? Or is there any problem with transactions?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list