Hi Ricardo,

Many thanks for your answer. I am not sure what I have to do.
When John is talking about admin id, is he thinking about root? On my  
Mac Leopard, I am logged as
normal user (lets say 'guest', without any administrative rights). I  
have another account to be able to
perform administrative tasks. As http://www.malisphoto.com/tips/tomcatonosx.html
is suggesting, I changed the owner of the Tomcat directory to  
'guest:admin'. Is this the problem?
Should I perform a 'chown -R root:admin Tomcat'.

My 'Tomcat5.sh' file (used to start 'jsvc') partly looks as following:
...
JAVA_HOME=/Library/Java/Home
CATALINA_HOME=/Library/Tomcat/Home
DAEMON_HOME=$CATALINA_HOME/bin
TOMCAT_USER=christianr
...

Should I change here the 'TOMCAT_USER' variable? I tried 'root' but  
this did not solve the problem.
Best,

christian

On May 27, 2009, at 12:36 AM, [Ricardo Rodriguez] Your EPEC Network  
ICT Team wrote:

> Hi Christian,
>>
>> Following the instructions given at
>> http://www.malisphoto.com/tips/tomcatonosx.html, I was able to get my
>> Tomcat container started
>> as daemon. I already put the Xwiki WAR file in the 'webapps'
>> directory. Pointing the browser to http://localhost:8080/xwiki only  
>> gave
>> me a blank page. Nothing on it. However manually starting Tomcat
>> brings me back the correct behavior (the well known Xwiki starting
>> page).
>>
>> In the daemon mode, the others contexts (like 'manager', 'examples')
>> work. Only the Xwiki one did not. What am I doing wrong? Does
>> anyone already have some experience with a Xwiki in a daemon started
>> Tomcat container? Attached, you will find the 'jsvc' processes
>> started and 'catalina.out'. Tell me if you need more information.
>
> I can just confirm this behaviour and share with you a couple of
> messages that John Malis ([email protected]) sent to me last
> October 2008 on this issue. I've not been able to work on this issue
> since then. I do hope they could be useful for you!
>
> *****
> 6/10/08 20:48
>
> Hello Ricardo,
> I just use the admin id since I just use OS X for development. When  
> you
> create and unpack the tomcat executables as admin, everything will  
> have
> read/write access and admin ownership with read/write access. You can
> set up your own system id specifically for Tomcat. Look at the mysql
> instructions on how to do it. Just give ownership to that id to
> everything in the Tomcat directory and make sure the owner has
> read/write access to everything. (chown -R). Maybe give admin group or
> admin id to the Tomcat directory group permissions (chgrp -R).
>
> John
> *****
>
> *****
> 6/10/08 20:51
>
> One more thing. I forgot that if you want to run tomcat under an id
> other than your own, I believe you will have to use jsvc to boot  
> tomcat.
>
> Jon
> *****
>
> Cheers,
>
> Ricardo
>
> -- 
> Ricardo Rodríguez
> Your EPEC Network ICT Team
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users

_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to