Jboss 3.0.0RC3
Database Mysql with jdbc driver mm.mysql-2.0.13-bin.jar (that included in lib directory of jboss)
Session Bean bean1 with transaction type "Required" calls to Entity Bean CMP2 bean2 that has
transaction type "Supports".
Flow happens inside of method:
1. bean1 calls bean2.create(...)
2. x = doSomething
3. bean1 calls bean2.setSomeOtherField(x)
During step2 Application Exception throwed and bean1 throws to client RemoteException with correct message.
However row created in step1 wasn't deleted and following SQL exception throwed(see below)
Question: Is it my problem , or problem with mysql or jboss?
Thanks
----------------------
19:11:03,833 ERROR [STDERR] java.sql.SQLException: General error: Warning: Some
non-transactional changed tables couldn't be rolled back
19:11:03,843 ERROR [STDERR] at org.gjt.mm.mysql.MysqlIO.sendCommand(Unknown
Source)
19:11:03,843 ERROR [STDERR] at org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(Unkno
wn Source)
19:11:03,854 ERROR [STDERR] at org.gjt.mm.mysql.MysqlIO.sqlQuery(Unknown Sou
rce)
19:11:03,864 ERROR [STDERR] at org.gjt.mm.mysql.Connection.execSQL(Unknown S
ource)
19:11:03,874 ERROR [STDERR] at org.gjt.mm.mysql.Connection.execSQL(Unknown S
ource)
19:11:03,884 ERROR [STDERR] at org.gjt.mm.mysql.Connection.rollback(Unknown
Source)
19:11:03,894 ERROR [STDERR] at org.jboss.resource.adapter.jdbc.local.LocalMa
nagedConnection.rollback(LocalManagedConnection.java:245)
19:11:03,904 ERROR [STDERR] at org.jboss.resource.connectionmanager.LocalTxC
onnectionManager$LocalConnectionEventListener.rollback(LocalTxConnectionManager.
java:650)
19:11:03,924 ERROR [STDERR] at org.jboss.tm.TxCapsule.rollbackResources(TxCa
psule.java:1721)
19:11:03,934 ERROR [STDERR] at org.jboss.tm.TxCapsule.rollback(TxCapsule.jav
a:437)
19:11:03,944 ERROR [STDERR] at org.jboss.tm.TransactionImpl.rollback(Transac
tionImpl.java:88)
19:11:03,954 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWit
hTransactions(TxInterceptorCMT.java:180)
19:11:03,964 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke
(TxInterceptorCMT.java:61)
19:11:03,974 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.inv
oke(SecurityInterceptor.java:129)
19:11:03,984 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(L
ogInterceptor.java:166)
19:11:03,994 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer.invok
e(StatelessSessionContainer.java:313)
19:11:03,994 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java
:705)
19:11:04,004 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
eanServerImpl.java:491)
19:11:04,014 ERROR [STDERR] at org.jboss.invocation.jrmp.server.JRMPInvoker.
invoke(JRMPInvoker.java:364)
19:11:04,024 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor28.invoke(
Unknown Source)
19:11:04,044 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
19:11:04,044 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:3
24)
19:11:04,054 ERROR [STDERR] at sun.rmi.server.UnicastServerRef.dispatch(Unic
astServerRef.java:261)
19:11:04,064 ERROR [STDERR] at sun.rmi.transport.Transport$1.run(Transport.j
ava:148)
19:11:04,074 ERROR [STDERR] at java.security.AccessController.doPrivileged(N
ative Method)
19:11:04,084 ERROR [STDERR] at sun.rmi.transport.Transport.serviceCall(Trans
port.java:144)
19:11:04,094 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport.handleMess
ages(TCPTransport.java:460)
19:11:04,104 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport$Connection
Handler.run(TCPTransport.java:701)
19:11:04,114 ERROR [STDERR] at java.lang.Thread.run(Thread.java:536)
------------------