Uploaded image for project: 'Nuxeo IDE'
  1. Nuxeo IDE
  2. NXIDE-134

Nuxeo IDE / SDK cannot run correctly with a custom database template

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.1
    • Fix Version/s: None

      Description

      If the template "postgresql" is added to the nuxeo-sdk.conf file such as:

      nuxeo.templates=default,postgresql,sdk

      then the generated nuxeo.xml file is still using the derby configuration, for instance:

      <Resource name="jdbc/nxrelations-default-jena" auth="Container"
      type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000"
      driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
      url="jdbc:derby:/opt/nuxeo-dm-5.4.3-SNAPSHOT-tomcat/nxserver/data/derby/nuxeo;create=true" />

      Instead of:

      <Resource name="jdbc/nxrelations-default-jena" auth="Container"
      type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000"
      driverClassName="org.postgresql.Driver"
      url="jdbc:postgresql://localhost:5432/nuxeo"
      username="nuxeo" password="nuxeo" />

      This can probably be fixed by making the IDE run the `bin/nuxeoctl configure` command first to generate a nuxeo.xml file that reflects the templates aggregation from the configuration of the original `bin/nuxeo.conf` file.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: