0 Replies Latest reply on Dec 8, 2006 3:30 AM by deng mingcheng

    How can i run jbpm31 on mysql5.x ? Unknown entity: org.jbpm.

    deng mingcheng Newbie

      I run jbpm31 on mysql4.x very well . and i try to get it to run on mysql5.x , find some following errors . someone can help to find the issues? Thanks very much .



      2006-12-08 16:22:39,576 DEBUG net.sf.ehcache.Cache - org.jbpm.graph.def.Node.events: Is element with key org.jbpm.graph.def.Node.events#10 expired?: false
      2006-12-08 16:22:39,576 DEBUG org.jbpm.msg.db.DbMessageService - sending msg 'org.jbpm.command.ExecuteNodeCommand@15c024c' to destination 'CMD_EXECUTOR'
      org.hibernate.MappingException: Unknown entity: org.jbpm.command.ExecuteNodeCommand
      at org.hibernate.impl.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:512)
      at org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1272)
      at org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:180)
      at org.hibernate.event.def.AbstractSaveEventListener.getEntityState(AbstractSaveEventListener.java:460)
      at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:84)
      at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
      at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:520)
      at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:513)
      at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:509)
      at org.jbpm.db.MessagingSession.save(MessagingSession.java:48)
      at org.jbpm.msg.db.DbMessageService.send(DbMessageService.java:58)
      at org.jbpm.graph.def.Node.enter(Node.java:314)
      at org.jbpm.graph.def.Node$$FastClassByCGLIB$$d187eeda.invoke()
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
      at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$14af7d34_2.enter()
      at org.jbpm.graph.def.Transition.take(Transition.java:119)
      at org.jbpm.graph.def.Node.leave(Node.java:383)
      at org.jbpm.graph.node.StartState.leave(StartState.java:70)
      at org.jbpm.graph.def.Node$$FastClassByCGLIB$$d187eeda.invoke()
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
      at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$14af7d34_2.leave()
      at org.jbpm.graph.exe.Token.signal(Token.java:174)
      at org.jbpm.graph.exe.Token.signal(Token.java:123)
      at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:217)
      at org.jbpm31.example.action.WorkflowManager.forwardTaskInstaceNext(WorkflowManager.java:226)
      at org.jbpm31.example.action.WorkflowAction.startProcess(WorkflowAction.java:700)
      at org.apache.jsp.workflow.start_jsp._jspService(start_jsp.java:49)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
      at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:209)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:670)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:517)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:575)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
      at java.lang.Thread.run(Thread.java:595)
      2006-12-08 16:22:39,732 DEBUG org.jbpm.JbpmContext - closing JbpmContext
      2006-12-08 16:22:39,732 DEBUG org.jbpm.svc.Services - closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService@19b08cc
      2006-12-08 16:22:39,732 DEBUG org.jbpm.persistence.db.DbPersistenceService - committing hibernate transaction