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
___________________________________________________________________________Yahoo!
Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son
interface révolutionnaire.
http://fr.mail.yahoo.com
------------------------------------------------------------------------
--
You receive this message as a subscriber of the xwiki-users(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
),
only the xwiki-1.0-beta-2.war file is needed with the Tomcat container,
isn't it ?
If not, in which folder do i need to extract xwiki-1.0-beta-2.jar ?
[TOMCAT_HOME]/webapps/xwiki/ ? [TOMCAT_HOME]/webapps/xwiki/WEB-INF/ ?
Moreover, I stop/start tomcat with the default /etc/init.d/tomcat55 script.
Even calling it from [TOMCAT_LOG_FOLDER] doens't solve the problem, I
always got this " java.security.AccessControlException: access denied
(java.io.FilePermission xwiki.log write)" in my
[TOMCAT_LOG_FOLDER]/catalina_$DATE ...
Maybe I miss something :)
Thanks !
--
Julien Oix
UFR d'Informatique - Université Paris Diderot
Bureau 5C01 (5ème étage)
175 rue du Chevaleret
75013 PARIS
Tel : +33 (0) 144 278 504
Mobile : +33 (0) 664 392 207
---------------------------------------------