[jboss-cvs] JBoss Messaging SVN: r2193 - trunk/src/etc/server/default/deploy.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Feb 6 13:02:48 EST 2007
Author: juha at jboss.org
Date: 2007-02-06 13:02:48 -0500 (Tue, 06 Feb 2007)
New Revision: 2193
Added:
trunk/src/etc/server/default/deploy/postgres-ds.xml
Log:
JBMESSAGING-582
Added: trunk/src/etc/server/default/deploy/postgres-ds.xml
===================================================================
--- trunk/src/etc/server/default/deploy/postgres-ds.xml (rev 0)
+++ trunk/src/etc/server/default/deploy/postgres-ds.xml 2007-02-06 18:02:48 UTC (rev 2193)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!-- -->
+<!-- JBoss Server Configuration -->
+<!-- -->
+<!-- ===================================================================== -->
+
+<!-- $Id: postgres-ds.xml 41016 2006-02-07 14:23:00Z acoliver $ -->
+<!-- ==================================================================== -->
+<!-- Datasource config for Postgres -->
+<!-- ==================================================================== -->
+
+
+<datasources>
+ <local-tx-datasource>
+ <jndi-name>PostgresDS</jndi-name>
+ <connection-url>jdbc:postgresql://[servername]:[port]/[database name]</connection-url>
+ <driver-class>org.postgresql.Driver</driver-class>
+ <user-name>x</user-name>
+ <password>y</password>
+ <!-- sql to call when connection is created. Can be anything, select 1 is valid for PostgreSQL
+ <new-connection-sql>select 1</new-connection-sql>
+ -->
+
+ <!-- sql to call on an existing pooled connection when it is obtained from pool. Can be anything, select 1 is valid for PostgreSQL
+ <check-valid-connection-sql>select 1</check-valid-connection-sql>
+ -->
+
+ <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
+ <metadata>
+ <type-mapping>PostgreSQL 7.2</type-mapping>
+ </metadata>
+ </local-tx-datasource>
+
+</datasources>
Property changes on: trunk/src/etc/server/default/deploy/postgres-ds.xml
___________________________________________________________________
Name: svn:executable
+ *
More information about the jboss-cvs-commits
mailing list