[jboss-user] [Installation, Configuration & Deployment] - Re: [JBoss-5.0.0Beta2] PostgreSQL DataSource problems

avdyk do-not-reply at jboss.com
Thu Apr 26 10:24:37 EDT 2007


Here is the configuration of the PostgreSQL DataSource:

  | <?xml version="1.0" encoding="UTF-8"?>
  | <datasources>
  |    <local-tx-datasource>
  |       <jndi-name>DefaultDS</jndi-name>
  | <connection-url>jdbc:postgresql://localhost:5432/ejb</connection-url>
  |       <driver-class>org.postgresql.Driver</driver-class>
  |       <user-name>ejb</user-name>
  |       <password>ejb</password>    
  |       <min-pool-size>5</min-pool-size>
  |       <max-pool-size>20</max-pool-size>
  |       <idle-timeout-minutes>0</idle-timeout-minutes>
  |       <track-statements/>
  | <prepared-statement-cache-size>32</prepared-statement-cache-size>
  |       <metadata>
  |          <type-mapping>PostgreSQL</type-mapping>
  |       </metadata>  
  |    </local-tx-datasource>
  | </datasources>
  | 
I changed the name of the hsqldb-ds.xml datasource name to DefaultDS2. But JBoss was not able to create all the relations.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041004#4041004

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041004



More information about the jboss-user mailing list