Uploaded image for project: 'WildFly NoSQL'
  1. WildFly NoSQL
  2. WFNOSQL-28

target WildFly 14 and resolve "Capability 'org.wildfly.nosql.mongo.driver-service' is unknown"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.0.1.Final
    • Component/s: None
    • Labels:
      None

      Description

      From hipchat discussion with Fabio Massimo Ercoli:

      [9:56 AM] Fabio Massimo Ercoli: I have a question for you about WildFly NoSql and WildFly 14
      [10:00 AM] Fabio Massimo Ercoli: with WF 13 all works, if I try to use WF 14
      [10:01 AM] Fabio Massimo Ercoli: I get this error
      [10:01 AM] Fabio Massimo Ercoli: 15:57:11,908 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool – 37) WFLYCTL0013: Operation ("add") failed - address: ([
          ("subsystem" => "mongodb"),
          ("mongo" => "default"),
          ("host" => "default")
      ]): java.lang.IllegalStateException: WFLYCTL0364: Capability 'org.wildfly.nosql.mongo.driver-service' is unknown.
        at org.jboss.as.controller.CapabilityReferenceRecorder$DefaultCapabilityReferenceRecorder.getDependentName(CapabilityReferenceRecorder.java:139)
        at org.jboss.as.controller.CapabilityReferenceRecorder$ContextDependencyRecorder.processCapabilityRequirement(CapabilityReferenceRecorder.java:196)
        at org.jboss.as.controller.CapabilityReferenceRecorder$ContextDependencyRecorder.addCapabilityRequirements(CapabilityReferenceRecorder.java:182)
        at org.jboss.as.controller.AttributeDefinition.addCapabilityRequirements(AttributeDefinition.java:1066)
        at org.jboss.as.controller.AbstractAddStepHandler.recordCapabilitiesAndRequirements(AbstractAddStepHandler.java:291)
        at org.jboss.as.controller.AbstractAddStepHandler.execute(AbstractAddStepHandler.java:154)
        at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:999)
        at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:743)
        at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:467)
        at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:384)
        at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
        at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1349)
        at java.lang.Thread.run(Thread.java:748)
        at org.jboss.threads.JBossThread.run(JBossThread.java:485)
      [10:01 AM] Fabio Massimo Ercoli: my configuration is always the same:
      [10:01 AM] Fabio Massimo Ercoli: <subsystem xmlns="urn:jboss:domain:mongodb:1.0">
          <mongo name="default" id="mongodb" jndi-name="java:jboss/mongodb/client" database="mongodb" module="org.hibernate.ogm.mongodb">
              <host name="default" outbound-socket-binding-ref="mongodb"/>
              <properties name="default">
                  <property name="writeConcern" value="ACKNOWLEDGED"/>
                  <property name="readConcern" value="LOCAL"/>
              </properties>
          </mongo>
      </subsystem>

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  smarlow Scott Marlow
                  Reporter:
                  smarlow Scott Marlow
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: