1 Reply Latest reply on Jan 13, 2017 6:07 AM by hchiorean

    MongoDB 5.3 replica set config not working

    pverboom

      I have upgraded modeshape from 5.2 to 5.3 on my Wildfly 10 to get the replica set support for MongoDB but for some unknown reason it is not working.

      I use the following line in my config:

      <mongo-binary-storage host-addresses="host:port, host:port, host:port" database="name" username="name" password="pass"/>

       

      I keep getting the following error:

      11:24:26,675 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 7) WFLYCTL0013: Operation ("add") failed - address: ([

          ("subsystem" => "modeshape"),

          ("repository" => "ayedetail"),

          ("configuration" => "binary-storage"),

          ("storage-type" => "mongo-binary-storage")

      ]) - failure description: "WFLYCTL0155: host may not be null"

       

      I have double checked that the update went fine. In the modules directory I have the modeshape-jbossas-subsystem-5.3.0.Final.jar file. I checked that this jar file contains the correct modeshape_3_0.xsd but still it complains that it needs a host parameter:

       

      Does anybody else have the same problem? I have deleted the standalone/tmp standalone/data directories. AFAIK there are no other directories where Wildfly could store an old version from the xds.