Continuum
  1. Continuum
  2. CONTINUUM-1213

Patch to easily run continuum jetty with postgres

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.2
    • Component/s: Database
    • Labels:
      None
    • Complexity:
      Intermediate
    • Patch Submitted:
      Yes
    • Number of attachments :
      1

      Description

      The attached patch will allow running jetty against a postgres database.

      As configured, postgres must be localhost, and have two databases named continuum and users which are accessible by user continuum with password continuum.

      It uses a profile and a property to point to a different jetty-env.xml file with that configuration in it.

      It can be launched with the command

      mvn -Ppostgres81 jetty:run

      from within the continuum-webapp directory.

      I think (but haven't tested it) that the patch also allows pointing to any arbitrary jetty-env.xml file by using a launch similar to:

      mvn -Djetty.env.xml=/path/to/jetty-env.xml jetty:run

        Activity

        Hide
        Olivier Lamy added a comment -

        we have a file in continuum-webapp/src/jetty-env-postgres.xml.
        re open the issue if it's not enough.

        Show
        Olivier Lamy added a comment - we have a file in continuum-webapp/src/jetty-env-postgres.xml. re open the issue if it's not enough.

          People

          • Assignee:
            Olivier Lamy
            Reporter:
            thierry lach
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: