[
https://jira.nuxeo.com/browse/NXP-7609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=105205#comment-105205
]
Mathieu Guillaume commented on NXP-7609:
----------------------------------------
Implementing this for now (though it will break the static war packaging).
Possible better solutions would be (with nuxeo.db.commonds declared in the
context.xml file):
- don't declare the "basic" datasources at all, just the common one, and
automatically fall back on the nuxeo.db.commonds in the DataSourceFactory when
a name doesn't exist in the context.
- implement a "DataSourceAlias" type that would be used for the Resource
declaration of the "basic" datasources.
> Provide an unified data source for tomcat
> -----------------------------------------
>
> Key: NXP-7609
> URL: https://jira.nuxeo.com/browse/NXP-7609
> Project: Nuxeo Enterprise Platform
> Issue Type: Improvement
> Components: Packaging
> Affects Versions: 5.4.2
> Environment: tomcat
> Reporter: Benoit Delbosc
>
> The tomcat package defines 8 datasources, like this
> {code}
> <Resource name="jdbc/comment-relations" auth="Container"
> type="javax.sql.DataSource"
> maxActive="100" maxIdle="30" maxWait="10000"
> driverClassName="net.sourceforge.jtds.jdbc.Driver"
> url="jdbc:jtds:sqlserver://wins:1433/nuxeo;useCursors=true"
> username="nuxeo" password="*****" />
> ...
> {code}
> They should be unified to mutualise the connection pool.
--
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