1 Reply Latest reply on Apr 2, 2006 4:51 AM by kukeltje

    Help me

    msnsky

      ysql 5.0
      Tomcat 5.5
      Jbpm 3.1


      (1) Then modified src\config.files\hibernate.cfg.xml
      (2) create Database Jbpm
      (3) Then modified java.jbpm\org\jbpm\db\JbpmSessionFactory.java to be as follows:
      public static JbpmSessionFactory getInstance() {
      if (instance==null) {
      log.debug("building singleton JbpmSessionFactory");
      instance = buildJbpmSessionFactory();
      }
      return instance;
      }

      (4) ant build -buildfile build.xml
      (5) ant build.webapp -buildfile build.deploy.xml
      I get jbpm.war

      (6) In Tomcat Manager,Deploy the jbpm.war

      (7) In Tomcat Manager, I can see The Jbpm is running.
      Http://localhost:8080/jbpm/index.jsp. In IE, I can see just like blank.

      The log:

      log4j:WARN No appenders could be found for logger (org.apache.catalina.session.ManagerBase).
      log4j:WARN Please initialize the log4j system properly.
      LocaleUtils - Locale name null or empty, ignoring
      CommandExecutorThread - java.lang.NoClassDefFoundError: org/hibernate/Session
      10:27:28 WARN [CAFilter] init (line:81) java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?
      CommandExecutorThread - java.lang.NoClassDefFoundError: org/hibernate/Session
      Exception in thread "JbpmScheduler" java.lang.NoClassDefFoundError: org/hibernate/Session
      at org.jbpm.persistence.db.DbPersistenceServiceFactory.openService(DbPersistenceServiceFactory.java:55)
      at org.jbpm.svc.Services.getService(Services.java:136)
      at org.jbpm.svc.Services.getPersistenceService(Services.java:175)
      at org.jbpm.JbpmContext.getPersistenceService(JbpmContext.java:509)
      at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:417)
      at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:103)
      at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
      10:27:36 DEBUG [BusinessTypeController] setDelegate (line:265) Found action method [public org.springframework.web.servlet.ModelAndView org.powerstone.workflow.web.BusinessTypeController.successSubmit(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.lang.Exception]


      Please Help me. Thank you!

        • 1. Re: Help me
          kukeltje

          CommandExecutorThread - java.lang.NoClassDefFoundError: org/hibernate/Session

          Configure hibernate properly on your system