Following configuration: | <jbpm-context> | <service name="persistence"> | <bean name="dbpersistence" factory="org.jbpm.persistence.db.DbPersistenceServiceFactory"> | <property name="sessionFactoryJndiName"> | <string value="java:/hibernate/JbpmSessionFactory" /> | </property> | </bean> | </service> | <service name="message" factory="org.jbpm.msg.db.DbMessageServiceFactory" /> | <service name="scheduler" factory="org.jbpm.scheduler.db.DbSchedulerServiceFactory" /> | <service name="logging" factory="org.jbpm.logging.db.DbLoggingServiceFactory" /> | <service name="authentication" factory="org.jbpm.security.authentication.DefaultAuthenticationServiceFactory" /> | </jbpm-context> | The Hibernate Session Factory is there and works, but when I create a new jBPM context, I get:
| 10:41:43,831 DEBUG [JBPMUtil] Creating jBPM context | 10:41:43,832 DEBUG [JBPMUtil] Creating initial JNDI context. | 10:41:43,834 DEBUG [JBPMUtil] Getting jBPM Configuration MBean | 10:41:43,837 DEBUG [JBPMUtil] Got the jBPM Configuration of type org.jbpm.JbpmConfiguration | 10:41:43,859 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]' | 10:41:43,859 DEBUG [JbpmContext] creating JbpmContext | 10:41:43,860 DEBUG [JBPMUtil] Created jBPM context [EMAIL PROTECTED] | 10:41:43,860 DEBUG [JBPMUtil] Setting actorid to wasperen | 10:41:43,862 DEBUG [DbPersistenceServiceFactory] creating persistence service | 10:41:43,868 DEBUG [DbPersistenceServiceFactory] building hibernate session factory | 10:41:43,871 DEBUG [HibernateHelper] using default hibernate configuration resource (hibernate.cfg.xml) | 10:41:43,872 INFO [Configuration] configuring from resource: /hibernate.cfg.xml | 10:41:43,872 INFO [Configuration] Configuration resource: /hibernate.cfg.xml | 10:41:43,875 ERROR [JBPMPage] Page 'Home' failed to get the task list. | 10:41:43,876 DEBUG [JBPMPage] Page 'Home' is closing a jBPM Context. | 10:41:43,876 DEBUG [JbpmContext] closing JbpmContext | 10:41:43,877 DEBUG [Services] closing service 'persistence': [EMAIL PROTECTED] | 10:41:43,877 DEBUG [Services] closing service 'authentication': [EMAIL PROTECTED] | Why is it creating a new persistence service at 10:41:43,862 and building a new hibernate session factory? Thanks, Willem View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944847#3944847 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944847 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
