Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » (no subject)
(no subject) [message #721825] Sat, 03 September 2011 01:37
nash  is currently offline nash
Messages: 2
Registered: September 2011
Junior Member
Having the following issue.

Creating/Updating entities via functional tests, initially everything looks okay, however transaction is getting marked for rollback, and is eventually rolled back.

There is ZERO errors being logged at all, and no container level complaints. I'm able to directly insert records into the DB using DML.

I have <property name="eclipselink.logging.exceptions" value="true" /> specified in my persistence.xml, but still no error mgs.

The only thing I can consistently see is that the transaction marked for rollback after the sequence ids have been assigned.

Here is the logging @ finest (I've changed entity and attribute names in these logs to protect the innocent):


[EL Finer]: 2011.09.02 18:14:06.136--ServerSession(406678892)--Thread(Thread[[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--client acquired
[EL Finer]: 2011.09.02 18:14:06.136--UnitOfWork(655338057)--Thread(Thread[[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--TX binding to tx mgr, status=STATUS_ACTIVE
[EL Finest]: 2011.09.02 18:14:06.136--UnitOfWork(655338057)--Thread(Thread[[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Execute query ReadAllQuery(com.xxx.yy.z.Entity)
[EL Finest]: 2011.09.02 18:14:06.136--ServerSession(406678892)--Thread(Thread[[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--reconnecting to external connection pool
[EL Fine]: 2011.09.02 18:14:06.137--ServerSession(406678892)--Connection(1568847815)--Thread(Thread[[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--SELECT ENTITY_ID, NAME, CREATE_TS, CREATE_USER FROM ENTITY WHERE (NAME = ?)
bind => [apple]
mailto:com.xxx.yy.z.Entity@5d30b4ad
[EL Finest]: 2011.09.02 18:14:06.147--UnitOfWork(655338057)--Thread(Thread[[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--PERSIST operation called on: mailto:com.xxx.yy.z.Entity@5d30b4ad.
[EL Finest]: 2011.09.02 18:14:06.147--ClientSession(682186698)--Thread(Thread[[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Execute query ValueReadQuery()
[EL Finest]: 2011.09.02 18:14:06.147--ServerSession(406678892)--Thread(Thread[[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--reconnecting to external connection pool
[EL Fine]: 2011.09.02 18:14:06.148--ServerSession(406678892)--Connection(96641953)--Thread(Thread[[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--SELECT ENTITY_SEQ.NEXTVAL FROM DUAL
[EL Finest]: 2011.09.02 18:14:06.151--UnitOfWork(655338057)--Thread(Thread[[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--assign sequence to the object (5,108 -> mailto:com.xxx.yy.z.Entity@5d30b4ad)
[EL Finer]: 2011.09.02 18:14:06.151--ClientSession(682186698)--Thread(Thread[[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--TX beginTransaction, status=MARKED_ROLLBACK
[EL Finest]: 2011.09.02 18:14:06.152--UnitOfWork(655338057)--Thread(Thread[[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Execute query InsertObjectQuery(mailto:com.xxx.yy.z.Entity@5d30b4ad)
[EL Finest]: 2011.09.02 18:14:06.152--ClientSession(682186698)--Thread(Thread[[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--reconnecting to external connection pool
[EL Fine]: 2011.09.02 18:14:06.152--ClientSession(682186698)--Connection(73276991)--Thread(Thread[[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--INSERT INTO ENTITY (ENTITY_ID, NAME, CREATE_TS, CREATE_USER) VALUES (?, ?, ?, ?)
bind => [5108, apple, FunctionalTest, FunctionalTest]
[EL Finer]: 2011.09.02 18:14:06.157--UnitOfWork(655338057)--Thread(Thread[[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--initialize identitymaps
[EL Finer]: 2011.09.02 18:14:06.165--UnitOfWork(655338057)--Thread(Thread[[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--TX afterCompletion callback, status=ROLLEDBACK
[EL Finer]: 2011.09.02 18:14:06.165--UnitOfWork(655338057)--Thread(Thread[[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--release unit of work
[EL Finer]: 2011.09.02 18:14:06.165--ClientSession(682186698)--Thread(Thread[[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--client released
Previous Topic:(no subject)
Next Topic:(no subject)
Goto Forum:
  


Current Time: Thu Oct 30 18:16:38 GMT 2014

Powered by FUDForum. Page generated in 0.01543 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software