[ http://issues.apache.org/jira/browse/JAMES-527?page=all ] Norman Maurer resolved JAMES-527: ---------------------------------
Fix Version: 2.4.0 Resolution: Fixed Now we change to $PHOENIX_HOME/bin before start james. This seems to me a better solution then use getProperties() at the moment. Anyway we should maybe change the config for not using a relative path on derby configuration. > data-source for default derby maildb is configured with a relative path > ----------------------------------------------------------------------- > > Key: JAMES-527 > URL: http://issues.apache.org/jira/browse/JAMES-527 > Project: James > Type: Bug > Components: James Core > Versions: 2.3.0, 2.4.0, 2.3.0b1 > Environment: tested on windows, jre 1.5 > Reporter: Joachim Draeger > Assignee: Norman Maurer > Priority: Minor > Fix For: 2.3.0, 2.4.0 > > 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 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]