Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.11.0
    • Fix Version/s: 4.15.0
    • Component/s: None
    • Labels:
      None
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      example workaround from AS7 DataSourceDeploymentService:

      protected TransactionManager getTransactionManager() {
      AccessController.doPrivileged(new SetContextLoaderAction(com.arjuna.ats.jbossatx.jta.TransactionManagerService.class
      .getClassLoader()));
      try

      { return getTxm().getValue().getTransactionManager(); }

      finally

      { AccessController.doPrivileged(CLEAR_ACTION); }

      }

      Show
      example workaround from AS7 DataSourceDeploymentService: protected TransactionManager getTransactionManager() { AccessController.doPrivileged(new SetContextLoaderAction(com.arjuna.ats.jbossatx.jta.TransactionManagerService.class .getClassLoader())); try { return getTxm().getValue().getTransactionManager(); } finally { AccessController.doPrivileged(CLEAR_ACTION); } }

      Description

      I'm trying to load a JPA PersistenceProvider with AS7 and the thread context classloader seems to be used. Could this be changed please? Any chance to get a fix into AS7 in the next few days?

      This happens at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.<clinit>(TransactionImple.java:1859

      Full exception dump (there are other errors after that can be ignored): http://pastebin.com/1i9pqvGs

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jhalliday Jonathan Halliday
                  Reporter:
                  smarlow Scott Marlow
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: