Re: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml

2009-04-24 Thread André Warnier
Sriganesh Ananth wrote: Hi Andre, I got Forbidden - You don't have permission to access /test/WEB-INF/web.xml on this server. Under httpd.conf, just before VirtualHost I have following to deny all from accessing WEB-INF folder. Httpd.conf configuration: # Globally deny access to the WEB-INF

Re: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml

2009-04-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 4/24/2009 3:27 AM, André Warnier wrote: Sriganesh Ananth wrote: What also still smells fishy is the line Alias /test /var/www/testapp/ Why is it there ? What does it achieve, that the following 2 lines do not ? JkMount /*.do ajp13

Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml

2009-04-23 Thread Sriganesh Ananth
Hi I am experiencing a very peculiar issue when migrating from Apache Tomcat 4.1.x (Apache 1.3.27) to 5.5.23 (Apache 2.2.3) on Red hat Linux 5. The issue is Tomcat 5.5.x looks for a servlet file under server’s physical file system and reporting HTTP 404 error rather than going to the servlet

RE: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml

2009-04-23 Thread Caldarale, Charles R
From: Sriganesh Ananth [mailto:sriganesh.anant...@gmail.com] Subject: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml The issue is Tomcat 5.5.x looks for a servlet file under server's physical file system

Re: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml

2009-04-23 Thread Sriganesh Ananth
Chuck, Thank you for your reply. I didn't copy 4.1 server.xml but instead build it fresh on 5.5 provided server.xml. Following is the server.xml (removed comments and commented lines) --- Server

RE: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml

2009-04-23 Thread Caldarale, Charles R
From: Sriganesh Ananth [mailto:sriganesh.anant...@gmail.com] Subject: Re: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml Host name=192.168.1.23 debug=1 appBase=/var/www/testapp unpackWARs=true The

Re: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml

2009-04-23 Thread Sriganesh Ananth
Chuck, you rock!!! I changed the appBase to /var/www for Host, added testapp in the Context docBase and restarted the tomcat and it worked!!! I will work on migrating the Context elements to the META-INF folder as suggested by you. Again, thank you very much for your help on this and you have

Re: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml

2009-04-23 Thread André Warnier
Sriganesh Ananth wrote: Chuck, you rock!!! That part, I tend to agree. I changed the appBase to /var/www for Host, added testapp in the Context docBase and restarted the tomcat and it worked!!! But this part, and what follows : Httpd.conf configuration: VirtualHost … DocumentRoot

Re: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml

2009-04-23 Thread Sriganesh Ananth
Hi Andre, I got Forbidden - You don't have permission to access /test/WEB-INF/web.xml on this server. Under httpd.conf, just before VirtualHost I have following to deny all from accessing WEB-INF folder. Httpd.conf configuration: # Globally deny access to the WEB-INF directory LocationMatch