1 Reply Latest reply on May 26, 2003 10:50 AM by stephanenicoll

    Setup of DS with JBoss 3.2

      Hi,

      is there a pointer explaining how to setup DS in JBoss 3.2.X

      Formerly, we had some examples with connection pooling (max number of connections, timeout, etc). Examples provided with JBoss 3.2.1 are quite simple (only URL / user / pwd / driver)

      I need to limit the number of connections of a particular DS

      Thx

        • 1. Re: Setup of DS with JBoss 3.2

          I Found this by intalling this SVG player ;)

          There's good file in the docs/examples directory. Here is an example of pooling

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


          <!-- Data source for entity beans java:/totoDS
          Database: toto
          User: toto
          Password: toto
          -->

          <local-tx-datasource>
          <jndi-name>totoDS</jndi-name>
          <connection-url>jdbc:postgresql://kpserverdb/toto</connection-url>
          <driver-class>org.postgresql.Driver</driver-class>
          <user-name>toto</user-name>
          toto
          <min-pool-size>0</min-pool-size>
          <max-pool-size>50</max-pool-size>
          <blocking-timeout-millis>5000</blocking-timeout-millis>
          <idle-timeout-minutes>15</idle-timeout-minutes>
          </local-tx-datasource>