The latest version of spring framework jBPM supports the 3.1 version. Does anyone know if jBPM 3.2 will work?
Thanks
Mike
The latest version of spring framework jBPM supports the 3.1 version. Does anyone know if jBPM 3.2 will work?
Thanks
Mike
It works for me. I had to add a property to the hibernateProperties since hibernate 3.2 no longer uses ehcache by default.
Code:<prop key="hibernate.cache.provider_class">org.hibernate.cache.EhCacheProvider</prop>
If you are using the JobExecutor that can be configured in the jbpm.cfg.xml in Version 3.2 you will have to patch the LocalJbpmConfigurationFactoryBean so that the jbpmConfiguration object is available in the objectFactory.
I have extended the LocalJbpmConfigurationFactoryBean and overridden the method afterPropertiesSet(). In the line where the jbpmConfiguration is created I call the method below.
Code:... jbpmConfiguration = createJbpmConfiguration(jbpmObjectFactory); ...
Code:protected static JbpmConfiguration createJbpmConfiguration( ObjectFactory objectFactory) { JbpmConfiguration jbpmConfiguration = new JbpmConfiguration( objectFactory); // now we make the bean jbpm.configuration always available if (objectFactory instanceof ObjectFactoryImpl) { ObjectFactoryImpl objectFactoryImpl = (ObjectFactoryImpl) objectFactory; ObjectInfo jbpmConfigurationInfo = new ValueInfo( "jbpmConfiguration", jbpmConfiguration); objectFactoryImpl.addObjectInfo(jbpmConfigurationInfo); } return jbpmConfiguration; }
Hi,
I am using jpbm-3.1.4 since some time. A try to upgrade to 3.2.1 ended with:
Seems to me that the springmodules do only support jbpm 3.1.x. Right? Any workaround, or should we wait for the next release of springmodules?Code:org.jbpm.JbpmException: no jbpm tx service configured at org.jbpm.persistence.db.DbPersistenceService.isRollbackOnly(DbPersistenceService.java:390) at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:201) at org.jbpm.svc.Services.close(Services.java:222) at org.jbpm.JbpmContext.close(JbpmContext.java:139) at org.springmodules.workflow.jbpm31.JbpmTemplate.releaseContext(JbpmTemplate.java:110) at org.springmodules.workflow.jbpm31.JbpmTemplate.execute(JbpmTemplate.java:99) . . .
best regards
Harry
Hi,
we are user Jbpm 3.2 together with springmodules and it works fine. It seems that you haven no transaction service configured in your jbpm.cfg.xml file.
cheersCode:<jbpm-context> <service name="persistence"> <factory> <bean class="org.jbpm.persistence.db.DbPersistenceServiceFactory"></bean> </factory> </service> <service name="message" factory="org.jbpm.msg.db.DbMessageServiceFactory" /> <service name="scheduler" factory="org.jbpm.scheduler.db.DbSchedulerServiceFactory" /> <service name="tx" factory="org.jbpm.tx.TxServiceFactory" /> <service name="logging" factory="org.jbpm.logging.db.DbLoggingServiceFactory" /> <service name="authentication" factory="org.jbpm.security.authentication.DefaultAuthenticationServiceFactory" /> </jbpm-context>
chris
Thanx Kiwu for your createJbpmConfiguration. It works properly.
yes it work very well..
The latest version of spring framework jBPM supports the 3.1 version
Stretch Marks