8 Replies Latest reply on Apr 29, 2013 9:45 AM by jaikiran

    datasource files in jboss 7.1.1

    sviluppatorefico

      Is supported the deployment through file in jboss 7.1.1 as it was done in the previous versions through -ds.xml files? Actually, as I'm triing to deploy the current file:

       

              <?xml version="1.0" encoding="UTF-8"?>

              <datasources xmlns="http://www.jboss.org/ironjacamar/schema">

                  <datasource jndi-name="java:jdbc/__mdefault" pool-name="__mdefault"

                                     enabled="true" use-java-context="true">

                       <connection-url>jdbc:hsqldb:.</connection-url>

                       <driver-class>org.hsqldb.jdbcDriver</driver-class>

                       <pool>

                            <min-pool-size>5</min-pool-size>

                            <max-pool-size>20</max-pool-size>

                       </pool>

                       <security>

                            <user-name>sa</user-name>

                            <password></password>

                       </security>

                 </datasource>

              </datasources>

       

      in the deployments directory. But it is seen as a simple resource and no datasource is deployed