Hmm... I guess I'm not sure I'm seeing the same thing. When I
run the test client, it bombs out and the server shows the following:
java.rmi.RemoteException
at
org.jboss.zol.testbean.bean.EnterpriseEntityBean.createEntity(EnterpriseEntityBean.java:78)
at java.lang.reflect.Method.invoke(Native Method )
at org.jboss.ejb.EntityContainer$ContainerInterceptor.invoke(EntityContainer.java:549)
at
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:189)
at
org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:100)
at org.jboss.ejb.plugins.TxInterceptor$RunInvoke.run(TxInterceptor.java:342)
at org.jboss.ejb.plugins.TxInterceptor.runWithTransactions(TxInterceptor.java:173)
at org.jboss.ejb.plugins.TxInterceptor.invoke(TxInterceptor.java:98)
If I look at TxInterceptor.java line 173, it calls rollback if
the transaction was new (does nothing otherwise) and then rethrows the
exception. So what were you seeing again? You said something about a
commit followed by other strange things?
Are we looking at a failure in the same place? On the client side
it's right after "Calling method createEntity on enterpriseEntity..."
Thanks,
Aaron