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

2009-08-14 Thread jbarrez
Are you using JPA or Hibernate? In the first case, these kind of errors are to be expected since we've not yet implemented JPA integration. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249693#4249693 Reply to the post :

[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] - Re: Problem configuring jBPM4 with Spring

2009-08-12 Thread wen3062
i post this as a bug: https://jira.jboss.org/jira/browse/JBPM-2483 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249145#4249145 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249145

[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-05 Thread xu.huisheng
You should remove the current=true attribute. command-service retry-interceptor / environment-interceptor / spring-transaction-interceptor / /command-service View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248269#4248269 Reply to the post :

[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

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

2009-08-04 Thread rogerofyan
try to add current=true to the spring interceptor. |command-service | retry-interceptor / | environment-interceptor / | spring-transaction-interceptor current=true / | /command-service View the

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

2009-07-30 Thread ainze
try command-service | retry-interceptor / | environment-interceptor / | spring-transaction-interceptor / | /command-service The environment-interceptor will expose the environment. Now the spring transaction