Details

      Description

      testEarSession1 and testEarSession2 are failing with a RollbackException:

      Caused by: javax.transaction.RollbackException: [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] Could not commit transaction.
      at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commit(TransactionImple.java:257)
      at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:501)

      <snip>
      at org.jboss.test.hibernate.test.ScopedEarsUnitTestCase.testEAR2Session(ScopedEarsUnitTestCase.java:122)

        Gliffy Diagrams

          Activity

          Hide
          shelly.mcgowan Shelly McGowan added a comment -

          aused by: java.lang.AbstractMethodError: org.hsqldb.jdbc.jdbcConnection.createClob()Ljava/sql/Clob;
          at org.jboss.resource.adapter.jdbc.jdk6.WrappedConnectionJDK6.createClob(WrappedConnectionJDK6.java:128)

          Show
          shelly.mcgowan Shelly McGowan added a comment - aused by: java.lang.AbstractMethodError: org.hsqldb.jdbc.jdbcConnection.createClob()Ljava/sql/Clob; at org.jboss.resource.adapter.jdbc.jdk6.WrappedConnectionJDK6.createClob(WrappedConnectionJDK6.java:128)
          Hide
          shelly.mcgowan Shelly McGowan added a comment -

          2009-11-11 14:55:47,442 WARN [org.jboss.resource.connectionmanager.TxConnectionManager] (WorkerThread#0[127.0.0.1:44930]) Connection error occured: org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@c7212b[state=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnection@9075a handles=1 lastUse=1257969347303 permit=true trackByTx=true mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$PoolBySubject@75f914 context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@133c9ba xaResource=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@175718c txSync=null]
          javax.resource.spi.ResourceAdapterInternalException: Unexpected error
          at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.broadcastConnectionError(BaseWrapperManagedConnection.java:409)
          at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.connectionError(BaseWrapperManagedConnection.java:385)
          at org.jboss.resource.adapter.jdbc.WrappedConnection.checkException(WrappedConnection.java:865)
          at org.jboss.resource.adapter.jdbc.jdk6.WrappedConnectionJDK6.createClob(WrappedConnectionJDK6.java:132)
          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:597)
          at org.hibernate.engine.jdbc.JdbcSupportLoader.useContextualLobCreation(JdbcSupportLoader.java:77)
          at org.hibernate.engine.jdbc.JdbcSupportLoader.loadJdbcSupport(JdbcSupportLoader.java:49)
          at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:121)
          at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2145)
          at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2141)
          at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1365)
          at org.jboss.test.hibernate.model.v2.PersonBean.sessionInit(PersonBean.java:75)
          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:597)
          at org.jboss.invocation.Invocation.performCall(Invocation.java:386)
          at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:233)
          at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:156)
          at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:173)
          at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
          at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
          at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
          at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
          at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228)
          at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)
          at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:97)
          at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java:81)
          at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
          at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
          at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650)
          at org.jboss.ejb.Container.invoke(Container.java:1092)
          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:597)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
          at org.jboss.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:232)
          at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:897)
          at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:768)
          at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:721)
          at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:575)
          at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:234)
          Caused by: java.lang.AbstractMethodError: org.hsqldb.jdbc.jdbcConnection.createClob()Ljava/sql/Clob;
          at org.jboss.resource.adapter.jdbc.jdk6.WrappedConnectionJDK6.createClob(WrappedConnectionJDK6.java:128)
          ... 46 more
          2009-11-11 14:55:47,443 INFO [org.hibernate.engine.jdbc.JdbcSupportLoader] (WorkerThread#0[127.0.0.1:44930]) createClob() method threw error : java.lang.reflect.InvocationTargetException
          2009-11-11 14:55:47,443 INFO [org.hibernate.transaction.TransactionFactoryFactory] (WorkerThread#0[127.0.0.1:44930]) Transaction strategy: org.hibernate.transaction.CMTTransactionFactory
          2009-11-11 14:55:47,446 INFO [org.hibernate.transaction.TransactionManagerLookupFactory] (WorkerThread#0[127.0.0.1:44930]) instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup

          Show
          shelly.mcgowan Shelly McGowan added a comment - 2009-11-11 14:55:47,442 WARN [org.jboss.resource.connectionmanager.TxConnectionManager] (WorkerThread#0 [127.0.0.1:44930] ) Connection error occured: org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@c7212b [state=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnection@9075a handles=1 lastUse=1257969347303 permit=true trackByTx=true mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$PoolBySubject@75f914 context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@133c9ba xaResource=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@175718c txSync=null] javax.resource.spi.ResourceAdapterInternalException: Unexpected error at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.broadcastConnectionError(BaseWrapperManagedConnection.java:409) at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.connectionError(BaseWrapperManagedConnection.java:385) at org.jboss.resource.adapter.jdbc.WrappedConnection.checkException(WrappedConnection.java:865) at org.jboss.resource.adapter.jdbc.jdk6.WrappedConnectionJDK6.createClob(WrappedConnectionJDK6.java:132) 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:597) at org.hibernate.engine.jdbc.JdbcSupportLoader.useContextualLobCreation(JdbcSupportLoader.java:77) at org.hibernate.engine.jdbc.JdbcSupportLoader.loadJdbcSupport(JdbcSupportLoader.java:49) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:121) at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2145) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2141) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1365) at org.jboss.test.hibernate.model.v2.PersonBean.sessionInit(PersonBean.java:75) 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:597) at org.jboss.invocation.Invocation.performCall(Invocation.java:386) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:233) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:156) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:173) at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181) at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211) at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:97) at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java:81) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138) at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650) at org.jboss.ejb.Container.invoke(Container.java:1092) 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:597) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) at org.jboss.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:232) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:897) at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:768) at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:721) at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:575) at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:234) Caused by: java.lang.AbstractMethodError: org.hsqldb.jdbc.jdbcConnection.createClob()Ljava/sql/Clob; at org.jboss.resource.adapter.jdbc.jdk6.WrappedConnectionJDK6.createClob(WrappedConnectionJDK6.java:128) ... 46 more 2009-11-11 14:55:47,443 INFO [org.hibernate.engine.jdbc.JdbcSupportLoader] (WorkerThread#0 [127.0.0.1:44930] ) createClob() method threw error : java.lang.reflect.InvocationTargetException 2009-11-11 14:55:47,443 INFO [org.hibernate.transaction.TransactionFactoryFactory] (WorkerThread#0 [127.0.0.1:44930] ) Transaction strategy: org.hibernate.transaction.CMTTransactionFactory 2009-11-11 14:55:47,446 INFO [org.hibernate.transaction.TransactionManagerLookupFactory] (WorkerThread#0 [127.0.0.1:44930] ) instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
          Hide
          shelly.mcgowan Shelly McGowan added a comment -

          I downloaded HSQLDB 1.9-RC6 which has support for Java 1.6 and JDBC 4. The org.jboss.test.hibernate.test.ScopedEarsUnitTestCase tests pass.

          But to boot the server, I needed to adjust the DDL (define length for VARBINARY) for the TIMERS table for the EJB timer service.

          Show
          shelly.mcgowan Shelly McGowan added a comment - I downloaded HSQLDB 1.9-RC6 which has support for Java 1.6 and JDBC 4. The org.jboss.test.hibernate.test.ScopedEarsUnitTestCase tests pass. But to boot the server, I needed to adjust the DDL (define length for VARBINARY) for the TIMERS table for the EJB timer service.
          Hide
          smarlow Scott Marlow added a comment -

          fix applied to 5_x branch and trunk. Jira created

          Show
          smarlow Scott Marlow added a comment - fix applied to 5_x branch and trunk. Jira created
          Hide
          smarlow Scott Marlow added a comment -

          Also created JBPAPP-3102 for this issue.

          Show
          smarlow Scott Marlow added a comment - Also created JBPAPP-3102 for this issue.

            People

            • Assignee:
              smarlow Scott Marlow
              Reporter:
              shelly.mcgowan Shelly McGowan
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development