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!


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934172#3934172

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934172


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to