0 Replies Latest reply on Nov 6, 2002 6:39 PM by Twan Prive


    Twan Prive Newbie

      I have just configured a mysql database to work with jboss. It seems to work correct, a call to findByPrimaryKey() on a CMP bean works oke. But when i try to create a CMP bean from his home interface (this is actual a insert record into db) a really long exception is trown:

      23:38:12,807 INFO [Server] JBoss (MX MicroKernel) [3.0.3 Date:200209301503] Started in 0m:18s:46ms

      23:48:34,561 ERROR [LogInterceptor] TransactionRolledbackLocalException, causedBy:


      at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.removeRef(QueuedPessimisticEJBLock.java:412)

      at org.jboss.ejb.BeanLockManager.removeLockRef(BeanLockManager.java:103)

      at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:124)


      23:48:34,601 ERROR [STDERR] javax.ejb.TransactionRolledbackLocalException: null; CausedByException is:

      23:48:34,601 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:224)

      23:48:34,601 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:178)

      23:48:34,601 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:60)

      23:48:34,601 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130)


      Is this exception thrown cause mysql does not support transactions?

      D:\mysql\bin>mysql --version
      mysql Ver 11.15 Distrib 3.23.38, for Win95/Win98 (i32)