tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MC Moisei" <>
Subject Re: HELP: Tomcat 5.5.9 with jsvc as low priviledges user on Linux fails in Boots
Date Tue, 02 Aug 2005 07:29:33 GMT

Interesting, Thanks Darryl for sharing. So you run 5.5.9 and no problem huh 

What's the access given for the tomcat structure ? I'm interested in 
particular on that conf folder.  I can run it fine too but not as root and 
root has no write access to the conf folder. How is your set up ?

BTW that .new extension looked strange to me too. I cannot explain it - 
didn't look yet in TC source code.

Here's the way I call the jsvc




    $CATALINA_HOME/bin/jsvc \
    -user $TOMCAT_USER \
    -home $JAVA_HOME \
    -Dcatalina.home=$CATALINA_HOME \$TMP_DIR \
    -outfile $CATALINA_HOME/logs/catalina-daemon.out \
    -errfile $CATALINA_HOME/logs/catalina-daemon.err \

Did you have any issues while installing jsvc ?

Thanks again,

>From: "Darryl L. Miles" <>
>Reply-To: "Tomcat Users List" <>
>To: Tomcat Users List <>
>Subject: Re: HELP: Tomcat 5.5.9 with jsvc as low priviledges user on Linux 
>fails in Bootstrap
>Date: Tue, 02 Aug 2005 08:01:36 +0100
>MC Moisei wrote:
>>/usr/local/tomcat/tomcat_home/conf/ (Permission 
>>     at Method)
>This smells like its calling for write access to the DIRECTORY  
>/usr/local/tomcat/tomcat_home/conf/  (not the file)
>Unless you have a left over file that is actually called 
>conf/ from a previous execution of TC that did not 
>complete the edit and rename.  In which case I think you need to delete the 
>conf/ file (after you've ensured you have a valid and 
>working conf/tomcat-users.xml file itself).
>FYI - I run jsvc too and have not seen this problem with 5.5.9.
>jsvc.exec -Djava.endorsed.dirs=./common/endorsed -classpath 

> -outfile 
>./logs/catalina.out -errfile ./logs/catalina.err -pidfile ./logs/
>-user jakarta -Xmx2048M -Xms512M 
>org.apache.catalina.startup.Bootstrap start
>Darryl L. Miles
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message