[jbpm-commits] JBoss JBPM SVN: r2777 - in jbpm3/trunk: modules/core/src/main/resources and 1 other directory.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Nov 6 10:24:34 EST 2008


Author: thomas.diesler at jboss.com
Date: 2008-11-06 10:24:34 -0500 (Thu, 06 Nov 2008)
New Revision: 2777

Modified:
   jbpm3/trunk/modules/core/src/main/resources/jbpm-postgresql-ds.xml
   jbpm3/trunk/profiles.xml.example
Log:
PostgreSQL datasource does not support URL

Modified: jbpm3/trunk/modules/core/src/main/resources/jbpm-postgresql-ds.xml
===================================================================
--- jbpm3/trunk/modules/core/src/main/resources/jbpm-postgresql-ds.xml	2008-11-06 14:39:45 UTC (rev 2776)
+++ jbpm3/trunk/modules/core/src/main/resources/jbpm-postgresql-ds.xml	2008-11-06 15:24:34 UTC (rev 2777)
@@ -5,7 +5,9 @@
     <jndi-name>JbpmDS</jndi-name>
 
     <xa-datasource-class>org.postgresql.xa.PGXADataSource</xa-datasource-class>
-    <xa-datasource-property name="URL">${jdbc.postgresql.url}</xa-datasource-property>
+    <xa-datasource-property name="ServerName">${jdbc.postgresql.server}</xa-datasource-property>
+    <xa-datasource-property name="PortNumber">${jdbc.postgresql.port}</xa-datasource-property>
+    <xa-datasource-property name="DatabaseName">${jdbc.postgresql.database}</xa-datasource-property>
     <xa-datasource-property name="User">${jdbc.postgresql.username}</xa-datasource-property>
     <xa-datasource-property name="Password">${jdbc.postgresql.password}</xa-datasource-property>
 

Modified: jbpm3/trunk/profiles.xml.example
===================================================================
--- jbpm3/trunk/profiles.xml.example	2008-11-06 14:39:45 UTC (rev 2776)
+++ jbpm3/trunk/profiles.xml.example	2008-11-06 15:24:34 UTC (rev 2777)
@@ -21,6 +21,9 @@
         <jdbc.mysql.password></jdbc.mysql.password>
         
         <jdbc.postgresql.url>jdbc:postgresql://localhost:5432/jbpmtest</jdbc.postgresql.url>
+        <jdbc.postgresql.server>localhost</jdbc.postgresql.server>
+        <jdbc.postgresql.port>5432</jdbc.postgresql.port>
+        <jdbc.postgresql.database>jbpmtest</jdbc.postgresql.database>
         <jdbc.postgresql.username>jbpmtest</jdbc.postgresql.username>
         <jdbc.postgresql.password></jdbc.postgresql.password>
         




More information about the jbpm-commits mailing list