[
http://jira.nuxeo.org/browse/NXP-4361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florent Guillaume updated NXP-4361:
-----------------------------------
Upgrade notes:
To provide transaction management and pooling support for Tomcat:
- in nxserver/lib add:
geronimo-connector-2.1.3.jar
geronimo-transaction-2.1.3.jar
howl-1.0.1-1.jar
- in nxserver/bundles add:
nuxeo-runtime-jtajca-1.6.1-SNAPSHOT.jar
nuxeo-core-storage-sql-ra-1.6.1-SNAPSHOT.jar (and NOT .rar)
- in nxserver/config/default-repository-config.xml replace:
factory="org.nuxeo.ecm.core.storage.sql.coremodel.SQLRepositoryFactory"
with:
factory="org.nuxeo.ecm.core.storage.sql.PoolingRepositoryFactory"
- in conf/Catalina/localhost/nuxeo.xml add:
<Resource name="TransactionManager" auth="Container"
type="javax.transaction.TransactionManager"
factory="org.nuxeo.runtime.jtajca.NuxeoTransactionManagerFactory"
transactionTimeoutSeconds="300"/>
<Transaction factory="org.nuxeo.runtime.jtajca.NuxeoUserTransactionFactory"/>
<Resource name="NuxeoConnectionManager" auth="Container"
type="javax.resource.spi.ConnectionManager"
factory="org.nuxeo.runtime.jtajca.NuxeoConnectionManagerFactory"
minPoolSize="0" maxPoolSize="20" idleTimeoutMinutes="0"/>
was:
To provide transaction management and pooling support for Tomcat:
- in nxserver/lib add:
geronimo-connector-2.1.3.jar
geronimo-transaction-2.1.3.jar
howl-1.0.1-1.jar
- in nxserver/bundles add:
nuxeo-runtime-jtajca-1.6.1-SNAPSHOT.jar
nuxeo-core-storage-sql-ra-1.6.1-SNAPSHOT.jar (and NOT .rar)
- in nxserver/config/default-repository-config.xml replace:
factory="org.nuxeo.ecm.core.storage.sql.coremodel.SQLRepositoryFactory"
with:
factory="org.nuxeo.ecm.core.storage.sql.PoolingRepositoryFactory"
- in conf/Catalina/localhost/nuxeo.xml add:
<Resource name="TransactionManager" auth="Container"
type="javax.transaction.TransactionManager"
factory="org.nuxeo.runtime.jtajca.NuxeoTransactionManagerFactory"
transactionTimeoutSeconds="300"/>
<Transaction factory="org.nuxeo.runtime.jtajca.NuxeoUserTransactionFactory"/>
<Resource name="NuxeoConnectionManager" auth="Container"
type="javax.resource.spi.ConnectionManager"
factory="org.nuxeo.runtime.jtajca.NuxeoConnectionManagerFactory"
minPoolSize="0" maxPoolSize="20" idleTimeoutMinutes="0"/>
> Provide transaction manager and connection pooling if not available
> -------------------------------------------------------------------
>
> Key: NXP-4361
> URL: http://jira.nuxeo.org/browse/NXP-4361
> Project: Nuxeo Enterprise Platform
> Issue Type: New Feature
> Components: Core
> Affects Versions: 5.3 GA
> Reporter: Florent Guillaume
> Assignee: Florent Guillaume
> Priority: Major
> Fix For: 5.3.1
>
>
> In non-JavaEE settings, make sure pooling is correctly done and that
> LocalSession instantiates a new low-level Session through a pool.
> Currently it hits SQLRepository.getSession but this should be a pooled
> factory instead.
> Make sure also that there is a transaction manager available.
> -> Use geronimo-transaction and geronimo-connector to provide a JTA/JCA
> framework when non is available in the container.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
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