On Mon, 2011-11-14 at 08:17 +0400, bas...@obninsk.com wrote: > > Can you paste the application web.xml file (inline) into your reply? > > > > <?xml version="1.0" encoding="UTF-8"?> > > <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > xmlns="http://java.sun.com/xml/ns/javaee" > > xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" > > xsi:schemaLocation="http://java.sun.com/xml/ns/javaee > > http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" > > version="2.5"> > > <display-name>WEB query</display-name> > > <description></description> > > <error-page> > > <error-code>404</error-code> > > <location>/includes/error404.jsp</location> > > </error-page> > > <error-page> > > <error-code>500</error-code> > > <location>/includes/error500.jsp</location> > > </error-page> > > <servlet> > > <description></description> > > <display-name>reportcmnt</display-name> > > <servlet-name>reportcmnt</servlet-name> > > <jsp-file>/jsp/reportcmnt.jsp</jsp-file> > > </servlet> > > <servlet-mapping> > > <servlet-name>reportcmnt</servlet-name> > > <url-pattern>/reportcmnt</url-pattern> > > </servlet-mapping> > > </web-app> > >
> Do you have an access log configured, if so, what does it show? > > 0:0:0:0:0:0:0:1 - - [13/Nov/2011:09:50:32 +0300] "GET /query HTTP/1.1" 302 > 125 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like > Gecko) Chrome/15.0.874.120 Safari/535.2" > 0:0:0:0:0:0:0:1 - - [13/Nov/2011:09:50:32 +0300] "GET /query/ HTTP/1.1" 403 > 964 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like > Gecko) Chrome/15.0.874.120 Safari/535.2" > 0:0:0:0:0:0:0:1 - - [13/Nov/2011:11:40:54 +0300] "GET /query HTTP/1.1" 302 > 125 > "http://localhost:8082/manager/html;jsessionid=4D76EA53493CA915B556DB02D1D9932E?org.apache.catalina.filters.CSRF_NONCE=95AB554C225507BE146FBA41E2BF3A97" > > "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) > Chrome/15.0.874.120 Safari/535.2" > 0:0:0:0:0:0:0:1 - - [13/Nov/2011:11:40:54 +0300] "GET /query/ HTTP/1.1" 403 > 964 > "http://localhost:8082/manager/html;jsessionid=4D76EA53493CA915B556DB02D1D9932E?org.apache.catalina.filters.CSRF_NONCE=95AB554C225507BE146FBA41E2BF3A97" > > "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) > Chrome/15.0.874.120 Safari/535.2" > What user account is Tomcat running under? > > OK, you're getting a 403 on http://localhost:8082/query/ but your web.xml only shows a mapping for /reportcmnt and no welcome file declarations. What happens if you use /query/reportcmnt instead? Is there perhaps an index.html that would have redirected to /query/reportcmnt? Q: What version of Tomcat were you using prior to the win7 migration? If you were using a pre-Tomcat7 version you may be butting up against 7's stricter servlet compliance. You should explicitly declare a welcome file in web.xml. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org