This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
Not Commited Transaction using JPA
problem with removing and transactions
are entity beans EJB3?
Using Hibernate EntityManager
How To Add Hibernate Facet To Eclipse Galileo JPA Project?