]
Stefano Maestri commented on WFLY-5020:
---------------------------------------
Well at first look seems something wrong in jdbc service reference. My suspect is on how
driver is defined/deployed. COuld you provide more info on this:
1) Are you deploying it or do you have configured ads module.
2) can you provide the full config (standalone or domain xml) or at least the full
datasources subsystem
3) If you have deployed driver as jar hot deploy, could you try to configure it as module
and let us know if error persist
thanks in advance
S.
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}