[
https://jira.nuxeo.com/browse/NXP-6985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florent Guillaume updated NXP-6985:
-----------------------------------
Impact type: [ Configuration format change]
Upgrade notes:
To define a Tomcat XA datasource, you can use in the Context file (nuxeo.xml) a
Resource with a Nuxeo-specific factory, the proper xaDataSource, and whatever
datasource-specific configuration parameters are needed:
For Derby:
<Resource name="jdbc/nxsqldirectory" auth="Container"
type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000"
factory="org.nuxeo.runtime.datasource.DataSourceFactory"
xaDataSource="org.apache.derby.jdbc.EmbeddedXADataSource"
DatabaseName="${nuxeo.data.dir}/derby/${nuxeo.db.name}"
CreateDatabase="create"
User="${nuxeo.db.user}"
Password="${nuxeo.db.password}"
/>
For Oracle:
<Resource name="jdbc/nxsqldirectory" auth="Container"
type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000"
factory="org.nuxeo.runtime.datasource.DataSourceFactory"
xaDataSource="oracle.jdbc.xa.client.OracleXADataSource"
URL="jdbc:oracle:thin:@${nuxeo.db.host}:${nuxeo.db.port}:${nuxeo.db.name}"
User="${nuxeo.db.user}"
Password="${nuxeo.db.password}"
/>
For PostgreSQL:
<Resource name="jdbc/nxsqldirectory" auth="Container"
type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000"
factory="org.nuxeo.runtime.datasource.DataSourceFactory"
xaDataSource="org.postgresql.xa.PGXADataSource"
ServerName="${nuxeo.db.host}"
PortNumber="${nuxeo.db.port}"
DatabaseName="${nuxeo.db.name}"
User="${nuxeo.db.user}"
Password="${nuxeo.db.password}"
/>
> XA datasources for Tomcat
> -------------------------
>
> Key: NXP-6985
> URL: https://jira.nuxeo.com/browse/NXP-6985
> Project: Nuxeo Enterprise Platform
> Issue Type: Sub-task
> Components: Packaging
> Reporter: Julien Carsique
> Assignee: Julien Carsique
> Fix For: 5.4.3
>
>
> Make it possible to declare XA datasource for Tomcat.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets