Issue Details (XML | Word | Printable)

Key: JAMES-527
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Norman Maurer
Reporter: Joachim Draeger
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JAMES Server

data-source for default derby maildb is configured with a relative path

Created: 12/Jun/06 01:55 AM   Updated: 21/Nov/07 08:31 AM
Return to search
Component/s: James Core
Affects Version/s: 2.3.0, 3.0
Fix Version/s: 2.3.0

Time Tracking:
Not Specified

Environment: tested on windows, jre 1.5

Resolution Date: 15/Jun/06 03:48 PM


 Description  « Hide
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






 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Norman Maurer made changes - 12/Jun/06 11:38 AM
Field Original Value New Value
Assignee Norman Maurer [ norman ]
Norman Maurer made changes - 12/Jun/06 01:47 PM
Resolution Fixed [ 1 ]
Fix Version/s 2.4.0 [ 12311645 ]
Status Open [ 1 ] Resolved [ 5 ]
Stefano Bagnara made changes - 15/Jun/06 03:23 PM
Status Resolved [ 5 ] Reopened [ 4 ]
Resolution Fixed [ 1 ]
Norman Maurer made changes - 15/Jun/06 03:48 PM
Status Reopened [ 4 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Stefano Bagnara made changes - 06/Jul/06 10:33 PM
Fix Version/s 2.4.0 [ 12311645 ]
Fix Version/s 2.3.0 [ 12310796 ]
Fix Version/s 2.3.0b2 [ 12311974 ]
Danny Angus made changes - 21/Nov/07 08:31 AM
Status Resolved [ 5 ] Closed [ 6 ]