Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-515

Server fails to start with transactions configured to be run with JDBCObject store

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.DR11
    • 7.0.0.DR6
    • Transactions
    • None
    • Hide

      1) Add datasource.
      2) Configure Transactions to use added datasource as JDBC Object store.
      3) Restart the server. It will not start because of described error.

      Show
      1) Add datasource. 2) Configure Transactions to use added datasource as JDBC Object store. 3) Restart the server. It will not start because of described error.

      When you configure transactions subsystem for running with JDBCObject store, the app server fails to start because of a error below.

      Error message:

      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]
      

      Datasource configuration is:

      <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>
      

      and the transaction config looks like this

      <jdbc-store datasource-jndi-name="java:jboss/datasources/jdbc-store"/>
      

              ochaloup@redhat.com Ondrej Chaloupka (Inactive)
              hhovsepy@redhat.com Hayk Hovsepyan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: