activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r386129 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/DefaultPersistenceAdapterFactory.java
Date Wed, 15 Mar 2006 18:54:37 GMT
Author: chirino
Date: Wed Mar 15 10:54:34 2006
New Revision: 386129

URL: http://svn.apache.org/viewcvs?rev=386129&view=rev
Log:
Get the connonical path so that we we debug, when know the explicit path to the data files.

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/DefaultPersistenceAdapterFactory.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/DefaultPersistenceAdapterFactory.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/DefaultPersistenceAdapterFactory.java?rev=386129&r1=386128&r2=386129&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/DefaultPersistenceAdapterFactory.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/DefaultPersistenceAdapterFactory.java
Wed Mar 15 10:54:34 2006
@@ -207,7 +207,7 @@
      * @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());
     }
 



Mime
View raw message