You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Joachim Draeger (JIRA)" <se...@james.apache.org> on 2006/06/15 11:49:30 UTC

[jira] Commented: (JAMES-527) data-source for default derby maildb is configured with a relative path

    [ 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: [jira] Commented: (JAMES-527) data-source for default derby maildb is configured with a relative path

Posted by Stefano Bagnara <ap...@bago.org>.
Joachim Draeger (JIRA) wrote:
>     [ 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?

Create a new issue (new feature).
It would be cool to support paths relatives to the app context.

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org