Hi 

I'm trying to nail down a strange behavior. 
I'm using Jencks-1.3, and TranqlOutboundMessagingTest as a base test case.
The test runs fine as it comes in the tarball, but if I add a test like


    public void testSQLExceptionThrownDuplicate() throws Exception {
                //Update the field in a JTA transaction
                DefaultTransactionDefinition definition=new
DefaultTransactionDefinition();
        
definition.setPropagationBehavior(TransactionDefinition.PROPAGATION_REQUIRED);
                TransactionStatus status=null;
                try {
                        status=transactionManager.getTransaction(definition);
                        JdbcTemplate template=new JdbcTemplate(getDataSource());
                        template.update(POPULATE_SCHEMA);
                        transactionManager.commit(status);
            fail("Duplicate");
        } catch(Exception ex) {
                        ex.printStackTrace();
                        transactionManager.rollback(status);
                }

                //Check if the message has not been stored in the database
                checkStoredMessage(INITIAL_FIELD_VALUE);
        }


that basically tries to insert twice the same row (the first insert happens
during setup),
then the following happens:







---------

main INFO  dbcProgrammaticTransactionTest - Loading context for:
net/ripe/hstcnt/persistence/jdbc.xml
main INFO  CollectionFactory              - JDK 1.4+ collections available
main INFO  XmlBeanDefinitionReader        - Loading XML bean definitions
from class path resource [net/ripe/hstcnt/persistence/jdbc.xml]
main INFO  efaultNamespaceHandlerResolver - Ignoring handler
[org.apache.xbean.spring.context.v2.XBeanNamespaceHandler]: class not found
main INFO  ClassPathXmlApplicationContext - Bean factory for application
context
[org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=5487165]:
org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans
[transactionContextManager,userTransaction,transactionManager,transactionSupport,poolingSupport,connectionManager,tranqlManagedConnectionFactory,dataSource];
root of BeanFactory hierarchy
main INFO  ClassPathXmlApplicationContext - 8 beans defined in application
context
[org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=5487165]
main INFO  ClassPathXmlApplicationContext - Unable to locate MessageSource
with name 'messageSource': using default
[EMAIL PROTECTED]
main INFO  ClassPathXmlApplicationContext - Unable to locate
ApplicationEventMulticaster with name 'applicationEventMulticaster': using
default
[EMAIL PROTECTED]
main INFO  DefaultListableBeanFactory     - Pre-instantiating singletons in
factory
[org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans
[transactionContextManager,userTransaction,transactionManager,transactionSupport,poolingSupport,connectionManager,tranqlManagedConnectionFactory,dataSource];
root of BeanFactory hierarchy]
main DEBUG xapool                         - StandardXADataSource is created
main DEBUG xapool                         - StandardXADataSource:resetCache
main DEBUG xapool                         - StandardXADataSource:resetCache
main DEBUG xapool                         - StandardXADataSource:setUser
main DEBUG xapool                         - StandardXADataSource:resetCache
main DEBUG xapool                         - StandardXADataSource:setPassword
main DEBUG xapool                         - StandardXADataSource:resetCache
main INFO  JtaTransactionManager          - Using JTA UserTransaction:
[EMAIL PROTECTED]
main INFO  JtaTransactionManager          - Using JTA TransactionManager:
[EMAIL PROTECTED]
main DEBUG xapool                         -
StandardXADataSource:getXAConnection(user, password)
main DEBUG xapool                         - StandardDataSource:getConnection
a new driver instance is created
main DEBUG xapool                         - StandardDataSource:getConnection
Connection from DriverManager is returned
main DEBUG xapool                         - StandardXAStatefulConnection
created
main DEBUG xapool                         - StandardXAConnection created
main DEBUG xapool                         -
StandardXAConnection:getConnection
main DEBUG xapool                         -
StandardConnectionHandle:setupPreparedStatementCache start
main DEBUG xapool                         -
StandardConnectionHandle:setupPreparedStatementCache
preparedStatementCache.size(lru)='0' preparedStatementCache.size(cache)='0'
masterPrepStmtCache.size='1' 
main DEBUG xapool                         -
StandardConnectionHandle:setupPreparedStatementCache end
main DEBUG xapool                         - StandardConnectionHandle:new
StandardConnectionHandle with 16 prepared statement
main DEBUG xapool                         -
StandardXAConnection:getConnection return a connection
main DEBUG xapool                         -
StandardXAConnectionHandle:createStatement tx==null
main DEBUG xapool                         -
StandardXAConnectionHandle.getTransaction - tm = null
main DEBUG xapool                         -
StandardXAConnectionHandle:getTransaction (null transaction manager)
main DEBUG xapool                         -
StandardXAConnectionHandle:createStatement (no transaction found)
main DEBUG xapool                         -
StandardXAConnectionHandle:createStatement tx==null
main DEBUG xapool                         -
StandardXAConnectionHandle.getTransaction - tm = null
main DEBUG xapool                         -
StandardXAConnectionHandle:getTransaction (null transaction manager)
main DEBUG xapool                         -
StandardXAConnectionHandle:createStatement (no transaction found)
main DEBUG xapool                         - StandardXAConnection:start
associate the current connection with a global transaction
main DEBUG xapool                         - StandardXAConnection:doStart
xid='[globalId=10000000ffffff99ffffff81ffffff801ffffffc10133000000000000000000000000000000000000000000000000,branchId=10000000ffffff99ffffff81ffffff801ffffffc10133000000000000000000000000000000000000000000000000]'
flags='0'
main DEBUG xapool                         -
StandardXADataSource:getConnection
(xid=[globalId=10000000ffffff99ffffff81ffffff801ffffffc10133000000000000000000000000000000000000000000000000,branchId=10000000ffffff99ffffff81ffffff801ffffffc10133000000000000000000000000000000000000000000000000],
mustFind=false)
main DEBUG xapool                         - XID: null
main DEBUG xapool                         -
StandardXADataSource:getConnection return connection associated with a given
XID
main DEBUG xapool                         -
StandardXAConnectionHandle:setGlobalTransaction gTransaction='true'
main DEBUG xapool                         -
StandardXAConnectionHandle:setGlobalTransaction con is *NOT* null before
setupPreparedStatementCache
main DEBUG xapool                         - CoreConnection:Setautocommit
autoCommit was = true
main DEBUG xapool                         - CoreConnection:Setautocommit =
false
main DEBUG xapool                         - StandardXAConnection:dostart
before processToWait
main DEBUG xapool                         -
StandardXADataSource:processToWait
main DEBUG xapool                         - StandardXAConnection:dostart
after processToWait
main DEBUG xapool                         -
StandardXAStatefulConnection:setState Stateful connection: 1 (state
before=6)
main DEBUG xapool                         -
StandardXAStatefulConnection:setState Stateful connection: 1 (state after=0)
main DEBUG xapool                         -
StandardXAConnectionHandle:createStatement tx==null
main DEBUG xapool                         -
StandardXAConnectionHandle.getTransaction - tm = null
main DEBUG xapool                         -
StandardXAConnectionHandle:getTransaction (null transaction manager)
main DEBUG xapool                         -
StandardXAConnectionHandle:createStatement (no transaction found)
main WARN  eronimoConnectionEventListener - connectionErrorOccurred called
with null
java.sql.SQLException: Unique constraint violation: 
   at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
   at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)
   at org.hsqldb.jdbc.jdbcStatement.executeUpdate(Unknown Source)
   at
org.enhydra.jdbc.core.CoreStatement.executeUpdate(CoreStatement.java:117)
   at
org.tranql.connector.jdbc.StatementHandle.executeUpdate(StatementHandle.java:166)
   at
org.springframework.jdbc.core.JdbcTemplate$1UpdateStatementCallback.doInStatement(JdbcTemplate.java:425)
   at
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:310)
   at
org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:435)
   at
net.ripe.hstcnt.persistence.AbstractJdbcOutboundMessagingTest.testSQLExceptionThrownDuplicate(AbstractJdbcOutboundMessagingTest.java:126)
   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 junit.framework.TestCase.runTest(TestCase.java:154)
   at junit.framework.TestCase.runBare(TestCase.java:127)
   at
org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69)
   at junit.framework.TestResult$1.protect(TestResult.java:106)
   at junit.framework.TestResult.runProtected(TestResult.java:124)
   at junit.framework.TestResult.run(TestResult.java:109)
   at junit.framework.TestCase.run(TestCase.java:118)
   at junit.framework.TestSuite.runTest(TestSuite.java:208)
   at junit.framework.TestSuite.run(TestSuite.java:203)
   at junit.textui.TestRunner.doRun(TestRunner.java:116)
   at
com.intellij.rt.execution.junit2.IdeaJUnitAgent.doRun(IdeaJUnitAgent.java:57)
   at junit.textui.TestRunner.start(TestRunner.java:172)
   at
com.intellij.rt.execution.junit.TextTestRunner2.startRunnerWithArgs(TextTestRunner2.java:23)
   at
com.intellij.rt.execution.junit2.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:97)
   at
com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31)
   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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:86)
main DEBUG xapool                         - StandardXAConnection:end
main DEBUG xapool                         - StandardXAConnection:end
xid='[globalId=10000000ffffff99ffffff81ffffff801ffffffc10133000000000000000000000000000000000000000000000000,branchId=10000000ffffff99ffffff81ffffff801ffffffc10133000000000000000000000000000000000000000000000000]'
flags='33554432'
main DEBUG xapool                         -
StandardXADataSource:getConnection
(xid=[globalId=10000000ffffff99ffffff81ffffff801ffffffc10133000000000000000000000000000000000000000000000000,branchId=10000000ffffff99ffffff81ffffff801ffffffc10133000000000000000000000000000000000000000000000000],
mustFind=true)
main DEBUG xapool                         - XID:
StandardXAStatefulConnection:
     commit on prepare =<false>
     timed out =<false>
     id =<1>
     state =<0>
     time out =<0>
     xid
=<[globalId=10000000ffffff99ffffff81ffffff801ffffffc10133000000000000000000000000000000000000000000000000,branchId=10000000ffffff99ffffff81ffffff801ffffffc10133000000000000000000000000000000000000000000000000]>

main DEBUG xapool                         -
StandardXADataSource:getConnection return connection associated with a given
XID
main DEBUG xapool                         - CoreConnection:Setautocommit
autoCommit was = false
main DEBUG xapool                         - CoreConnection:Setautocommit =
true
main DEBUG xapool                         - StandardXAConnection:close the
XAConnection
main DEBUG xapool                         -
StandardXADataSource:connectionClosed
main DEBUG xapool                         -
StandardXADataSource:connectionClosed close physical connection
main INFO  XmlBeanDefinitionReader        - Loading XML bean definitions
from class path resource
[org/springframework/jdbc/support/sql-error-codes.xml]
main INFO  efaultNamespaceHandlerResolver - Ignoring handler
[org.apache.xbean.spring.context.v2.XBeanNamespaceHandler]: class not found
main INFO  SQLErrorCodesFactory           - SQLErrorCodes loaded: [DB2,
Derby, HSQL, MS-SQL, MySQL, Oracle, Informix, PostgreSQL, Sybase]
main WARN  SQLErrorCodesFactory           - Error while extracting database
product name - falling back to empty error codes
org.springframework.jdbc.support.MetaDataAccessException: Error while
extracting DatabaseMetaData; nested exception is java.sql.SQLException:
Failed lazy association with ManagedConnection
Caused by: 
java.sql.SQLException: Failed lazy association with ManagedConnection
   at
org.tranql.connector.jdbc.ConnectionHandle.getManagedConnection(ConnectionHandle.java:73)
   at
org.tranql.connector.jdbc.ConnectionHandle.getMetaData(ConnectionHandle.java:319)
   at
org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:188)
   at
org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:223)
   at
org.springframework.jdbc.support.SQLErrorCodesFactory.getErrorCodes(SQLErrorCodesFactory.java:208)
   at
org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.setDataSource(SQLErrorCodeSQLExceptionTranslator.java:133)
   at
org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.<init>(SQLErrorCodeSQLExceptionTranslator.java:98)
   at
org.springframework.jdbc.support.JdbcAccessor.getExceptionTranslator(JdbcAccessor.java:96)
   at
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:322)
   at
org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:435)
   at
net.ripe.hstcnt.persistence.AbstractJdbcOutboundMessagingTest.testSQLExceptionThrownDuplicate(AbstractJdbcOutboundMessagingTest.java:126)
   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 junit.framework.TestCase.runTest(TestCase.java:154)
   at junit.framework.TestCase.runBare(TestCase.java:127)
   at
org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69)
   at junit.framework.TestResult$1.protect(TestResult.java:106)
   at junit.framework.TestResult.runProtected(TestResult.java:124)
   at junit.framework.TestResult.run(TestResult.java:109)
   at junit.framework.TestCase.run(TestCase.java:118)
   at junit.framework.TestSuite.runTest(TestSuite.java:208)
   at junit.framework.TestSuite.run(TestSuite.java:203)
   at junit.textui.TestRunner.doRun(TestRunner.java:116)
   at
com.intellij.rt.execution.junit2.IdeaJUnitAgent.doRun(IdeaJUnitAgent.java:57)
   at junit.textui.TestRunner.start(TestRunner.java:172)
   at
com.intellij.rt.execution.junit.TextTestRunner2.startRunnerWithArgs(TextTestRunner2.java:23)
   at
com.intellij.rt.execution.junit2.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:97)
   at
com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31)
   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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:86)
org.springframework.dao.DataIntegrityViolationException: StatementCallback;
SQL [insert into TEST (TEST_ID,TEST_VALUE) values(1,'initial value')];
Unique constraint violation: ; nested exception is java.sql.SQLException:
Unique constraint violation: 
Caused by: java.sql.SQLException: Unique constraint violation: 
   at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
   at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)
   at org.hsqldb.jdbc.jdbcStatement.executeUpdate(Unknown Source)
   at
org.enhydra.jdbc.core.CoreStatement.executeUpdate(CoreStatement.java:117)
   at
org.tranql.connector.jdbc.StatementHandle.executeUpdate(StatementHandle.java:166)
   at
org.springframework.jdbc.core.JdbcTemplate$1UpdateStatementCallback.doInStatement(JdbcTemplate.java:425)
   at
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:310)
   at
org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:435)
   at
net.ripe.hstcnt.persistence.AbstractJdbcOutboundMessagingTest.testSQLExceptionThrownDuplicate(AbstractJdbcOutboundMessagingTest.java:126)
   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 junit.framework.TestCase.runTest(TestCase.java:154)
   at junit.framework.TestCase.runBare(TestCase.java:127)
   at
org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69)
   at junit.framework.TestResult$1.protect(TestResult.java:106)
   at junit.framework.TestResult.runProtected(TestResult.java:124)
   at junit.framework.TestResult.run(TestResult.java:109)
   at junit.framework.TestCase.run(TestCase.java:118)
main DEBUG xapool                         - StandardXAConnection:end
   at junit.framework.TestSuite.runTest(TestSuite.java:208)
   at junit.framework.TestSuite.run(TestSuite.java:203)
   at junit.textui.TestRunner.doRun(TestRunner.java:116)
   at
com.intellij.rt.execution.junit2.IdeaJUnitAgent.doRun(IdeaJUnitAgent.java:57)
   at junit.textui.TestRunner.start(TestRunner.java:172)
   at
com.intellij.rt.execution.junit.TextTestRunner2.startRunnerWithArgs(TextTestRunner2.java:23)
   at
com.intellij.rt.execution.junit2.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:97)
   at
com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31)
   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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:86)
main DEBUG xapool                         - StandardXAConnection:end
xid='[globalId=10000000ffffff99ffffff81ffffff801ffffffc10133000000000000000000000000000000000000000000000000,branchId=10000000ffffff99ffffff81ffffff801ffffffc10133000000000000000000000000000000000000000000000000]'
flags='536870912'
main DEBUG xapool                         -
StandardXADataSource:getConnection
(xid=[globalId=10000000ffffff99ffffff81ffffff801ffffffc10133000000000000000000000000000000000000000000000000,branchId=10000000ffffff99ffffff81ffffff801ffffffc10133000000000000000000000000000000000000000000000000],
mustFind=true)
main DEBUG xapool                         - XID:
StandardXAStatefulConnection:
     commit on prepare =<false>
     timed out =<false>
     id =<1>
     state =<0>
     time out =<0>
     xid
=<[globalId=10000000ffffff99ffffff81ffffff801ffffffc10133000000000000000000000000000000000000000000000000,branchId=10000000ffffff99ffffff81ffffff801ffffffc10133000000000000000000000000000000000000000000000000]>

main DEBUG xapool                         -
StandardXADataSource:getConnection return connection associated with a given
XID
main DEBUG xapool                         - StandardXAConnection:rollback
main DEBUG xapool                         -
StandardXADataSource:getConnection
(xid=[globalId=10000000ffffff99ffffff81ffffff801ffffffc10133000000000000000000000000000000000000000000000000,branchId=10000000ffffff99ffffff81ffffff801ffffffc10133000000000000000000000000000000000000000000000000],
mustFind=true)
main DEBUG xapool                         - XID:
StandardXAStatefulConnection:
     commit on prepare =<false>
     timed out =<false>
     id =<1>
     state =<0>
     time out =<0>
     xid
=<[globalId=10000000ffffff99ffffff81ffffff801ffffffc10133000000000000000000000000000000000000000000000000,branchId=10000000ffffff99ffffff81ffffff801ffffffc10133000000000000000000000000000000000000000000000000]>

main DEBUG xapool                         -
StandardXADataSource:getConnection return connection associated with a given
XID
main DEBUG xapool                         - StandardXAConnection:rollback
try to perform the rollback operation
main DEBUG xapool                         - StandardXAConnection:rollback
setAutoCommit to 'true'
main DEBUG xapool                         - StandardXAConnection:rollback
setAutoCommit problem
main DEBUG xapool                         -
StandardXADataSource:freeConnection
main DEBUG xapool                         -
StandardXADataSource:freeConnection remove id from xidConnections
main DEBUG xapool                         -
StandardXAStatefulConnection:setState Stateful connection: 1 (state
before=0)
main DEBUG xapool                         -
StandardXAStatefulConnection:setState Stateful connection: 1 (state after=6)
main ERROR Transaction                    - Unexpected exception rolling
back [EMAIL PROTECTED];
continuing with rollback
javax.transaction.xa.XAException
   at
org.enhydra.jdbc.standard.StandardXAConnection.rollback(StandardXAConnection.java:501)
   at
org.apache.geronimo.transaction.manager.WrapperNamedXAResource.rollback(WrapperNamedXAResource.java:78)
   at
org.apache.geronimo.transaction.manager.TransactionImpl.rollbackResources(TransactionImpl.java:542)
   at
org.apache.geronimo.transaction.manager.TransactionImpl.rollback(TransactionImpl.java:446)
   at
org.apache.geronimo.transaction.context.InheritableTransactionContext.rollbackAndThrow(InheritableTransactionContext.java:308)
   at
org.apache.geronimo.transaction.context.InheritableTransactionContext.complete(InheritableTransactionContext.java:199)
   at
org.apache.geronimo.transaction.context.InheritableTransactionContext.rollback(InheritableTransactionContext.java:152)
   at
org.apache.geronimo.transaction.context.GeronimoTransactionManager.rollback(GeronimoTransactionManager.java:108)
   at
org.springframework.transaction.jta.JtaTransactionManager.doRollback(JtaTransactionManager.java:779)
   at
org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(AbstractPlatformTransactionManager.java:631)
   at
org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:608)
   at
net.ripe.hstcnt.persistence.AbstractJdbcOutboundMessagingTest.testSQLExceptionThrownDuplicate(AbstractJdbcOutboundMessagingTest.java:131)
   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 junit.framework.TestCase.runTest(TestCase.java:154)
   at junit.framework.TestCase.runBare(TestCase.java:127)
   at
org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69)
   at junit.framework.TestResult$1.protect(TestResult.java:106)
   at junit.framework.TestResult.runProtected(TestResult.java:124)
   at junit.framework.TestResult.run(TestResult.java:109)
   at junit.framework.TestCase.run(TestCase.java:118)
   at junit.framework.TestSuite.runTest(TestSuite.java:208)
   at junit.framework.TestSuite.run(TestSuite.java:203)
   at junit.textui.TestRunner.doRun(TestRunner.java:116)
   at
com.intellij.rt.execution.junit2.IdeaJUnitAgent.doRun(IdeaJUnitAgent.java:57)
   at junit.textui.TestRunner.start(TestRunner.java:172)
   at
com.intellij.rt.execution.junit.TextTestRunner2.startRunnerWithArgs(TextTestRunner2.java:23)
   at
com.intellij.rt.execution.junit2.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:97)
   at
com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31)
   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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:86)
main ERROR AbstractTransactionContext     - Unable to roll back transaction
javax.transaction.SystemException
   at
org.apache.geronimo.transaction.manager.TransactionImpl.rollbackResources(TransactionImpl.java:546)
   at
org.apache.geronimo.transaction.manager.TransactionImpl.rollback(TransactionImpl.java:446)
   at
org.apache.geronimo.transaction.context.InheritableTransactionContext.rollbackAndThrow(InheritableTransactionContext.java:308)
   at
org.apache.geronimo.transaction.context.InheritableTransactionContext.complete(InheritableTransactionContext.java:199)
   at
org.apache.geronimo.transaction.context.InheritableTransactionContext.rollback(InheritableTransactionContext.java:152)
   at
org.apache.geronimo.transaction.context.GeronimoTransactionManager.rollback(GeronimoTransactionManager.java:108)
   at
org.springframework.transaction.jta.JtaTransactionManager.doRollback(JtaTransactionManager.java:779)
   at
org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(AbstractPlatformTransactionManager.java:631)
   at
org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:608)
   at
net.ripe.hstcnt.persistence.AbstractJdbcOutboundMessagingTest.testSQLExceptionThrownDuplicate(AbstractJdbcOutboundMessagingTest.java:131)
   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 junit.framework.TestCase.runTest(TestCase.java:154)
   at junit.framework.TestCase.runBare(TestCase.java:127)
   at
org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69)
   at junit.framework.TestResult$1.protect(TestResult.java:106)
   at junit.framework.TestResult.runProtected(TestResult.java:124)
   at junit.framework.TestResult.run(TestResult.java:109)
   at junit.framework.TestCase.run(TestCase.java:118)
   at junit.framework.TestSuite.runTest(TestSuite.java:208)
   at junit.framework.TestSuite.run(TestSuite.java:203)
   at junit.textui.TestRunner.doRun(TestRunner.java:116)
   at
com.intellij.rt.execution.junit2.IdeaJUnitAgent.doRun(IdeaJUnitAgent.java:57)
   at junit.textui.TestRunner.start(TestRunner.java:172)
   at
com.intellij.rt.execution.junit.TextTestRunner2.startRunnerWithArgs(TextTestRunner2.java:23)
   at
com.intellij.rt.execution.junit2.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:97)
   at
com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31)
   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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:86)
main DEBUG xapool                         -
StandardXADataSource:getXAConnection(user, password)
main DEBUG xapool                         - StandardDataSource:getConnection
Connection from DriverManager is returned
main DEBUG xapool                         - StandardXAStatefulConnection
created
main DEBUG xapool                         - StandardXAConnection created
main DEBUG xapool                         -
StandardXAConnection:getConnection
main DEBUG xapool                         -
StandardConnectionHandle:setupPreparedStatementCache start
main DEBUG xapool                         -
StandardConnectionHandle:setupPreparedStatementCache
preparedStatementCache.size(lru)='0' preparedStatementCache.size(cache)='0'
masterPrepStmtCache.size='1' 
main DEBUG xapool                         -
StandardConnectionHandle:setupPreparedStatementCache end
main DEBUG xapool                         - StandardConnectionHandle:new
StandardConnectionHandle with 16 prepared statement
main DEBUG xapool                         -
StandardXAConnection:getConnection return a connection
main DEBUG xapool                         -
StandardXAConnectionHandle:createStatement tx==null
main DEBUG xapool                         -
StandardXAConnectionHandle.getTransaction - tm = null
main DEBUG xapool                         -
StandardXAConnectionHandle:getTransaction (null transaction manager)
main DEBUG xapool                         -
StandardXAConnectionHandle:createStatement (no transaction found)

java.lang.NullPointerException
   at
org.enhydra.jdbc.standard.StandardXAConnection.end(StandardXAConnection.java:342)
   at
org.apache.geronimo.transaction.manager.WrapperNamedXAResource.end(WrapperNamedXAResource.java:51)
   at
org.apache.geronimo.transaction.manager.TransactionImpl.endResources(TransactionImpl.java:524)
   at
org.apache.geronimo.transaction.manager.TransactionImpl.endResources(TransactionImpl.java:504)
   at
org.apache.geronimo.transaction.manager.TransactionImpl.rollback(TransactionImpl.java:444)
   at
org.apache.geronimo.transaction.manager.TransactionManagerImpl.rollback(TransactionManagerImpl.java:155)
   at
org.apache.geronimo.transaction.context.InheritableTransactionContext.isRolledback(InheritableTransactionContext.java:283)
   at
org.apache.geronimo.transaction.context.InheritableTransactionContext.complete(InheritableTransactionContext.java:171)
   at
org.apache.geronimo.transaction.context.InheritableTransactionContext.rollback(InheritableTransactionContext.java:152)
   at
org.apache.geronimo.transaction.context.GeronimoTransactionManager.rollback(GeronimoTransactionManager.java:108)
   at
org.springframework.transaction.jta.JtaTransactionManager.doRollback(JtaTransactionManager.java:779)
   at
org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(AbstractPlatformTransactionManager.java:631)
   at
org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:608)
   at
net.ripe.hstcnt.persistence.AbstractJdbcOutboundMessagingTest.testSQLExceptionThrownDuplicate(AbstractJdbcOutboundMessagingTest.java:131)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at
org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69)
   at
com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at com.intellij.rt.execution.application.AppMain.main(AppMain.java:86)

--------









At the moment the lines that stuck me are 

main DEBUG xapool                         -
StandardXAConnectionHandle:createStatement tx==null
main DEBUG xapool                         -
StandardXAConnectionHandle.getTransaction - tm = null
main DEBUG xapool                         -
StandardXAConnectionHandle:getTransaction (null transaction manager)
main DEBUG xapool                         -
StandardXAConnectionHandle:createStatement (no transaction found)


Furthermore if I change datasource to enhydra, and the correspondent
Enhydra...Test

   <bean id="dataSource"
class="org.enhydra.jdbc.pool.StandardXAPoolDataSource"
destroy-method="shutdown">
        <property name="dataSource">
            <bean class="org.enhydra.jdbc.standard.StandardXADataSource"
destroy-method="shutdown">
                <property name="transactionManager" ref="userTransaction"/>
                <property name="driverName" value="org.hsqldb.jdbcDriver"/>
                <property name="url" value="jdbc:hsqldb:."/>
            </bean>
        </property>
        <property name="user" value="sa"/>
    </bean>

The testcase above passes fine (!) but, at the same time the
testOutboundWithRollback() fails an assertion,
meaning that it is as if no rollback took place (!!), below the trace:













------
main DEBUG xapool                         -
StandardPoolDataSource:getConnection
main DEBUG xapool                         -
StandardPoolDataSource:getConnection Try to give a connection (checkOut)
main DEBUG xapool                         - GenericPool:checkOut an object
main DEBUG xapool                         - GenericPool:checkOut
UnlockedObjectCount=2
main DEBUG xapool                         - GenericPool:checkOut
LockedObjectCount=0
main DEBUG xapool                         - GenericPool:checkOut count=2
maxSize=50
main DEBUG xapool                         - GenericPool:checkOut check the
owner of the connection
main DEBUG xapool                         - GenericPool:checkOut owner is
verified
main DEBUG xapool                         - GenericPool:checkOut return an
object (after verification if needed)
main DEBUG xapool                         -
StandardPoolDataSource:getConnection checkOut returna new connection
main DEBUG xapool                         -
StandardXAConnection:getConnection
main DEBUG xapool                         -
StandardConnectionHandle:setupPreparedStatementCache start
main DEBUG xapool                         -
StandardConnectionHandle:setupPreparedStatementCache end
main DEBUG xapool                         - StandardConnectionHandle:new
StandardConnectionHandle with 16 prepared statement
main DEBUG xapool                         -
StandardXAConnection:getConnection return a connection
main DEBUG xapool                         -
StandardPoolDataSource:getConnection return a connection
main DEBUG xapool                         -
StandardXAConnectionHandle:createStatement tx==null
main DEBUG xapool                         -
StandardXAConnectionHandle.getTransaction - tm =
[EMAIL PROTECTED]
main DEBUG xapool                         -
StandardXAConnectionHandle.getTransaction - ntx = null
main DEBUG xapool                         -
StandardXAConnectionHandle:createStatement (no transaction found)
main DEBUG xapool                         - StandardConnectionHandle:close
main DEBUG xapool                         -
StandardXAPoolDataSource:connectionClosed
main DEBUG xapool                         -
StandardXAPoolDataSource:connectionClosed get a transaction
main DEBUG xapool                         -
StandardXAPoolDataSource:connectionClosed checkIn an object to the pool
main DEBUG xapool                         - GenericPool:checkIn return an
object to the pool
main DEBUG xapool                         - StandardConnectionHandle:close
preparedStatementCache.size(lru)='0' preparedStatementCache.size(cache)='0'
masterPrepStmtCache.size='1' 
main DEBUG xapool                         - StandardXAConnectionHandle:close
main DEBUG xapool                         - StandardXAConnectionHandle:close
globalTransaction='false' con.getAutoCommit='true' ttx='null'
main DEBUG xapool                         - StandardXAConnectionHandle:close
do nothing else
main DEBUG xapool                         - StandardXAConnectionHandle:close
AFTER globalTransaction='false' con.getAutoCommit='true' ttx='null'
main DEBUG xapool                         -
StandardPoolDataSource:getConnection
main DEBUG xapool                         -
StandardPoolDataSource:getConnection Try to give a connection (checkOut)
main DEBUG xapool                         - GenericPool:checkOut an object
main DEBUG xapool                         - GenericPool:checkOut
UnlockedObjectCount=2
main DEBUG xapool                         - GenericPool:checkOut
LockedObjectCount=0
main DEBUG xapool                         - GenericPool:checkOut count=2
maxSize=50
main DEBUG xapool                         - GenericPool:checkOut check the
owner of the connection
main DEBUG xapool                         - GenericPool:checkOut owner is
verified
main DEBUG xapool                         - GenericPool:checkOut return an
object (after verification if needed)
main DEBUG xapool                         -
StandardPoolDataSource:getConnection checkOut returna new connection
main DEBUG xapool                         -
StandardXAConnection:getConnection
main DEBUG xapool                         -
StandardConnectionHandle:setupPreparedStatementCache start
main DEBUG xapool                         -
StandardConnectionHandle:setupPreparedStatementCache end
main DEBUG xapool                         - StandardConnectionHandle:new
StandardConnectionHandle with 16 prepared statement
main DEBUG xapool                         -
StandardXAConnection:getConnection return a connection
main DEBUG xapool                         -
StandardPoolDataSource:getConnection return a connection
main DEBUG xapool                         -
StandardXAConnectionHandle:createStatement tx==null
main DEBUG xapool                         -
StandardXAConnectionHandle.getTransaction - tm =
[EMAIL PROTECTED]
main DEBUG xapool                         -
StandardXAConnectionHandle.getTransaction - ntx = null
main DEBUG xapool                         -
StandardXAConnectionHandle:createStatement (no transaction found)
main DEBUG xapool                         - StandardConnectionHandle:close
main DEBUG xapool                         -
StandardXAPoolDataSource:connectionClosed
main DEBUG xapool                         -
StandardXAPoolDataSource:connectionClosed get a transaction
main DEBUG xapool                         -
StandardXAPoolDataSource:connectionClosed checkIn an object to the pool
main DEBUG xapool                         - GenericPool:checkIn return an
object to the pool
main DEBUG xapool                         - StandardConnectionHandle:close
preparedStatementCache.size(lru)='0' preparedStatementCache.size(cache)='0'
masterPrepStmtCache.size='1' 
main DEBUG xapool                         - StandardXAConnectionHandle:close
main DEBUG xapool                         - StandardXAConnectionHandle:close
globalTransaction='false' con.getAutoCommit='true' ttx='null'
main DEBUG xapool                         - StandardXAConnectionHandle:close
do nothing else
main DEBUG xapool                         - StandardXAConnectionHandle:close
AFTER globalTransaction='false' con.getAutoCommit='true' ttx='null'
main DEBUG xapool                         -
StandardPoolDataSource:getConnection
main DEBUG xapool                         -
StandardPoolDataSource:getConnection Try to give a connection (checkOut)
main DEBUG xapool                         - GenericPool:checkOut an object
main DEBUG xapool                         - GenericPool:checkOut
UnlockedObjectCount=2
main DEBUG xapool                         - GenericPool:checkOut
LockedObjectCount=0
main DEBUG xapool                         - GenericPool:checkOut count=2
maxSize=50
main DEBUG xapool                         - GenericPool:checkOut check the
owner of the connection
main DEBUG xapool                         - GenericPool:checkOut owner is
verified
main DEBUG xapool                         - GenericPool:checkOut return an
object (after verification if needed)
main DEBUG xapool                         -
StandardPoolDataSource:getConnection checkOut returna new connection
main DEBUG xapool                         -
StandardXAConnection:getConnection
main DEBUG xapool                         -
StandardConnectionHandle:setupPreparedStatementCache start
main DEBUG xapool                         -
StandardConnectionHandle:setupPreparedStatementCache end
main DEBUG xapool                         - StandardConnectionHandle:new
StandardConnectionHandle with 16 prepared statement
main DEBUG xapool                         -
StandardXAConnection:getConnection return a connection
main DEBUG xapool                         -
StandardPoolDataSource:getConnection return a connection
main DEBUG xapool                         -
StandardXAConnectionHandle.prepareStatement
main DEBUG xapool                         - StandardXAPreparedStatement:
Create an XAPreparedStatement with sql='update TEST set TEST_VALUE=? where
TEST_ID=?'
main DEBUG xapool                         -
StandardXAConnectionHandle:checkPreparedCache object is *NOT* found
main DEBUG xapool                         -
StandardConnectionHandle:createPreparedStatement type ='0'
main DEBUG xapool                         -
StandardXAConnectionHandle:checkPreparedCache
pstmt='[EMAIL PROTECTED] TEST set
TEST_VALUE=? where TEST_ID=?], parameters=[[null], [null]]]'
main DEBUG xapool                         -
StandardXAPreparedStatement:close the XA prepared statement
main DEBUG xapool                         -
StandardXAPreparedStatement:close preparedStmtCacheSize='16'
main DEBUG xapool                         - StandardConnectionHandle:close
main DEBUG xapool                         -
StandardXAPoolDataSource:connectionClosed
main DEBUG xapool                         -
StandardXAPoolDataSource:connectionClosed get a transaction
main DEBUG xapool                         -
StandardXAPoolDataSource:connectionClosed checkIn an object to the pool
main DEBUG xapool                         - GenericPool:checkIn return an
object to the pool
main DEBUG xapool                         -
PreparedStatementCache:cleanupObject class='class
org.hsqldb.jdbc.jdbcPreparedStatement'
main DEBUG xapool                         -
PreparedStatementCache:cleanupObject close a PreparedStatement
o='[EMAIL PROTECTED] TEST set
TEST_VALUE=? where TEST_ID=?], parameters=[[test value], [1]]]'
main DEBUG xapool                         - StandardConnectionHandle:close
preparedStatementCache.size(lru)='0' preparedStatementCache.size(cache)='0'
masterPrepStmtCache.size='1' 
main DEBUG xapool                         - StandardXAConnectionHandle:close
main DEBUG xapool                         - StandardXAConnectionHandle:close
globalTransaction='false' con.getAutoCommit='true' ttx='null'
main DEBUG xapool                         - StandardXAConnectionHandle:close
do nothing else
main DEBUG xapool                         - StandardXAConnectionHandle:close
AFTER globalTransaction='false' con.getAutoCommit='true' ttx='null'
main DEBUG xapool                         -
StandardPoolDataSource:getConnection
main DEBUG xapool                         -
StandardPoolDataSource:getConnection Try to give a connection (checkOut)
main DEBUG xapool                         - GenericPool:checkOut an object
main DEBUG xapool                         - GenericPool:checkOut
UnlockedObjectCount=2
main DEBUG xapool                         - GenericPool:checkOut
LockedObjectCount=0
main DEBUG xapool                         - GenericPool:checkOut count=2
maxSize=50
main DEBUG xapool                         - GenericPool:checkOut check the
owner of the connection
main DEBUG xapool                         - GenericPool:checkOut owner is
verified
main DEBUG xapool                         - GenericPool:checkOut return an
object (after verification if needed)
main DEBUG xapool                         -
StandardPoolDataSource:getConnection checkOut returna new connection
main DEBUG xapool                         -
StandardXAConnection:getConnection
main DEBUG xapool                         -
StandardConnectionHandle:setupPreparedStatementCache start
main DEBUG xapool                         -
StandardConnectionHandle:setupPreparedStatementCache end
main DEBUG xapool                         - StandardConnectionHandle:new
StandardConnectionHandle with 16 prepared statement
main DEBUG xapool                         -
StandardXAConnection:getConnection return a connection
main DEBUG xapool                         -
StandardPoolDataSource:getConnection return a connection
main DEBUG xapool                         -
StandardXAConnectionHandle.prepareStatement
main DEBUG xapool                         - StandardXAPreparedStatement:
Create an XAPreparedStatement with sql='select TEST_VALUE from TEST where
TEST_ID=?'
main DEBUG xapool                         -
StandardXAConnectionHandle:checkPreparedCache object is *NOT* found
main DEBUG xapool                         -
StandardConnectionHandle:createPreparedStatement type ='0'
main DEBUG xapool                         -
StandardXAConnectionHandle:checkPreparedCache
pstmt='[EMAIL PROTECTED] TEST_VALUE
from TEST where TEST_ID=?], parameters=[[null]]]'
main DEBUG xapool                         -
StandardXAPreparedStatement:close the XA prepared statement
main DEBUG xapool                         -
StandardXAPreparedStatement:close preparedStmtCacheSize='16'
main DEBUG xapool                         - StandardConnectionHandle:close
main DEBUG xapool                         -
StandardXAPoolDataSource:connectionClosed
main DEBUG xapool                         -
StandardXAPoolDataSource:connectionClosed get a transaction
main DEBUG xapool                         -
StandardXAPoolDataSource:connectionClosed checkIn an object to the pool
main DEBUG xapool                         - GenericPool:checkIn return an
object to the pool
main DEBUG xapool                         -
PreparedStatementCache:cleanupObject class='class
org.hsqldb.jdbc.jdbcPreparedStatement'
main DEBUG xapool                         -
PreparedStatementCache:cleanupObject close a PreparedStatement
o='[EMAIL PROTECTED] TEST_VALUE from
TEST where TEST_ID=?], parameters=[[1]]]'
main DEBUG xapool                         - StandardConnectionHandle:close
preparedStatementCache.size(lru)='0' preparedStatementCache.size(cache)='0'
masterPrepStmtCache.size='1' 
main DEBUG xapool                         - StandardXAConnectionHandle:close
main DEBUG xapool                         - StandardXAConnectionHandle:close
globalTransaction='false' con.getAutoCommit='true' ttx='null'
main DEBUG xapool                         - StandardXAConnectionHandle:close
do nothing else
main DEBUG xapool                         - StandardXAConnectionHandle:close
AFTER globalTransaction='false' con.getAutoCommit='true' ttx='null'
main DEBUG xapool                         -
StandardPoolDataSource:getConnection
main DEBUG xapool                         -
StandardPoolDataSource:getConnection Try to give a connection (checkOut)
main DEBUG xapool                         - GenericPool:checkOut an object
main DEBUG xapool                         - GenericPool:checkOut
UnlockedObjectCount=2
main DEBUG xapool                         - GenericPool:checkOut
LockedObjectCount=0
main DEBUG xapool                         - GenericPool:checkOut count=2
maxSize=50
main DEBUG xapool                         - GenericPool:checkOut check the
owner of the connection
main DEBUG xapool                         - GenericPool:checkOut owner is
verified
main DEBUG xapool                         - GenericPool:checkOut return an
object (after verification if needed)
main DEBUG xapool                         -
StandardPoolDataSource:getConnection checkOut returna new connection
main DEBUG xapool                         -
StandardXAConnection:getConnection
main DEBUG xapool                         -
StandardConnectionHandle:setupPreparedStatementCache start
main DEBUG xapool                         -
StandardConnectionHandle:setupPreparedStatementCache end
main DEBUG xapool                         - StandardConnectionHandle:new
StandardConnectionHandle with 16 prepared statement
main DEBUG xapool                         -
StandardXAConnection:getConnection return a connection
main DEBUG xapool                         -
StandardPoolDataSource:getConnection return a connection
main DEBUG xapool                         -
StandardXAConnectionHandle:createStatement tx==null
main DEBUG xapool                         -
StandardXAConnectionHandle.getTransaction - tm =
[EMAIL PROTECTED]
main DEBUG xapool                         -
StandardXAConnectionHandle.getTransaction - ntx = null
main DEBUG xapool                         -
StandardXAConnectionHandle:createStatement (no transaction found)
main DEBUG xapool                         - StandardConnectionHandle:close
main DEBUG xapool                         -
StandardXAPoolDataSource:connectionClosed
main DEBUG xapool                         -
StandardXAPoolDataSource:connectionClosed get a transaction
main DEBUG xapool                         -
StandardXAPoolDataSource:connectionClosed checkIn an object to the pool
main DEBUG xapool                         - GenericPool:checkIn return an
object to the pool
main DEBUG xapool                         - StandardConnectionHandle:close
preparedStatementCache.size(lru)='0' preparedStatementCache.size(cache)='0'
masterPrepStmtCache.size='1' 
main DEBUG xapool                         - StandardXAConnectionHandle:close
main DEBUG xapool                         - StandardXAConnectionHandle:close
globalTransaction='false' con.getAutoCommit='true' ttx='null'
main DEBUG xapool                         - StandardXAConnectionHandle:close
do nothing else
main DEBUG xapool                         - StandardXAConnectionHandle:close
AFTER globalTransaction='false' con.getAutoCommit='true' ttx='null'

junit.framework.ComparisonFailure: 
Expected:initial value
Actual  :test value
        at
net.ripe.hstcnt.persistence.AbstractJdbcOutboundMessagingTest.checkStoredMessage(AbstractJdbcOutboundMessagingTest.java:72)
        at
net.ripe.hstcnt.persistence.AbstractJdbcOutboundMessagingTest.testOutboundWithRollback(AbstractJdbcOutboundMessagingTest.java:116)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at
org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69)
        at 
com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at com.intellij.rt.execution.application.AppMain.main(AppMain.java:86)
--------






I'm kind of puzzled here. Does anybody of you experienced this? 
I'll try xapool-1.5, right now I don't know exactly which version comes with
jencks-1.3...

Thanks for any help on this,
cheers
Francesco

-- 
View this message in context: 
http://www.nabble.com/TranqlOutboundMessagingTest-fails-if-throwing-an-SQLException-tf2590467.html#a7223716
Sent from the jencks - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to