JBPM4-Spring 1.2 integration problems
-------------------------------------
Key: JBPM-2445
URL:
https://jira.jboss.org/jira/browse/JBPM-2445
Project: JBoss jBPM
Issue Type: Patch
Security Level: Public (Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 4.0
Environment: Win XP, JBPM4, Tomcat 6, Spring 1.2.7
Reporter: manish hotwani
Priority: Minor
JPBM4 cannot be integrated with spring 1.2.
I get the following exceptions when I try to deploy a process definition:
java.lang.NoSuchMethodError:
org.springframework.transaction.support.TransactionTemplate.(Lorg/springframework/transaction/PlatformTransactionManager;Lorg/springframework/transaction/TransactionDefinition;)V
org.jbpm.pvm.internal.tx.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:77)
org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:54)
org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
org.jbpm.pvm.internal.repository.DeploymentImpl.deploy(DeploymentImpl.java:89).
The cause of the error is that the constructor "public
TransactionTemplate(PlatformTransactionManager transactionManager, TransactionDefinition
transactionDefinition)" (which is used in SpringTransactionInterceptor) only exists
in spring 2 (and onwards) and not in spring 1.2.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira