jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Continuum
  • CONTINUUM-1213

Patch to easily run continuum jetty with postgres

  • Log In
  • Views
    • XML
    • Word
    • Printable

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

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

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    postgres-jetty.patch
    15/Mar/07 12:32 PM
    4 kB
    thierry lach

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Olivier Lamy added a comment - 15/Apr/08 4:09 PM

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 - 15/Apr/08 4:09 PM 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
Vote (0)
Watch (0)

Dates

  • Created:
    15/Mar/07 12:32 PM
    Updated:
    15/Apr/08 4:09 PM
    Resolved:
    15/Apr/08 4:09 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.