DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14021>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14021 Default RPM install fails WAR autodeploy due to directory permissions Summary: Default RPM install fails WAR autodeploy due to directory permissions Product: Tomcat 4 Version: 4.1.12 Platform: All OS/Version: Linux Status: NEW Severity: Major Priority: Other Component: Unknown AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] On RedHat 7.3, the following simple steps create an installation which cannot allow for the automatic deployment of WAR files. 1. Download tomcat4-4.1.12-full.2jpp.noarch.rpm 2. Install the RPM (rpm -Uvh <filename>). 3. Download a WAR file (for example, download the latest Jetspeed) 4. Copy the .war file to /var/tomcat4/webapps 5. Start the tomcat server using the system's service command (on RH, use "service tomcat4 start") 6. Check the localhost_log.<date>.txt log file for the exception ("HostConfig[localhost] Exception while exapanding web application archive jetspeed.war"). The problem is that /var/tomcat4/webapps is owned by "root:tomcat4", its permissions are 754 (rwxr-xr--), and the "service" runs as "tomcat4". So tomcat4 cannot expand the .WAR file, thereby causing the exception. Though easy enough once the cause of the error is know, it took quite some time for me (a newbie to Tomcat) to determine the root of the problem (no pun intended). Thanks to folks on #tomcat for the guidance in tracking this down! -- To unsubscribe, e-mail: <mailto:tomcat-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-dev-help@;jakarta.apache.org>