persistence@glassfish.java.net

RollbackException

From: Prashant Dighe <Prashant.Dighe_at_Sun.COM>
Date: Wed, 26 Aug 2009 14:02:05 -0700

Hello,

Using EclipseLink 1.1.1.

Trying to figure out the cause but clueless from the logs below.

Is there a way I can find out what's causing this rollback?

Thanks,
Prashant

...
... <lot more logs here but no errors>
...
[EL Finest]: 2009-08-26
13:48:31.728--UnitOfWork(782955741)--Thread(Thread[http-8080-3,5,main])--Execute
query ReportQuery(referenceClass=LayoutImpl sql="SELECT COUNT(PLID) FROM
Layout WHERE ((GROUPID = ?) AND (PRIVATELAYOUT = ?))")
[EL Fine]: 2009-08-26
13:48:31.73--ClientSession(365706422)--Connection(1504833818)--Thread(Thread[http-8080-3,5,main])--SELECT
COUNT(PLID) FROM Layout WHERE ((GROUPID = ?) AND (PRIVATELAYOUT = ?))
    bind => [10155, true]
[EL Finest]: 2009-08-26
13:48:43.349--UnitOfWork(782955741)--Thread(Thread[http-8080-3,5,main])--Merge
clone with references {layoutSetId=10156, groupId=10155,
companyId=10118, privateLayout=true, logo=false, logoId=0,
themeId=classic, colorSchemeId=01, wapThemeId=mobile,
wapColorSchemeId=01, css=, pageCount=1, virtualHost=,
layoutSetPrototypeId=0}
[EL Finest]: 2009-08-26
13:48:43.419--UnitOfWork(782955741)--Thread(Thread[http-8080-3,5,main])--Execute
query UpdateObjectQuery({layoutSetId=10156, groupId=10155,
companyId=10118, privateLayout=true, logo=false, logoId=0,
themeId=classic, colorSchemeId=01, wapThemeId=mobile,
wapColorSchemeId=01, css=, pageCount=1, virtualHost=,
layoutSetPrototypeId=0})
[EL Fine]: 2009-08-26
13:48:43.425--ClientSession(365706422)--Connection(1504833818)--Thread(Thread[http-8080-3,5,main])--UPDATE
LayoutSet SET PAGECOUNT = ? WHERE (LAYOUTSETID = ?)
    bind => [1, 10156]
[EL Finer]: 2009-08-26
13:49:02.707--UnitOfWork(782955741)--Thread(Thread[http-8080-3,5,main])--release
unit of work
*[EL Finer]: 2009-08-26
13:49:02.708--ClientSession(365706422)--Connection(1504833818)--Thread(Thread[http-8080-3,5,main])--rollback
transaction*
[EL Finer]: 2009-08-26
13:49:02.711--ClientSession(365706422)--Thread(Thread[http-8080-3,5,main])--client
released
13:49:46,328 WARN [PortalImpl:3122] Current URL
/c/layout_management/update_page generates exception: Could not commit
JPA transaction; nested exception is
javax.persistence.RollbackException: Transaction rolled back because
transaction was set to RollbackOnly.