Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-4072

Unable to Enable JTA for a Datasource

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Incomplete Description
    • Affects Version/s: 8.1.0.Final
    • Fix Version/s: None
    • Component/s: JCA
    • Environment:

      Windows 7
      Java 8u25
      WildFly 8.1.0.Final

      Description

      Whenever trying to enable JTA, the following error is reported:

      Unknown error

      Unexpected HTTP response: 500

      Request

      { "name" => "test", "user-name" => "test", "password" => "test", "security-domain" => "", "jndi-name" => "java:/datasource/test", "transaction-isolation" => "TRANSACTION_READ_COMMITTED", "new-connection-sql" => "", "connection-url" => "jdbc:derby://localhost:1527/test", "driver-class" => "org.apache.derby.jdbc.ClientDriver", "jta" => true, "pool-name" => "", "use-ccm" => false, "datasource-class" => "", "valid-connection-checker-class-name" => "", "check-valid-connection-sql" => "", "background-validation" => false, "background-validation-millis" => -1L, "validate-on-match" => false, "stale-connection-checker-class-name" => "", "exception-sorter-class-name" => "", "prepared-statements-cache-size" => -1L, "share-prepared-statements" => false, "enabled" => false, "driver-name" => "Derby_org.apache.derby.jdbc.ClientDriver_10_10", "operation" => "enable", "address" => [ ("subsystem" => "datasources"), ("data-source" => "test") ] }

      Response

      Internal Server Error

      { "outcome" => "failed", "failure-description" => "JBAS014750: Operation handler failed to complete", "rolled-back" => true }

      Due to this issue, EJB's transaction management does not work. I tested the same database on GlassFish and JTA works fine.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                maeste Stefano Maestri
                Reporter:
                shinzey shinzey shinzey
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: