directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r747068 - in /directory/daemon/trunk/plugin/src/main/resources/org/apache/directory/daemon/installers/archive: apacheds.bat apacheds.sh
Date Mon, 23 Feb 2009 16:22:51 GMT
Author: felixk
Date: Mon Feb 23 16:22:49 2009
New Revision: 747068

URL: http://svn.apache.org/viewvc?rev=747068&view=rev
Log:
Fix log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /apacheds-rolling.log (Permission denied)

Set property used in conf/log4j.properties via command line to make logfile path valid.

Modified:
    directory/daemon/trunk/plugin/src/main/resources/org/apache/directory/daemon/installers/archive/apacheds.bat
    directory/daemon/trunk/plugin/src/main/resources/org/apache/directory/daemon/installers/archive/apacheds.sh

Modified: directory/daemon/trunk/plugin/src/main/resources/org/apache/directory/daemon/installers/archive/apacheds.bat
URL: http://svn.apache.org/viewvc/directory/daemon/trunk/plugin/src/main/resources/org/apache/directory/daemon/installers/archive/apacheds.bat?rev=747068&r1=747067&r2=747068&view=diff
==============================================================================
--- directory/daemon/trunk/plugin/src/main/resources/org/apache/directory/daemon/installers/archive/apacheds.bat
(original)
+++ directory/daemon/trunk/plugin/src/main/resources/org/apache/directory/daemon/installers/archive/apacheds.bat
Mon Feb 23 16:22:49 2009
@@ -24,4 +24,4 @@
 
 for /F %%a in ('dir lib\ext\ /a /b /-p /o') do set ADS_CP=%ADS_CP%;"lib\ext\%%a"
 
-java -Dlog4j.configuration="file:conf/log4j.properties" -cp %ADS_CP% org.apache.directory.server.UberjarMain
conf\server.xml
+java -Dlog4j.configuration="file:conf/log4j.properties" -Dapacheds.log.dir=logs -cp %ADS_CP%
org.apache.directory.server.UberjarMain conf\server.xml

Modified: directory/daemon/trunk/plugin/src/main/resources/org/apache/directory/daemon/installers/archive/apacheds.sh
URL: http://svn.apache.org/viewvc/directory/daemon/trunk/plugin/src/main/resources/org/apache/directory/daemon/installers/archive/apacheds.sh?rev=747068&r1=747067&r2=747068&view=diff
==============================================================================
--- directory/daemon/trunk/plugin/src/main/resources/org/apache/directory/daemon/installers/archive/apacheds.sh
(original)
+++ directory/daemon/trunk/plugin/src/main/resources/org/apache/directory/daemon/installers/archive/apacheds.sh
Mon Feb 23 16:22:49 2009
@@ -32,4 +32,4 @@
   ADS_CP=${ADS_CP}:lib/ext/${i}
 done
 
-java -Dlog4j.configuration=file:conf/log4j.properties -cp $ADS_CP org.apache.directory.server.UberjarMain
conf/server.xml
+java -Dlog4j.configuration=file:conf/log4j.properties -Dapacheds.log.dir=logs -cp $ADS_CP
org.apache.directory.server.UberjarMain conf/server.xml



Mime
View raw message