> -----Original Message-----
> From: Konstantin Kolinko 
> Sent: Wednesday, December 08, 2010 0:29
> To: Tomcat Users List
> Subject: Re: Issues on startup for tomcat 5.5 on RHEL 5.5
> 
> 2010/12/7 Jason Pyeron <jpye...@pdinc.us>:
> >
> > The permissions on /usr/share/tomcat5/conf/ are 775 and 
> owned by root.tomcat.
> 
> It is a bad idea to have the configuration files world-readable.
> 
> Especially tomcat-uses.xml and server.xml.
> 
> 

That is a valid point but not the issue at hand.

> > java.io.IOException: IOException writing to 
> > /usr/share/tomcat5/conf/tomcat-users.xml.new
> 
> What you do not understand in the above message?
> Tomcat saves the file to a new name, then renames it.
> 

I understand the message, it says tomcat cannot write that file. What I do not
understand is how it cannot write that file.

> BTW, it is possible to set readonly="true" on the 
> UserDatabase entry in server.xml and Tomcat won't try to 
> write that file. (In Tomcat 6+ readonly flag is "true" by default).
> 
> > cat /etc/tomcat5/tomcat-users.xml
> 
> This file is not in "/usr/share/tomcat5/conf/"
> 

Right, that is a symlink to /etc/tomcat5, which has all the properties as
decribed for /usr/share/tomcat5/conf/ (if I had tested /usr/share/tomcat5/conf
then the information provided would have been for the symlink and not the
target)


So the question remains, what could have changed on the RHEL 5.5 system between
last week and present to make tomcat complain. Unfortunatly the backups of the
system were only on /usr/local and /home so theyt were of no help and the rpm
log only indicates a kerbos update.

-Jason

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to