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

Create a quickstart to show how to use IronJacamar and JBTM inside tomcat

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 5.0.0.M4
    • None
    • Demonstrator
    • None

      See JBTM-809 for the algorithm

      You might want to put the startup in the context listener:

      public class MyServletContextListener implements ServletContextListener {
      public void contextInitialized(ServletContextEvent sce)

      { // Initialize RecoveryManager // Initialize TransactionManager // Initialize IronJacamar }

      @Override
      public void contextDestroyed(ServletContextEvent sce)

      { // Clean IronJacamar // Clean TransactionManager // Clean RecoveryManager }

      }

      Quickstart application should connect to the database (say PostgreSQL), dummy XA resource and coordinate the transaction. The PostgreSQL data source needs to be accessed via IronJacamar.

        1. test-ds.xml
          1 kB
          Tom Jenkinson
        2. transaction.xml
          12 kB
          Tom Jenkinson

              gtrikler@redhat.com Gytis Trikleris (Inactive)
              thjenkin@redhat.com Tom Jenkinson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 3 days Original Estimate - 3 days
                  3d
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 2 days, 1 hour, 20 minutes
                  1w 2d 1h 20m