3 Replies Latest reply on Oct 6, 2016 9:54 PM by Ramesh Regulapati

    Error configuring MongoDB as binary store on Wildfly 10.1.0 with Modeshape-5.1 & Modeshape-5.2

    Ramesh Regulapati Newbie

      Wildfly console log :

       

      18:10:01,882 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address:

      ([

          ("subsystem" => "modeshape"),

          ("repository" => "demo")

      ]) - failure description: {

          "WFLYCTL0080: Failed services" => {"jboss.modeshape.demo.repository" => "org.jboss.msc.service.StartException in service jboss.modesha

      pe.demo.repository: org.modeshape.jcr.ConfigurationException: The configuration for the 'demo' repository has problems: ERROR: Error at

      storage.binaryStorage.type : The 'type' field on 'storage.binaryStorage' has a value of 'cassandra' that is not part of the enumeration: [s3

      ]

      ERROR: Error at storage.binaryStorage.bucketName : The 'bucketName' field on 'storage.binaryStorage' is required

      ERROR: Error at storage.binaryStorage.host : The 'host' field on 'storage.binaryStorage' is not defined in the schema and the schema does no

      t allow additional properties.

      ERROR: Error at storage.binaryStorage.port : The 'port' field on 'storage.binaryStorage' is not defined in the schema and the schema does no

      t allow additional properties.

      ERROR: Error at storage.binaryStorage.database : The 'database' field on 'storage.binaryStorage' is not defined in the schema and the schema

      does not allow additional properties.

          Caused by: org.modeshape.jcr.ConfigurationException: The configuration for the 'demo' repository has problems: ERROR: Error at storage

      .binaryStorage.type : The 'type' field on 'storage.binaryStorage' has a value of 'cassandra' that is not part of the enumeration: [s3]

      ERROR: Error at storage.binaryStorage.bucketName : The 'bucketName' field on 'storage.binaryStorage' is required

      ERROR: Error at storage.binaryStorage.host : The 'host' field on 'storage.binaryStorage' is not defined in the schema and the schema does no

      t allow additional properties.

      ERROR: Error at storage.binaryStorage.port : The 'port' field on 'storage.binaryStorage' is not defined in the schema and the schema does no

      t allow additional properties.

      ERROR: Error at storage.binaryStorage.database : The 'database' field on 'storage.binaryStorage' is not defined in the schema and the schema

      does not allow additional properties."},

          "WFLYCTL0412: Required services that are not installed:" => ["jboss.modeshape.demo.repository"],

          "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined

      }

      18:10:01,890 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address:

      ([

          ("subsystem" => "modeshape"),

          ("repository" => "demo"),

          ("db-persistence" => "db-persistence")

      ]) - failure description: {"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined}

       

       

      Repository Configuration:

      <repository name="demo" jndi-name="jcr/demo" anonymous-roles="admin">

       

        <db-persistence table-name="DEMO_RData"

        create-on-start="true" drop-on-exit="false" fetch-size="1000"

        data-source-jndi-name="OracleDS" compress="false" />

       

        <mongo-binary-storage mime-type-detection="none" min-string-size="10" min-value-size="40"  database="DEMO_BStore" host="localhost" port="27017 " password="testusr" username="testpwd"/> 

       

        <workspaces default-workspace="default"

        allow-workspace-creation="true" cache-size="10000">

        <workspace name="default" />

        </workspaces>

       

      </repository>