2 Replies Latest reply on Jun 27, 2015 3:14 PM by Anil Nair

    Datasource deployment using -ds.xml

    Anil Nair Newbie


      I was tying to automate the datasource deployment using -ds.xml approach. But it seems the datasource is getting deployment but cannot view the deployed datasource  using Admin console.

      The xml that  used is

          <datasource jndi-name="java:jboss/datasources/AnilDS" pool-name="AnilDSDS">


      The result from the console was


      13:15:14,123 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1)  JBAS015876: Starting deployment of "anil-ds.xml" (runtime-name: "anil-ds.xml")

      13:15:14,138 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-5)  JBAS010400: Bound data source [java:jboss/datasources/AnilDS]

      13:15:14,248 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1)  JBAS018559: Deployed "anil-ds.xml" (runtime-name : "anil-ds.xml")


      So what would be the best approach to automate the installation of datasource for production.