Error while connecting modeshape sql repository to JBOSS8
rishianand50 Feb 11, 2016 5:53 AMConfiguration for standalone/configuration/standalone-modeshape.xml
<datasource
jndi-name="java:/mydb" pool-name="my_pool"
enabled="true" jta="true"
use-java-context="true" use-ccm="true">
<connection-url>
jdbc:mysql://localhost:3306/mydb
</connection-url>
<driver>
mysql
</driver>
<security>
<user-name>
root
</user-name>
<password>
</password>
</security>
<statement>
<prepared-statement-cache-size>
100
</prepared-statement-cache-size>
<share-prepared-statements/>
</statement>
</datasource>
and I am getting below error while I execute "sudo ./standalone.sh -c standalone-modeshape.xml" to run wildfly :
15:50:18,995 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "modeshape-rest.war")]) - failure description: {"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.modeshape-rest.modeshape-rest.DefaultDataSource is missing [jboss.naming.context.java.jboss.datasources.ExampleDS]"]}
15:50:18,998 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "modeshape-webdav.war")]) - failure description: {"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.modeshape-webdav.modeshape-webdav.DefaultDataSource is missing [jboss.naming.context.java.jboss.datasources.ExampleDS]"]}
15:50:19,000 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "modeshape-cmis.war")]) - failure description: {"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.modeshape-cmis.modeshape-cmis.DefaultDataSource is missing [jboss.naming.context.java.jboss.datasources.ExampleDS]"]}
15:50:19,002 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "modeshape-explorer.war")]) - failure description: {"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.modeshape-explorer.modeshape-explorer.DefaultDataSource is missing [jboss.naming.context.java.jboss.datasources.ExampleDS]"]}