Good day,

 

I am using PostgreSQL  8.3.. 

 

I have uncommented the PostGreSQL config in default-repo-ds.xml, but
should I also remove the SQL entries ?

 

<?xml version="1.0"?>

<connection-factories>

  <tx-connection-factory>

    <jndi-name>NXRepository/default</jndi-name>

    <xa-transaction/>

    <track-connection-by-tx/>

    <adapter-display-name>Nuxeo SQL Repository
DataSource</adapter-display-name>

    <rar-name>nuxeo.ear#nuxeo-core-storage-sql-ra-1.5.0.rar</rar-name>

 
<connection-definition>org.nuxeo.ecm.core.storage.sql.Repository</connec
tion-definition>

    <config-property name="name">default</config-property>

    <config-property name="xaDataSource"
type="java.lang.String">org.h2.jdbcx.JdbcDataSource</config-property>

    <config-property name="property"
type="java.lang.String">URL=jdbc:h2:${jboss.server.data.dir}/h2/nuxeo</c
onfig-property>

    <config-property name="property"
type="java.lang.String">User=sa</config-property>

    <config-property name="property"
type="java.lang.String">Password=</config-property>

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

 

    <config-property name="xaDataSource"
type="java.lang.String">org.postgresql.xa.PGXADataSource</config-propert
y>

    <config-property name="property"
type="java.lang.String">ServerName=localhost</config-property>

    <config-property name="property"
type="java.lang.String">PortNumber/Integer=5432</config-property>

    <config-property name="property"
type="java.lang.String">DatabaseName=nuxeo</config-property>

    <config-property name="property"
type="java.lang.String">User=nuxeo</config-property>

    <config-property name="property"
type="java.lang.String">Password=$$</config-property>

 

    <!-- Configuration for Derby:

    <config-property name="xaDataSource"
type="java.lang.String">org.apache.derby.jdbc.EmbeddedXADataSource</conf
ig-property>

    <config-property name="property"
type="java.lang.String">createDatabase=create</config-property>

    <config-property name="property"
type="java.lang.String">databaseName=${jboss.server.data.dir}/derby/nuxe
o</config-property>

    <config-property name="property"
type="java.lang.String">user=sa</config-property>

    <config-property name="property"
type="java.lang.String">password=</config-property>

    -->

 

  </tx-connection-factory>

</connection-factories> 

 

_Thanks. 

 

 

 

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to