Get the connonical path so that we we debug, when know the explicit path to the data files.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@386129 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2006-03-15 18:54:34 +00:00
parent 400b1fca09
commit 6994361f80
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ public class DefaultPersistenceAdapterFactory implements PersistenceAdapterFacto
* @throws IOException
*/
protected void createJournal() throws IOException {
File journalDir = new File(getDataDirectory(), "journal");
File journalDir = new File(getDataDirectory(), "journal").getCanonicalFile();
journal = new JournalImpl(journalDir, journalLogFiles, journalLogFileSize, getJournalArchiveDirectory());
}