[jboss-user] [JBoss jBPM] - Re: Problem configuring jBPM4 with Spring

2009-08-14 Thread ziglee
JPA View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249703#4249703 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249703 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [JBoss jBPM] - Remove variable not removing

2009-08-11 Thread ziglee
I have this code: MapString,Object variables = new HashMapString,Object(); | variables.put(busLine, busLine); | executionService.startProcessInstanceByKey(helloWorld, variables); and I have an org.jbpm.api.listener.EventListener with this code: public void notify(EventListenerExecution

[jboss-user] [JBoss jBPM] - Re: Problem configuring jBPM4 with Spring

2009-08-06 Thread ziglee
Removing the current=true attribute: Caused by: org.hibernate.HibernateException: No CurrentSessionContext configured! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248424#4248424 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: Problem configuring jBPM4 with Spring

2009-08-05 Thread ziglee
When using: command-service |retry-interceptor / |environment-interceptor / |spring-transaction-interceptor current=true / | /command-service Results in: No existing transaction found for transaction marked with propagation 'mandatory' View the original post :

[jboss-user] [JBoss jBPM] - Re: Problem configuring jBPM4 with Spring

2009-08-05 Thread ziglee
To support the transaction need, I'm using: bean id=transactionManager class=org.springframework.orm.jpa.JpaTransactionManager |p:entityManagerFactory-ref=entityManagerFactory / | tx:annotation-driven transaction-manager=transactionManager / and I've placed the @Transactional

[jboss-user] [JBoss jBPM] - Re: Problem configuring jBPM4 with Spring

2009-08-04 Thread ziglee
My case is a little diferent. I'm using JPA (hibernate implementation) so I would like to know how can I stop depending on jbpm.hibernate.cfg.xml. I tried to expose my sessionFactory through this bean: bean id=entityManagerFactory