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

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [jee-tx-context.xml]

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Critical Critical
    • None
    • 7.2.0.Final
    • Examples
    • None
    • NEW
    • NEW
    • Hide

      1.I change pom.xml from "spring-jbpm-app" of project

      <kie.version>6.5.0-SNAPSHOT</kie.version>
      <jbpm.version>6.5.0.Final</jbpm.version>

      into

      <kie.version>7.2.0-SNAPSHOT</kie.version>
      <jbpm.version>7.2.0.Final</jbpm.version>

      2. clean projects
      3. deploy war
      4. run tomcat

      Show
      1.I change pom.xml from "spring-jbpm-app" of project <kie.version>6.5.0-SNAPSHOT</kie.version> <jbpm.version>6.5.0.Final</jbpm.version> into <kie.version>7.2.0-SNAPSHOT</kie.version> <jbpm.version>7.2.0.Final</jbpm.version> 2. clean projects 3. deploy war 4. run tomcat

      According to "20.3.2. jBPM services with Spring" from jBPM Documentation. I download the example from "https://github.com/mswiderski/spring-jbpm-app".
      I can make it run.
      But when I change jBPM6.5.jar into jBPM7.1/7.2/7.3, there are some bugs, as follows:

      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [jee-tx-context.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: No JTA UserTransaction available - specify either 'userTransaction' or 'userTransactionName' or 'transactionManager' or 'transactionManagerName'

      The jBPM6.5 & jBPM7.1 have the same config of JTA, I think JTA is right.

      The attachment are configuration files.

        1. jpa-context.xml
          1 kB
        2. jee-tx-context.xml
          1 kB
        3. jbpm-persistence.xml
          4 kB
        4. jbpm-context.xml
          4 kB
        5. context.xml
          2 kB

              elguardian@gmail.com Enrique González Martínez (Inactive)
              zangdi123456 Di Zang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: