Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-527

data-source for default derby maildb is configured with a relative path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.0, 3.0.0
    • 2.3.0
    • James Core
    • None
    • tested on windows, jre 1.5

    Description

      Data source is configured with a relative path in config.xml:

      <dburl>jdbc:derby:../apps/james/var/derbydb;create=true</dburl>

      The path is relative to the current directory when starting james. Calling run from the bin folder is allright. Calling it from James root directory bin\run.bat causes the db to be created in the uplevel directory.

      Possible solutions:

      • add a "cd PHOENIX_HOME" in start scripts
      • evaluate the PHOENIX_HOME enviroment variable in James

      Attachments

        Activity

          People

            norman Norman Maurer
            joachimdraeger Joachim Draeger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: