]
Andries Inze resolved JBPM-2445.
--------------------------------
Fix Version/s: jBPM 4.1
Resolution: Done
commit 5523
JBPM4-Spring 1.2 integration problems
-------------------------------------
Key: JBPM-2445
URL:
https://jira.jboss.org/jira/browse/JBPM-2445
Project: 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
Assignee: Andries Inze
Priority: Minor
Fix For: jBPM 4.1
Attachments: SpringTransactionInterceptor.java.patch
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: