Hi,

The problem is in the security model (see http://jira.xwiki.org/jira/browse/XWIKI-348 ). Debian uses tomcat with the java security turned on. Until we fix this, the only solution I know is to turn it off.

Sergiu

On 1/23/07, Vincent Massol <vincent@massol.net> wrote:
Julien,

I'm not going to solve this for you... (and I don't have access to
your machine). The only thing I can tell you is what I've already
told you: xwiki wants to write a xwiki.log file in the directory
where it is started.

Now I'll let you find out from what directory you're starting it.

If you want to change the location of the log file you'll need to
unpack the WAR file, unjar the xwiki jar, modify the log4j.properties
file so that the log file is created in the directory you want and
repack the whole thing. Hmm... Actually there might be a simpler
solution: just create a new log4j.properties file and place it before
the xwiki war in the Tomcat classpaths. Note: I haven't done that so
don't ask me how ;-)

When you've found out how to make all this work, it would be nice to
post back so that others can learn from your case.

Thanks
-Vincent

On Jan 23, 2007, at 2:44 PM, Julien Oix wrote:

> (cleaning the post, see the previous in the same thread)
>
> Abstract : tryin' to install xwiki 1.0 beta 2 (debian, apache,
> tomcat container, mod_jk connector, MySQL database)
>
> Hi Vincent,
>
> U force me to modify the /etc/passwd in order my tomcat user can
> login to a shell ;)
>
> # starting tomcat as root in the tomcat log folder
> didascalie:/var/log/tomcat5.5# pwd
> /var/log/tomcat5.5
> didascalie:/var/log/tomcat5.5# /etc/init.d/tomcat5.5 restart
> Stopping Tomcat servlet engine: tomcat5.5 (not running).
> Starting Tomcat servlet engine: tomcat5.5.
> didascalie:/var/log/tomcat5.5#
>
>
> # login as tomcat55, the user running tomcat
> didascalie:/var/log/tomcat5.5# su - tomcat55
> tomcat55@didascalie:~$ cd /var/log/tomcat5.5/
> tomcat55@didascalie:/var/log/tomcat5.5$ touch toto
> tomcat55@didascalie:/var/log/tomcat5.5$ ls -l
> total 16
> -rw-r--r-- 1 tomcat55 nogroup    0 2007-01-23 14:41 admin.
> 2007-01-23.log
> -rw-r--r-- 1 tomcat55 nogroup 8959 2007-01-23 14:42
> catalina_2007-01-23.log
> -rw-r--r-- 1 tomcat55 nogroup  855 2007-01-23 14:42 catalina.
> 2007-01-23.log
> prwx------ 1 tomcat55 root       0 2007-01-23 14:42 catalina.out
> -rw-r--r-- 1 tomcat55 nogroup    0 2007-01-23 14:41 host-manager.
> 2007-01-23.log
> -rw-r--r-- 1 tomcat55 nogroup    0 2007-01-23 14:41 localhost.
> 2007-01-23.log
> -rw-r--r-- 1 tomcat55 nogroup    0 2007-01-23 14:41 manager.
> 2007-01-23.log
> -rw-r--r-- 1 tomcat55 nogroup    0 2007-01-23 14:43 toto
> tomcat55@didascalie:/var/log/tomcat5.5$
>
>
> So, the user running tomcat has the good rights to write files in
> the tomcat log folder ... :)
>
> 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
> ---------------------------------------------
> http://www.gnu.org/philosophy/no-word-attachments.html
>
>
>
> --
> You receive this message as a subscriber of the xwiki-
> users@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






___________________________________________________________________________
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@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