4 Replies Latest reply on Mar 22, 2008 2:38 AM by Vaneet Sharma

    org/jbpm/msg/Message.hbm.xml not found

    Vaneet Sharma Newbie

      Hi ,

      I am trying to run jBPM in a web application and trying to deploy it on Tomcat 5.5

      I am using servlets (HomeServlet , Process Servlet) from SimpleJbpmWebapp in my application.

      While running the project , it is giving following error

      Kindly help me in troubleshooting issue.

      19:35:01,941 ERROR [HomeServlet]:260 - Servlet.service() for servlet HomeServlet threw exception
      org.hibernate.MappingNotFoundException: resource: org/jbpm/msg/Message.hbm.xml not found
       at org.hibernate.cfg.Configuration.addResource(Configuration.java:563)
       at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1587)
       at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1555)
       at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1534)
       at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1508)
       at org.hibernate.cfg.Configuration.configure(Configuration.java:1428)
       at org.jbpm.db.hibernate.HibernateHelper.createConfiguration(HibernateHelper.java:91)
       at org.jbpm.persistence.db.DbPersistenceServiceFactory.getConfiguration(DbPersistenceServiceFactory.java:69)
       at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
       at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:95)
       at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:99)
       at org.jbpm.persistence.db.DbPersistenceService.getGraphSession(DbPersistenceService.java:341)
       at org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:571)
       at com.jbpm.examples.simple.web.HomeServlet.getProcessDefinitions(HomeServlet.java:72)
       at com.jbpm.examples.simple.web.HomeServlet.writeProcessDefinitionOptions(HomeServlet.java:58)
       at com.jbpm.examples.simple.web.HomeServlet.service(HomeServlet.java:45)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
       at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:413)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
       at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
       at java.lang.Thread.run(Thread.java:595)