Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JSF and the fly likes Transaction not committed using JPA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Transaction not committed using JPA" Watch "Transaction not committed using JPA" New topic
Author

Transaction not committed using JPA

sherif hathout
Greenhorn

Joined: Nov 02, 2004
Posts: 18
I recently worked on application that used Hibernate as JPA provider and using an Oracle database and deploy the application on a WebSphere application server 6.1 server.
my application ran a lot of transactions per second ,all of them were running successfully but one in the middle did not committed (i notice that balance not changed), no problem happened or exception in logs, it happened randomly.
I did not configure where the problem persist , from application server or from my application or even from hibernate.

Please help
nikola petanjak
Greenhorn

Joined: Apr 01, 2011
Posts: 19
Hi

Maybe you can get useful information from WebSphere trace.log?

Have you tried, in WebSphere console,

Troubleshooting -> Logs and trace -> /server_name/ -> Diagnostic Trace -> Change Log Detail Levels ?

There you can set, for instance,

openjpa.* -> (left click) -> Message and trace levels -> (fatal,severe,warning,info,...)

P.S. watch out for hard disk space
sherif hathout
Greenhorn

Joined: Nov 02, 2004
Posts: 18
Hi nikola,

This issue happened on production environment and it happen randomly . no errors on logs as the severe levels is opened.

it will be difficult to open other levels as it will make server slowly.

is there any other way to know why transaction not committed ?

Thanks
nikola petanjak
Greenhorn

Joined: Apr 01, 2011
Posts: 19
I'm sorry but that's best advice i can give, as beginner.

Good luck.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Transaction not committed using JPA