Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-1213

Patch to easily run continuum jetty with postgres

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.2
    • Component/s: Database
    • Labels:
      None
    • Flags:
      Patch

      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

        Attachments

          Activity

            People

            • Assignee:
              olamy Olivier Lamy (*$^¨%`£)
              Reporter:
              thierry.lach Thierry Lach
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: