You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Duncan Smith <ds...@deckertelecom.net> on 2003/09/25 16:05:40 UTC

Tomcat+SSL 404 error

I've just updgraded from tomcat 4.0 to 4.1.

In my web.xml I have the following:

  <security-constraint>
    <web-resource-collection>
      <web-resource-name>Pennymail Secure</web-resource-name>
      <url-pattern>/secure/*</url-pattern>
      <http-method>GET</http-method>
      <http-method>POST</http-method>
    </web-resource-collection>
        <user-data-constraint>
      <transport-guarantee>CONFIDENTIAL</transport-guarantee>
    </user-data-constraint>
  </security-constraint>

This worked fine in 4.0, but when I put it in in 4.1 any page that I
request returns:

HTTP Status 404 - /page.jsp
message /page.jsp
description The requested resource (/page.jsp) is not available.
Apache Tomcat/4.1.27-LE-jdk14

Without this entry, i can connect via ssl (port 443) but I need these
pages restricted to only ssl.

Anyone any idea why? Cheers, Duncan.