https://bz.apache.org/bugzilla/show_bug.cgi?id=58817

            Bug ID: 58817
           Summary: ArrayIndexOutOfBoundsException at shutdown if running
                    with mapperContextRootRedirectEnabled="false"
           Product: Tomcat 6
           Version: unspecified
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: knst.koli...@gmail.com

Created attachment 33415
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33415&action=edit
catalina.2016-01-07.log

Noted when running a week old build of Tomcat 6 that used a different default
value for mapperContextRootRedirectEnabled.

Steps to reproduce with current Tomcat 6 trunk:
1. Edit default conf/context.xml as
<Context mapperContextRootRedirectEnabled="false">

2. Run
catalina.bat start
catalina.bat stop

3. Tomcat shuts down successfully (immediately), but catalina.2016-01-07.log
contains 2 copies of the following message:

07.01.2016 4:50:30 org.apache.catalina.connector.MapperListener
handleNotification
WARNING: Error unregistering webapp
Catalina:j2eeType=WebModule,name=//localhost/,J2EEApplication=none,J2EEServer=none
java.lang.ArrayIndexOutOfBoundsException: -1
    at
org.apache.tomcat.util.http.mapper.Mapper.internalMapWrapper(Mapper.java:769)
    at org.apache.tomcat.util.http.mapper.Mapper.internalMap(Mapper.java:691)
    at org.apache.tomcat.util.http.mapper.Mapper.map(Mapper.java:577)
    at
org.apache.catalina.connector.MapperListener.unregisterContext(MapperListener.java:481)


See attached log file for details.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to