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

Not possible to start server with jdbc object store when jdbc driver placed in deployments folder

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 7.0.0.DR8
    • Transactions
    • None
    • Hide
      • take attached configuration standalone-full.mssql2012.xml
      • deploy attached sql driver by copying it to $JBOSS_HOME/standalone/deploments folder
      • start server like ./bin/standalone.sh -c standalone-full.mssql2012.xml
      Show
      take attached configuration standalone-full.mssql2012.xml deploy attached sql driver by copying it to $JBOSS_HOME/standalone/deploments folder start server like ./bin/standalone.sh -c standalone-full.mssql2012.xml

      It's not possible to start server with jdbc object store as transaction subsystem does not wait for driver to be loaded and then starts to fail with exceptions that driver is not available.

      See attached server.log.

      The same thing worked in EAP6 fine.

      2015-08-14 15:51:43,850 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 org.wildfly.data-source.JDBCPool, service jboss.data-source.reference-factory.JDBCPool, service jboss.naming.context.java.jboss.datasources.jdbc-store]
       at org.jboss.msc.service.ServiceContainerImpl.detectCircularity(ServiceContainerImpl.java:826)
       at org.jboss.msc.service.ServiceContainerImpl.detectCircularity(ServiceContainerImpl.java:843)
       at org.jboss.msc.service.ServiceContainerImpl.detectCircularity(ServiceContainerImpl.java:843)
       at org.jboss.msc.service.ServiceContainerImpl.detectCircularity(ServiceContainerImpl.java:843)
       at org.jboss.msc.service.ServiceContainerImpl.detectCircularity(ServiceContainerImpl.java:843)
       at org.jboss.msc.service.ServiceContainerImpl.detectCircularity(ServiceContainerImpl.java:843)
       at org.jboss.msc.service.ServiceContainerImpl.detectCircularity(ServiceContainerImpl.java:843)
       at org.jboss.msc.service.ServiceContainerImpl.detectCircularity(ServiceContainerImpl.java:796)
       at org.jboss.msc.service.ServiceContainerImpl.install(ServiceContainerImpl.java:770)
       at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:223)
       at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:2401)
       at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:223)
       at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:2401)
       at org.jboss.msc.service.ServiceBuilderImpl.install(ServiceBuilderImpl.java:317)
       at org.jboss.as.controller.OperationContextImpl$ContextServiceBuilder.install(OperationContextImpl.java:2078)
       at org.jboss.as.txn.subsystem.TransactionSubsystemAdd.performObjectStoreBoottime(TransactionSubsystemAdd.java:339)
       at org.jboss.as.txn.subsystem.TransactionSubsystemAdd.performBoottime(TransactionSubsystemAdd.java:218)
       at org.jboss.as.controller.AbstractBoottimeAddStepHandler.performBoottime(AbstractBoottimeAddStepHandler.java:157)
       at org.jboss.as.controller.AbstractBoottimeAddStepHandler.performRuntime(AbstractBoottimeAddStepHandler.java:116)
       at org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:151)
       at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:846)
       at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:637)
       at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:362)
       at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:359)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
       at java.lang.Thread.run(Thread.java:745)
       at org.jboss.threads.JBossThread.run(JBossThread.java:320)
      

        1. standalone-full.mssql2012.xml
          23 kB
        2. sqljdbc41.jar
          572 kB
        3. server.log
          40 kB

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

                Created:
                Updated:
                Resolved: