[ 
https://jira.codehaus.org/browse/MRM-910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olivier Lamy closed MRM-910.
----------------------------

       Resolution: Fixed
    Fix Version/s:     (was: Backlog)
         Assignee: Olivier Lamy

works fine withlog4j2.xml
                
> appserver.base property not resolved in log4j.xml when deployed in Tomcat
> -------------------------------------------------------------------------
>
>                 Key: MRM-910
>                 URL: https://jira.codehaus.org/browse/MRM-910
>             Project: Archiva
>          Issue Type: Bug
>          Components: Web Interface
>    Affects Versions: 1.1.1, 1.1.2
>         Environment: Tomcat 6
> Ubuntu Linux
> archiva-1.2-SNAPSHOT (-r685734)
>            Reporter: Maria Odea Ching
>            Assignee: Olivier Lamy
>
> 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, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to