Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-2445

JBPM4-Spring 1.2 integration problems

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          People

            ainze_jira Andries Inzé (Inactive)
            manishh_jira manish hotwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: