tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darryl L. Miles" <dar...@netbauds.net>
Subject Re: HELP: Tomcat 5.5.9 with jsvc as low priviledges user on Linux fails in Bootstrap
Date Tue, 02 Aug 2005 07:01:36 GMT
MC Moisei wrote:

> java.io.FileNotFoundException: 
> /usr/local/tomcat/tomcat_home/conf/tomcat-users.xml.new (Permission 
> denied)
>     at java.io.FileOutputStream.open(Native 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/tomcat-users.xml.new 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/tomcat-users.xml.new 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 
:/opt/jakarta-tomcat-5.5.9/bin/bootstrap.jar:/opt/jakarta-tomcat-5.5.9/bin/commons-logging-api.jar

-Dcatalina.base=/opt/jakarta-tomcat-5.5.9 
-Dcatalina.home=/opt/jakarta-tomcat-5.5.9 
-Djava.io.tmpdir=/opt/jakarta-tomcat-5.5.9/temp -outfile 
./logs/catalina.out -errfile ./logs/catalina.err -pidfile ./logs/jsvc.pid
 -user jakarta -Xmx2048M -Xms512M 
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 
org.apache.catalina.startup.Bootstrap start

-- 
Darryl L. Miles



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message