Continuum
  1. Continuum
  2. CONTINUUM-1213

Patch to easily run continuum jetty with postgres

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor 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

        Activity

        Thierry Lach created issue -
        Emmanuel Venisse made changes -
        Field Original Value New Value
        Fix Version/s Future [ 13292 ]
        Brett Porter made changes -
        Patch Submitted [Yes]
        Brett Porter made changes -
        Fix Version/s 1.2 [ 13779 ]
        Fix Version/s Future [ 13292 ]
        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.
        Olivier Lamy (*$^¨%`£) made changes -
        Resolution Fixed [ 1 ]
        Assignee Olivier Lamy [ olamy ]
        Status Open [ 1 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 08:36:01 UTC 2015 [ 1428222961749 ]
        Mark Thomas made changes -
        Workflow jira [ 12709882 ] Default workflow, editable Closed status [ 12739515 ]
        Mark Thomas made changes -
        Flags Patch [ 10430 ]
        Patch Submitted Yes [ 10763 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 21:12:18 UTC 2015 [ 1428268338676 ]
        Mark Thomas made changes -
        Workflow jira [ 12947104 ] Default workflow, editable Closed status [ 12985143 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        397d 3h 36m 1 Olivier Lamy (*$^¨%`£) 15/Apr/08 17:09

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development