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

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.0, 3.0.0
    • Fix Version/s: 2.3.0
    • Component/s: James Core
    • Labels:
      None
    • Environment:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: