Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-3380

Include a note in the quickstart documentation explaining how to change the JNDI server implementation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 5.10.6.Final
    • Quickstarts
    • None
    • Hide

      To reproduce:

      clone the jta-1_2-standalone quickstart project from Narayana (explained here)
      change <version.narayana>5.10.7.Final-SNAPSHOT</version.narayana> to <version.narayana>5.10.6.Final</version.narayana>
      add org.eclipse.jetty:jetty-jndi:9.4.33.v20201020 to the POM
      run the CDITransactionServicesTestCase test.

      Show
      To reproduce: clone the jta-1_2-standalone quickstart project from Narayana (explained here) change <version.narayana>5.10.7.Final-SNAPSHOT</version.narayana> to <version.narayana>5.10.6.Final</version.narayana> add org.eclipse.jetty:jetty-jndi:9.4.33.v20201020 to the POM run the CDITransactionServicesTestCase test.
    • Documentation (Ref Guide, User Guide, etc.), User Experience
    • Workaround Exists
    • Hide

      If you don't want to use the bundled JNDI server you need to replace it in the pom with `org.eclipse.jetty:jetty-jndi` (ie use one or the other, not both) and then explicitly bind the transaction manager by calling `com.arjuna.ats.jta.utils.JNDIManager.bindJTAImplementation();` in the @Before method of the CDITransactionServicesTestCase class.

      Show
      If you don't want to use the bundled JNDI server you need to replace it in the pom with `org.eclipse.jetty:jetty-jndi` (ie use one or the other, not both) and then explicitly bind the transaction manager by calling `com.arjuna.ats.jta.utils.JNDIManager.bindJTAImplementation();` in the @Before method of the CDITransactionServicesTestCase class.
    • Low
    • Undefined

      Include a note in the quickstart documentation explaining how to change the JNDI server implementation

      Adding jetty-jndi to the classpath breaks some tests in the jta-1_2-standalone quickstart project from Narayana (discussed on the jbossts blog).

       

            Unassigned Unassigned
            rhn-engineering-mmusgrov Michael Musgrove
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: