appserver.base property not resolved in log4j.xml when deployed in Tomcat
-------------------------------------------------------------------------

                 Key: MRM-910
                 URL: http://jira.codehaus.org/browse/MRM-910
             Project: Archiva
          Issue Type: Bug
          Components: web application
    Affects Versions: 1.1.1, 1.1.2
         Environment: Tomcat 6
Ubuntu Linux
archiva-1.2-SNAPSHOT (-r685734)
            Reporter: Maria Odea Ching
             Fix For: 1.1.x


Even after setting export CATALINA_OPTS="-Dappserver.home=$CATALINA_HOME 
-Dappserver.base=$CATALINA_HOME" before starting Tomcat, the appserver.base 
property seems to not have been resolved. 

Here's a short snippet from the console during startup:

INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
Aug 14, 2008 11:49:31 AM org.springframework.web.context.ContextLoader 
initWebApplicationContext
INFO: Root WebApplicationContext: initialization started
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /logs/archiva.log (No such file or directory)
        at java.io.FileOutputStream.openAppend(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:177)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to