2 Replies Latest reply on Jun 10, 2005 10:57 AM by panuv

    Tomcat 5.5.9 Case-Sensitivity

    panuv

      In JBOSS 4.0.2 / Tomcat 5.5.9 case-insensitivity no longer seems to work.

      Our application breaks down on HTML pages with wrongly cased URLs on them - and there's many of them, since so far we've been happily case-insensitive.

      I have the following:

      <Context path="" docBase="./deploy">
       <Resources caseSensitive = "false" />
      </Context>
      


      in the file:
      server\default\deploy\jbossweb-tomcat55.sar\server.xml


      and this used to do the trick on JBOSS 4.0.1, but no longer.

      Any ideas on what could be done about it would be greatly appreciated. Should I use an earlier version of Tomcat with JBOSS 4.0.2 perhaps ?

      Thanks
      -panuv


        • 1. Re: Tomcat 5.5.9 Case-Sensitivity
          shamunda

          It may appear that JBoss 4.2 no longer supports 'global' context settings

          Therefore you must specifically set context within your deployment descriptors' directory

          ex: /WEB-INF/context.xml

          Thus the correct statement should be:

          <Context path=""
          docBase="./deploy"
          crossContext="true"
          reloadable="true"
          caseSensitive = "false" debug="1"


          Hope that helps :)

          -Shamunda

          • 2. Re: Tomcat 5.5.9 Case-Sensitivity
            panuv

            Interesting ...
            Could you or someone else provide us with a link to documentation where this is explained.

            Thanks
            -panuv