On Feb 9, 2011, at 10:55 AM, tjsaker wrote:

> 
> OpenEjb 3.1.4 standalone
> JRE 1.5
> 
> I'm trying to demo a simple CMP entity insert on a local workstation without
> luck.  I have a MySQL entity table to which I am attempting to insert a
> fresh item.  I get the following client-side stack trace when attempting to
> persist a simple entity (please see further below for configuration and
> source code detail):
> Exception in thread "main" javax.ejb.TransactionRolledbackLocalException:
> Transaction was rolled back, presumably because setRollbackOnly was called
> during a synchronization

Unfortunately the transaction manager we use does not report the cause of a 
rollback at commit time, it just reports that it did not commit.  So the 
resulting exception we throw the client doesn't have any information needed to 
see why the transaction failed.  But that information should be in the server 
side log.

Is it possible you can post the server log?

-David

Reply via email to