1 Reply Latest reply on Feb 7, 2007 2:13 PM by Michael Holtzman

    Hibernate problem after upgrading to version 3.1.3

    Michael Holtzman Newbie

      Greetings. After upgrading from v3.1.2 to v3.1.3, I started getting hibernate errors in code that has worked for months.

      The exact exception thrown varies slightlly, but they all have this in common:

      First, there is "Unknown entity: java.lang.String", and then shortly after "error in persistence service". Sometimes I also get "unable to remove timers from process instance". It seems like this happens when a process instance has completed, but I am still trying to narrow that down.

      Has anybody seen any similar problems? Any ideas on the root cause, and how to fix it.

      When I revert back to v3.1.2, the problem does not appear.

      Thanx.

        • 1. Re: Hibernate problem after upgrading to version 3.1.3
          Michael Holtzman Newbie

          Same problem is ocurring in 3.1.4

          This was mentioned in the release notes, but I am still seeing this problem.

          Here is the stack trace:

           07 Feb 2007 13:44:56:TPM Engine(ProcessCommand):(404832/T5_2_Credit Checks) Signal failed: Unknown entity: java.lang.St
          ring
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.impl.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.ja
          va:550)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1338)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:180)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.event.def.AbstractSaveEventListener.getEntityState(AbstractSaveE
          ventListener.java:512)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(D
          efaultSaveOrUpdateEventListener.java:80)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(Defaul
          tSaveOrUpdateEventListener.java:70)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:507)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:499)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.engine.CascadingAction$1.cascade(CascadingAction.java:218)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:268)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:216)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:169)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.engine.Cascade.cascade(Cascade.java:130)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.event.def.AbstractSaveEventListener.cascadeBeforeSave(AbstractSa
          veEventListener.java:431)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(Abstr
          actSaveEventListener.java:265)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEven
          tListener.java:181)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(Abstract
          SaveEventListener.java:121)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRe
          questedId(DefaultSaveOrUpdateEventListener.java:187)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedI
          d(DefaultSaveEventListener.java:33)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(Def
          aultSaveOrUpdateEventListener.java:172)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSa
          veEventListener.java:27)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(Defaul
          tSaveOrUpdateEventListener.java:70)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.impl.SessionImpl.save(SessionImpl.java:523)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.impl.SessionImpl.save(SessionImpl.java:519)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.jbpm.logging.db.DbLoggingService.log(DbLoggingService.java:46)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.jbpm.svc.save.SaveLogsOperation.save(SaveLogsOperation.java:47)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.jbpm.svc.Services.save(Services.java:156)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.jbpm.JbpmContext.save(JbpmContext.java:390)
           07 Feb 2007 13:44:56:TPM Engine(Utility):org.jbpm.JbpmContext.save(JbpmContext.java:397)
           07 Feb 2007 13:44:56:TPM Engine(Utility):com.olf.bpm.ProcessCommand.signalToken(ProcessCommand.java:1449)
           07 Feb 2007 13:44:56:TPM Engine(Utility):com.olf.bpm.ProcessCommand.signalToken(ProcessCommand.java:1433)
           07 Feb 2007 13:44:56:TPM Engine(Utility):com.olf.bpm.ProcessCommand.process(ProcessCommand.java:1330)
           07 Feb 2007 13:44:56:TPM Engine(Utility):com.olf.bpm.ProcessCommand.run(ProcessCommand.java:98)
           07 Feb 2007 13:44:56:TPM Engine(Services):problem closing service 'persistence'