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/11 20:56:29 UTC

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

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
    Priority: Minor
     Fix For: 2.3.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


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

Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
     [ http://issues.apache.org/jira/browse/JAMES-527?page=all ]

Stefano Bagnara updated JAMES-527:
----------------------------------

    Fix Version: 2.3.0b2
                     (was: 2.3.0)
                     (was: 2.4.0)

> 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.0b2

>
> 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


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

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ http://issues.apache.org/jira/browse/JAMES-527?page=all ]
     
Norman Maurer resolved JAMES-527:
---------------------------------

    Resolution: Fixed

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


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

Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
     [ http://issues.apache.org/jira/browse/JAMES-527?page=all ]
     
Stefano Bagnara reopened JAMES-527:
-----------------------------------


Still there in Windows.

> 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: 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


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

Posted by "Joachim Draeger (JIRA)" <se...@james.apache.org>.
    [ 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


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

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


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

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ http://issues.apache.org/jira/browse/JAMES-527?page=all ]

Norman Maurer reassigned JAMES-527:
-----------------------------------

    Assign To: Norman Maurer

> 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

>
> 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