[ 
http://issues.apache.org/jira/browse/JAMES-527?page=comments#action_12416310 ] 

Joachim Draeger commented on JAMES-527:
---------------------------------------

Other directories in var don't seem to be accessed by a relative path, how is 
it managed there?
Although the cd fix is okay for now it is IMHO odd to use relative path in the 
James enviroment by default.

What do you think?

   - reopen as improvement?
   - create new?
  -  it's okay the way it is?

> 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.0b1, 2.3.0, 2.4.0
>  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]

Reply via email to