Intermittent Failure: Occaisonally Hibernate/JBoss fails to push updates to the Database

Description

Occurs on one system intermittently. When an exception occurs (non-db related) during a transaction, any changes to any Session managed objects after are not persisted to the database unless EntityManager.saveOrUpdate is explicitly called with the managed object. This continues for any later transaction, and persists through JBoss restarts. The only way to fix this once it starts is to stop JBoss, delete the %JBOSS_HOME%/server/<config>/data & work directories, the restart JBoss.

Unfortunately, we have not been able to reliably duplicate the cause, and it only happens sometimes, once every 2-3 weeks. Its the same server every time, but only on that one server (which is not even anything resembling the most heavily loaded server, but one of the lightest loaded).

I attempted to discuss this first on IRC, but there did not seem to be anyone on the #hibernate channel today.

I am completely at a loss for this, and due to the inconsistent showing of this issue, have not yet been unable to come up with a test case (there have been several days worth of effort to come up with a test case by each of several developers on the team). If anyone knows what is causing this issue, assistance would be appreciated.

Environment

JBoss 4.2.2.GA
MS 2003 (Polish CharacterSet)

Activity

Show:
Steve Ebersole
August 11, 2010, 2:15 PM

This is not a support forum. It is intended for issues (bug reports, feature requests, etc), not user help. That being said:

  • This is an old, no-longer-maintained version of Hibernate

  • Sounds like perhaps related to ?

Assignee

Unassigned

Reporter

Stephen Davidson

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure