On Jan 22, 2007, at 4:47 PM, Julien Oix wrote:
Vincent Massol wrote:
> Hi Julien,
>
> The xwiki.log file is defined in the log4j.properties file
> located in your main xwiki JAR. There's no absolute nor relative
> path defined for it which means it'll be created in the
> directory from where you have started Tomcat.
>
> Hope it helps,
> -Vincent
>
> On Jan 22, 2007, at 3:33 PM, julien.oix(a)paris7.jussieu.fr wrote:
>
>> hi everyone,
>>
>> i'm trying to set up latest xwiki version on a debian/tomcat/
>> mysql platform :)
>>
>> the xwiki webapp can't be deployed by Tomcat, and the tomcat
>> log says :
>>
>> ##
>>
>> Jan 22, 2007 3:18:12 PM org.apache.catalina.startup.HostConfig
>> deployDirectory
>> SEVERE: Error deploying web application directory xwiki
>> org.apache.commons.logging.LogConfigurationException:
>> java.lang.ExceptionInInitializerError (Caused by
>> java.lang.ExceptionInInitializerError)
[snip]
>>
>> It tells me that it can't write the xwiki.log file, but I don't
>> know where this file has to be, so I could give the right
>> permissions on the filesystem !!
>>
>> (I suppose that the owner of this file is the tomcat user)
>>
[snip]
Hi Vincent,
I can't find any log4j.properties file in the archive xwiki-1.0-
beta-2.war.
But I have found one in the xwiki-1.0-beta-2.jar archive ?
Yes. As I said it was in the xwiki JAR...
Do I need that archive for a basic use ?
Yes. You need everything in the WAR!
Moreover, there is no directive in this file which tells me where
the xwiki.log is written ...
I already answered this question, please check my last email.
Thanks
-Vincent
AdminGuide/InstallationTomcat ), only the xwiki-1.0-beta-2.war file
is needed with the Tomcat container, isn't it ?