]
Hayk Hovsepyan commented on WFLY-5020:
--------------------------------------
I am directly deploying driver as jar hot deploy, standalone xml and server log are
attached.
One more thing here: When I remove "<jdbc-store
datasource-jndi-name="java:jboss/datasources/jdbc-store"/>" from config
(but leave datasource), it deploys driver successfully.
The same problem happens for jdbc driver as module.
Log and config are attached.
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
Attachments: server.log, standalone.xml
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}