[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5458) Intermittent Failure: Occaisonally Hibernate/JBoss fails to push updates to the Database

Stephen Davidson (JIRA) noreply at atlassian.com
Tue Aug 10 22:12:39 EDT 2010


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

                 Key: HHH-5458
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5458
             Project: Hibernate Core
          Issue Type: Bug
          Components: core
    Affects Versions: 3.2.4.sp1
         Environment: JBoss 4.2.2.GA
MS 2003 (Polish CharacterSet)

            Reporter: Stephen Davidson
            Priority: Minor


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list