Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] inactiveUnitOfWork with OptimisticLockException

That is odd, it code mean you have JTA configured incorrectly.  Are you using
JPA or native API?  Include your persistence.xml, and how you commit the
transaction/unit of work.



Cronemberger, Constantino wrote:
> 
> Hi,
> 
> When I get an OptimisticLockException trying to commit a transaction I
> also get the following warning. Is this something I should wory about?
> 
> ####<26-Nov-2010 15:15:39 o'clock BRST> <Warning> <JTA> <SPMADLT0374>
> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue:
> 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <>
> <1290791739182> <BEA-110401> <Ignoring error in afterCompletion.
> Object=<mailto:Object=org.eclipse.persistence.transaction.JTASynchronizationListener@a37e0d>org.eclipse.persistence.transaction.JTASynchronizationListener@a37e0d,
> Exception=Exception [EclipseLink-23011] (Eclipse Persistence Services -
> 2.1.0.v20100614-r7608):
> org.eclipse.persistence.exceptions.TransactionException
> Exception Description: UnitOfWork [UnitOfWork(
>  DatabaseAccessor(connected)
>  Oracle10Platform)] was rendered inactive before associated externally
> managed transaction was complete.
> Exception [EclipseLink-23011] (Eclipse Persistence Services -
> 2.1.0.v20100614-r7608):
> org.eclipse.persistence.exceptions.TransactionException
> Exception Description: UnitOfWork [UnitOfWork(
>  DatabaseAccessor(connected)
>  Oracle10Platform)] was rendered inactive before associated externally
> managed transaction was complete.
>  at
> org.eclipse.persistence.exceptions.TransactionException.inactiveUnitOfWork(TransactionException.java:118)
>  at
> org.eclipse.persistence.transaction.AbstractSynchronizationListener.afterCompletion(AbstractSynchronizationListener.java:203)
>  at
> org.eclipse.persistence.transaction.JTASynchronizationListener.afterCompletion(JTASynchronizationListener.java:79)
>  at
> weblogic.transaction.internal.ServerSCInfo.doAfterCompletion(ServerSCInfo.java:1023)
> It also happened with version 2.2.0-M5.
> 
> Thanks,
>    Constantino
> 
> 


-----
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland 
http://www.eclipse.org/eclipselink/
 EclipseLink ,  http://www.oracle.com/technology/products/ias/toplink/
TopLink 
Wiki:  http://wiki.eclipse.org/EclipseLink EclipseLink , 
http://wiki.oracle.com/page/TopLink TopLink 
Forums:  http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink , 
http://www.nabble.com/EclipseLink-f26430.html EclipseLink 
Book:  http://en.wikibooks.org/wiki/Java_Persistence Java Persistence 
Blog:  http://java-persistence-performance.blogspot.com/ Java Persistence
Performance 
-- 
View this message in context: http://old.nabble.com/inactiveUnitOfWork-with-OptimisticLockException-tp30314226p30349424.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top