We are embedding jbpm in our application and this error occurs when we try to run the jUnit tests. I checked the libraries in my repository and looked for the mapping, and it exists in the jbpm.repository.hbm.xml which is in turn referenced from jbpm.hibernate.cfg.xml in our classpath.
Because we are still in the development phase, I did not need to bother upgrading the db, I just used the create script supplied in the distribution, and the jbpm4_property table is defined in there. I have also deleted all the 4.0 and 4.1 jbpm libraries just to make sure I did not have a conflict there. I still have the problem. Here is my log file, maybe it will offer a clue: | 2009-11-12 14:08:36,621 TRACE (Log4jLog.java:72) - loading wire bindings from resource: jar:file:/Users/bob/.m2/repository/org/jbpm/jbpm4/jbpm-pvm/4.2/jbpm-pvm-4.2.jar!/jbpm.wire.bindings.xml | 2009-11-12 14:08:36,639 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.TrueBinding | 2009-11-12 14:08:36,642 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.FalseBinding | 2009-11-12 14:08:36,643 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.CharBinding | 2009-11-12 14:08:36,646 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.DoubleBinding | 2009-11-12 14:08:36,647 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.FloatBinding | 2009-11-12 14:08:36,648 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.IntBinding | 2009-11-12 14:08:36,653 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.ShortBinding | 2009-11-12 14:08:36,655 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.ByteBinding | 2009-11-12 14:08:36,656 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.LongBinding | 2009-11-12 14:08:36,661 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.StringBinding | 2009-11-12 14:08:36,662 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.NullBinding | 2009-11-12 14:08:36,664 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.ClassBinding | 2009-11-12 14:08:36,665 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.ObjectBinding | 2009-11-12 14:08:36,666 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.RefBinding | 2009-11-12 14:08:36,667 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.JndiBinding | 2009-11-12 14:08:36,668 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.ListBinding | 2009-11-12 14:08:36,670 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.SetBinding | 2009-11-12 14:08:36,672 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.MapBinding | 2009-11-12 14:08:36,675 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.PropertiesBinding | 2009-11-12 14:08:36,676 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.ProcessEngineRefBinding | 2009-11-12 14:08:36,677 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.EnvRefBinding | 2009-11-12 14:08:36,678 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.EnvBinding | 2009-11-12 14:08:36,680 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.ContextRefBinding | 2009-11-12 14:08:36,683 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.TransactionRefBinding | 2009-11-12 14:08:36,684 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.TransactionBinding | 2009-11-12 14:08:36,685 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.JobExecutorBinding | 2009-11-12 14:08:36,688 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.JobTestHelperBinding | 2009-11-12 14:08:36,689 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.ScriptManagerBinding | 2009-11-12 14:08:36,690 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.BusinessCalendarBinding | 2009-11-12 14:08:36,691 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.IdComposerBinding | 2009-11-12 14:08:36,692 TRACE (Log4jLog.java:72) - couldn't instantiate binding org.jbpm.pvm.internal.wire.binding.IdComposerBinding | 2009-11-12 14:08:36,692 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.MailTemplateBinding | 2009-11-12 14:08:36,694 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.AddressResolverBinding | 2009-11-12 14:08:36,695 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.HibernateConfigurationBinding | 2009-11-12 14:08:36,697 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.SeamHibernateSessionBinding | 2009-11-12 14:08:36,698 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.HibernateSessionBinding | 2009-11-12 14:08:36,699 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.HibernateSessionFactoryBinding | 2009-11-12 14:08:36,699 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.DbSessionBinding | 2009-11-12 14:08:36,700 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.MessageSessionBinding | 2009-11-12 14:08:36,701 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.TimerSessionBinding | 2009-11-12 14:08:36,702 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.HistorySessionBinding | 2009-11-12 14:08:36,703 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.IdentitySessionBinding | 2009-11-12 14:08:36,703 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.JbossIdmIdentitySessionFactoryBinding | 2009-11-12 14:08:36,704 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.JbossIdmIdentitySessionBinding | 2009-11-12 14:08:36,706 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.RepositorySessionBinding | 2009-11-12 14:08:36,708 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.MailSessionBinding | 2009-11-12 14:08:36,709 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.TypesBinding | 2009-11-12 14:08:36,712 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.CommandServiceBinding | 2009-11-12 14:08:36,713 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.ExecutionServiceBinding | 2009-11-12 14:08:36,714 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.ManagementServiceBinding | 2009-11-12 14:08:36,715 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.IdentityServiceBinding | 2009-11-12 14:08:36,716 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.HistoryServiceBinding | 2009-11-12 14:08:36,716 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.TaskServiceBinding | 2009-11-12 14:08:36,717 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.RepositoryServiceBinding | 2009-11-12 14:08:36,718 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.RepositoryCacheBinding | 2009-11-12 14:08:36,718 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.DeployerManagerBinding | 2009-11-12 14:08:36,719 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.SkipInterceptorBinding | 2009-11-12 14:08:36,721 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.EnvironmentInterceptorBinding | 2009-11-12 14:08:36,723 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.AuthorizationInterceptorBinding | 2009-11-12 14:08:36,724 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.RetryInterceptorBinding | 2009-11-12 14:08:36,726 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.StandardTransactionInterceptorBinding | 2009-11-12 14:08:36,727 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.SerializeInterceptorBinding | 2009-11-12 14:08:36,727 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.JtaTransactionInterceptorBinding | 2009-11-12 14:08:36,728 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.PropertyBinding | 2009-11-12 14:08:36,729 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.FieldBinding | 2009-11-12 14:08:36,730 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.InvokeBinding | 2009-11-12 14:08:36,731 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.SubscribeBinding | 2009-11-12 14:08:36,732 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.EnlistBinding | 2009-11-12 14:08:36,733 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.enterprise.internal.wire.binding.EjbTimerSessionBinding | 2009-11-12 14:08:36,734 TRACE (Log4jLog.java:72) - couldn't instantiate binding org.jbpm.enterprise.internal.wire.binding.EjbTimerSessionBinding | 2009-11-12 14:08:36,734 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.enterprise.internal.wire.binding.EjbLocalCommandServiceBinding | 2009-11-12 14:08:36,736 TRACE (Log4jLog.java:72) - couldn't instantiate binding org.jbpm.enterprise.internal.wire.binding.EjbLocalCommandServiceBinding | 2009-11-12 14:08:36,736 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.enterprise.internal.wire.binding.EjbRemoteCommandServiceBinding | 2009-11-12 14:08:36,737 TRACE (Log4jLog.java:72) - couldn't instantiate binding org.jbpm.enterprise.internal.wire.binding.EjbRemoteCommandServiceBinding | 2009-11-12 14:08:36,737 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.jpdl.internal.xml.JpdlDeployerBinding | 2009-11-12 14:08:36,739 TRACE (Log4jLog.java:72) - adding wire binding for org.jbpm.pvm.internal.wire.binding.SpringTransactionInterceptorBinding | 2009-11-12 14:08:36,741 TRACE (Log4jLog.java:72) - skipping unavailable wire bindings resource jbpm.user.wire.bindings.xml | 2009-11-12 14:08:36,779 DEBUG (Log4jLog.java:60) - no element parser for tag import in category descriptor | 2009-11-12 14:08:36,885 TRACE (Log4jLog.java:72) - created ProcessEngine 16541077 | 2009-11-12 14:08:36,886 TRACE (Log4jLog.java:72) - process-engine-context 7427117 | 2009-11-12 14:08:36,886 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.repository.RepositoryCacheImpl | 2009-11-12 14:08:36,886 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.type.TypeSet | 2009-11-12 14:08:36,886 TRACE (Log4jLog.java:72) - org.jbpm.api.ManagementService | 2009-11-12 14:08:36,887 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.id.DatabaseIdComposer | 2009-11-12 14:08:36,887 TRACE (Log4jLog.java:72) - org.jbpm.api.RepositoryService | 2009-11-12 14:08:36,887 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.repository.DeployerManager | 2009-11-12 14:08:36,887 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.type.DefaultTypeSet | 2009-11-12 14:08:36,888 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.svc.TaskServiceImpl | 2009-11-12 14:08:36,888 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.cal.BusinessCalendar | 2009-11-12 14:08:36,888 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.id.DbidGenerator | 2009-11-12 14:08:36,889 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.id.IdComposer | 2009-11-12 14:08:36,889 TRACE (Log4jLog.java:72) - org.jbpm.api.ExecutionService | 2009-11-12 14:08:36,891 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.svc.AbstractServiceImpl | 2009-11-12 14:08:36,892 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.repository.RepositoryCache | 2009-11-12 14:08:36,892 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.svc.IdentityServiceImpl | 2009-11-12 14:08:36,892 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.svc.ExecutionServiceImpl | 2009-11-12 14:08:36,893 TRACE (Log4jLog.java:72) - org.jbpm.api.TaskService | 2009-11-12 14:08:36,893 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.cal.BusinessCalendarImpl | 2009-11-12 14:08:36,893 TRACE (Log4jLog.java:72) - java.lang.Object | 2009-11-12 14:08:36,893 TRACE (Log4jLog.java:72) - org.jbpm.api.HistoryService | 2009-11-12 14:08:36,894 TRACE (Log4jLog.java:72) - org.jbpm.api.IdentityService | 2009-11-12 14:08:36,894 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.repository.RepositoryServiceImpl | 2009-11-12 14:08:36,894 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.svc.ManagementServiceImpl | 2009-11-12 14:08:36,895 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.id.DatabaseDbidGenerator | 2009-11-12 14:08:36,895 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.svc.HistoryServiceImpl | 2009-11-12 14:08:36,895 TRACE (Log4jLog.java:72) - java.io.Serializable | 2009-11-12 14:08:36,896 TRACE (Log4jLog.java:72) - transaction-context: | 2009-11-12 14:08:36,896 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.session.DbSession | 2009-11-12 14:08:36,896 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.repository.RepositorySessionImpl | 2009-11-12 14:08:36,897 TRACE (Log4jLog.java:72) - org.hibernate.jdbc.JDBCContext$Context | 2009-11-12 14:08:36,898 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.session.TimerSession | 2009-11-12 14:08:36,898 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.identity.spi.IdentitySession | 2009-11-12 14:08:36,898 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.hibernate.DbSessionImpl | 2009-11-12 14:08:36,899 TRACE (Log4jLog.java:72) - org.hibernate.classic.Session | 2009-11-12 14:08:36,899 TRACE (Log4jLog.java:72) - java.lang.Object | 2009-11-12 14:08:36,899 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.jobexecutor.JobExecutorTimerSession | 2009-11-12 14:08:36,900 TRACE (Log4jLog.java:72) - com.hrworx.formworx.service.user.JbpmIdentitySessionImpl | 2009-11-12 14:08:36,900 TRACE (Log4jLog.java:72) - org.hibernate.engine.SessionImplementor | 2009-11-12 14:08:36,900 TRACE (Log4jLog.java:72) - org.hibernate.impl.SessionImpl | 2009-11-12 14:08:36,900 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.tx.StandardTransaction | 2009-11-12 14:08:36,901 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.session.MessageSession | 2009-11-12 14:08:36,901 TRACE (Log4jLog.java:72) - org.hibernate.event.EventSource | 2009-11-12 14:08:36,901 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.history.HistorySessionImpl | 2009-11-12 14:08:36,902 TRACE (Log4jLog.java:72) - org.hibernate.transaction.TransactionFactory$Context | 2009-11-12 14:08:36,902 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.history.HistorySession | 2009-11-12 14:08:36,902 TRACE (Log4jLog.java:72) - org.hibernate.Session | 2009-11-12 14:08:36,902 TRACE (Log4jLog.java:72) - java.io.Serializable | 2009-11-12 14:08:36,903 TRACE (Log4jLog.java:72) - org.hibernate.impl.AbstractSessionImpl | 2009-11-12 14:08:36,904 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.env.Transaction | 2009-11-12 14:08:36,904 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.session.RepositorySession | 2009-11-12 14:08:36,904 TRACE (Log4jLog.java:72) - org.jbpm.pvm.internal.jobexecutor.JobExecutorMessageSession | 2009-11-12 14:08:36,905 TRACE (Log4jLog.java:72) - creating process-engine | 2009-11-12 14:08:36,905 DEBUG (Log4jLog.java:60) - eagerly initializing org.jbpm.pvm.internal.id.DatabaseIdComposer | 2009-11-12 14:08:36,906 TRACE (Log4jLog.java:72) - constructing org.jbpm.pvm.internal.id.DatabaseIdComposer | 2009-11-12 14:08:36,910 TRACE (Log4jLog.java:72) - initializing org.jbpm.pvm.internal.id.DatabaseIdComposer | 2009-11-12 14:08:36,910 TRACE (Log4jLog.java:72) - constructing txRequiredCommandService | 2009-11-12 14:08:36,912 TRACE (Log4jLog.java:72) - initializing txRequiredCommandService | 2009-11-12 14:08:36,914 TRACE (Log4jLog.java:72) - opening jbpm-springPvmEnvironment[4679618] | 2009-11-12 14:08:36,915 TRACE (Log4jLog.java:72) - creating transaction | 2009-11-12 14:08:36,915 TRACE (Log4jLog.java:72) - found org.jbpm.pvm.internal.tx.StandardTransaction in transaction | 2009-11-12 14:08:36,916 TRACE (Log4jLog.java:72) - constructing org.jbpm.pvm.internal.tx.StandardTransaction | 2009-11-12 14:08:36,917 TRACE (Log4jLog.java:72) - initializing org.jbpm.pvm.internal.tx.StandardTransaction | 2009-11-12 14:08:36,917 TRACE (Log4jLog.java:72) - org.springframework.transaction.PlatformTransactionManager not found in transaction 12305750 | 2009-11-12 14:08:36,919 TRACE (Log4jLog.java:72) - org.springframework.transaction.PlatformTransactionManager not found in process-engine 7427117 | 2009-11-12 14:08:36,920 TRACE (Log4jLog.java:72) - beginning StandardTransaction[10007380] | 2009-11-12 14:08:36,969 TRACE (Log4jLog.java:72) - found org.hibernate.Session in transaction | 2009-11-12 14:08:36,970 TRACE (Log4jLog.java:72) - constructing org.hibernate.impl.SessionImpl | 2009-11-12 14:08:36,970 TRACE (Log4jLog.java:72) - org.hibernate.SessionFactory not found in transaction 12305750 | 2009-11-12 14:08:36,970 TRACE (Log4jLog.java:72) - org.hibernate.SessionFactory not found in process-engine 7427117 | 2009-11-12 14:08:36,972 TRACE (Log4jLog.java:72) - creating hibernate session | 2009-11-12 14:08:36,972 TRACE (Log4jLog.java:72) - found org.jbpm.pvm.internal.tx.StandardTransaction in transaction | 2009-11-12 14:08:36,973 TRACE (Log4jLog.java:72) - delivering org.jbpm.pvm.internal.tx.StandardTransaction | 2009-11-12 14:08:36,974 DEBUG (Log4jLog.java:60) - ----- beginning hibernate tx 1861345 -------------------------------------------------------- | 2009-11-12 14:08:36,974 TRACE (Log4jLog.java:72) - begun hibernate tx 10902815 on hibernate session 1861345 | 2009-11-12 14:08:36,975 TRACE (Log4jLog.java:72) - enlisting resource org.jbpm.pvm.internal.tx.hibernatesessionresou...@2ba84d to standard transaction | 2009-11-12 14:08:36,976 TRACE (Log4jLog.java:72) - initializing org.hibernate.impl.SessionImpl | 2009-11-12 14:08:36,993 INFO (Log4jLog.java:52) - exception while executing command org.jbpm.pvm.internal.cmd.checkdb...@1c7114 | org.hibernate.MappingException: Unknown entity: org.jbpm.pvm.internal.id.PropertyImpl | at org.hibernate.impl.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:550) | at org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1338) | at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:98) | at org.hibernate.ejb.event.EJB3SaveEventListener.saveWithGeneratedId(EJB3SaveEventListener.java:43) | at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187) | at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33) | at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172) | at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27) | at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70) | at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535) | at org.hibernate.impl.SessionImpl.save(SessionImpl.java:523) | at org.hibernate.impl.SessionImpl.save(SessionImpl.java:519) | at org.jbpm.pvm.internal.id.PropertyImpl.setPropertyValue(PropertyImpl.java:178) | at org.jbpm.pvm.internal.id.PropertyImpl.setNextDbid(PropertyImpl.java:85) | at org.jbpm.pvm.internal.cmd.CheckDbCmd.execute(CheckDbCmd.java:63) | at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42) | at org.jbpm.pvm.internal.spring.CommandTransactionCallback.doInTransaction(CommandTransactionCallback.java:50) | at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) | at org.jbpm.pvm.internal.tx.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:77) | at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53) | at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40) | at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55) | at org.jbpm.pvm.internal.cfg.ProcessEngineImpl.checkDb(ProcessEngineImpl.java:177) | at org.jbpm.pvm.internal.cfg.ProcessEngineImpl.buildProcessEngine(ProcessEngineImpl.java:170) | at org.jbpm.pvm.internal.cfg.SpringConfiguration.buildProcessEngine(SpringConfiguration.java:81) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:592) | at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:115) | at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:435) | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:903) | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:817) | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) | at java.security.AccessController.doPrivileged(Native Method) | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380) | at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:84) | at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:42) | at org.springframework.test.context.TestContext.loadApplicationContext(TestContext.java:173) | at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:197) | at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109) | at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) | at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:255) | at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:111) | at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.invokeTestMethod(SpringJUnit4ClassRunner.java:148) | at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51) | at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44) | at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27) | at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37) | at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42) | at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:97) | at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46) | at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) | 2009-11-12 14:08:37,008 TRACE (Log4jLog.java:72) - rolling back StandardTransaction[10007380] | 2009-11-12 14:08:37,008 TRACE (Log4jLog.java:72) - rolling back resource org.jbpm.pvm.internal.tx.hibernatesessionresou...@2ba84d | 2009-11-12 14:08:37,009 DEBUG (Log4jLog.java:60) - ----- rolling back hibernate tx 10902815 ----------------------------------------------------- | 2009-11-12 14:08:37,009 TRACE (Log4jLog.java:72) - closing hibernate session 1861345 | 2009-11-12 14:08:37,010 TRACE (Log4jLog.java:72) - rolled back | 2009-11-12 14:08:37,012 TRACE (Log4jLog.java:72) - closing transaction... | 2009-11-12 14:08:37,012 TRACE (Log4jLog.java:72) - closing PvmEnvironment[4679618] | 2009-11-12 14:08:37,012 TRACE (Log4jLog.java:72) - closed PvmEnvironment[4679618] | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265353#4265353 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265353 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user