[ 
http://jira.nuxeo.org/browse/NXP-4419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Florent Guillaume updated NXP-4419:
-----------------------------------

      Impact type: [ Configuration format change]
    Upgrade notes: 
Example contribution for a non-XA datasource:

  <extension target="org.nuxeo.runtime.datasource" point="datasources">
    <datasource name="jdbc/foo" 
driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
        maxActive="20" maxIdle="5" maxWait="10000">
      <property name="url">jdbc:derby:/home/db;create=true</property>
      <property name="username">nuxeo</property>
      <property name="password">nuxeo</property>
    </datasource>
  </extension>

Example contribution for a XA datasource (see the documentation for the setters 
of the chosen JDBC XA datasource for the exact properties to use):

  <extension target="org.nuxeo.runtime.datasource" point="datasources">
    <datasource name="jdbc/foo" 
xaDataSource="org.apache.derby.jdbc.EmbeddedXADataSource"
        maxActive="20" maxIdle="5" maxWait="10000">
      <property name="databaseName">/home/db</property>
      <property name="createDatabase">create</property>
      <property name="user">nuxeo</property>
      <property name="password">nuxeo</property>
    </datasource>
  </extension>


> Allow use of datasources when no container is available
> -------------------------------------------------------
>
>                 Key: NXP-4419
>                 URL: http://jira.nuxeo.org/browse/NXP-4419
>             Project: Nuxeo Enterprise Platform
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Florent Guillaume
>            Assignee: Florent Guillaume
>            Priority: Major
>             Fix For: 5.3.1
>
>
> When no container with a JNDI system is available (for instance when using 
> Nuxeo in a purely embedded setup), we still want to access directories or 
> other datasources.
> To do that we need a Nuxeo-specific configuration system to declare the 
> datasources, as well as a making sure that DatasourceHelper still works.

-- 
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

Reply via email to