[jboss-jira] [JBoss JIRA] (WFLY-4072) Unable to Enable JTA for a Datasource
shinzey shinzey (JIRA)
issues at jboss.org
Tue Nov 11 09:35:19 EST 2014
shinzey shinzey created WFLY-4072:
-------------------------------------
Summary: Unable to Enable JTA for a Datasource
Key: WFLY-4072
URL: https://issues.jboss.org/browse/WFLY-4072
Project: WildFly
Issue Type: Bug
Components: EE, EJB
Affects Versions: 8.1.0.Final
Environment: Windows 7
Java 8u25
WildFly 8.1.0.Final
Reporter: shinzey shinzey
Assignee: David Lloyd
Priority: Critical
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.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the jboss-jira
mailing list