[
https://issues.jboss.org/browse/WFLY-5020?page=com.atlassian.jira.plugin....
]
Hayk Hovsepyan commented on WFLY-5020:
--------------------------------------
I have checked, it works for ExampleDS.
But still it fails for datasource pointing to MSSQL or any other database.
The error is:
{code}
16:37:25,295 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread)
WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "ejb3"),
("service" => "remote")
]) - failure description: {"WFLYCTL0288: One or more services were unable to start
due to one or more indirect dependencies not being available." => {
"Services that were unable to start:" => [
"jboss.ejb.remote-transactions-repository",
"jboss.ejb3.connector"
],
"Services that may be the cause:" =>
["jboss.jdbc-driver.sqljdbc4_jar"]
}}
{code}
The steps to reproduce are the same as in description.
Datasource configuration is:
{code}
<datasource jta="false"
jndi-name="java:jboss/datasources/jdbc-store" pool-name="JDBCPool"
enabled="true" use-java-context="true">
<connection-url>jdbc:sqlserver://mssql2014server:1433;DatabaseName=database1</connection-url>
<driver>sqljdbc4.jar</driver>
<security>
<user-name>username1</user-name>
<password>password1</password>
</security>
</datasource>
{code}
and the transaction config looks like this
{code}
<jdbc-store datasource-jndi-name="java:jboss/datasources/jdbc-store"/>
{code}
Note: When this datasource is used as regular JTA datasource, there is not a problem to
deploy jdbc driver.
Server fails to start with transactions configured to be run with
JDBCObject store
----------------------------------------------------------------------------------
Key: WFLY-5020
URL:
https://issues.jboss.org/browse/WFLY-5020
Project: WildFly
Issue Type: Bug
Components: Transactions
Reporter: Hayk Hovsepyan
Assignee: Stefano Maestri
Fix For: 10.0.0.CR1
When you configure transactions subsystem for running with JDBCObject store, the app
server fails to start because of a error below.
Error message:
{code}
ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 60)
WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" =>
"transactions")]): org.jboss.msc.service.CircularDependencyException: Container
jboss-as has a circular dependency: [service jboss.txn.ArjunaObjectStoreEnvironment,
service jboss.txn.ArjunaRecoveryManager, service jboss.connector.transactionintegration,
service jboss.rarepository, service jboss.data-source.java:jboss/datasources/jdbc-store,
service jboss.data-source.reference-factory.JDBCPool, service
jboss.naming.context.java.jboss.datasources.jdbc-store]
{code}
Datasource configuration is:
{code}
<datasource jta="false"
jndi-name="java:jboss/datasources/jdbc-store" pool-name="JDBCPool"
enabled="true" use-java-context="true">
<connection-url>jdbc:sqlserver://mssql2014server:1433;DatabaseName=database1</connection-url>
<driver>sqljdbc4.jar</driver>
<security>
<user-name>username1</user-name>
<password>password1</password>
</security>
</datasource>
{code}
and the transaction config looks like this
{code}
<jdbc-store datasource-jndi-name="java:jboss/datasources/jdbc-store"/>
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)