Forwarding to "/../error.jsp" should cause an error of some sort every time since "error.jsp" is outside of the web application. Perhaps "../error.jsp" or "/error.jsp" was intended.
Apparently, the invalid URI made it into DecodeInterceptor's normalize method which isn't currently coded to handle invalid URI's. I'll make sure this the exception doesn't occur in Tomcat 3.3.2. I would be curious if error.jsp actually exists outside of the web application, and if so, does this error still occur if it is removed. Cheers, Larry > -----Original Message----- > From: Alex Johansson [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 03, 2002 6:10 AM > To: [EMAIL PROTECTED] > Subject: java.lang.ArrayIndexOutOfBoundsException > > > Hi, > > Sometime I'v got this error when accessing > jsp files > > I user apache (+ mod_jk), tomcat 3.3. > > Seems to be a tomcat error. > > Do you know if this error occures during heavy load on > tomcat? > > > > Error: 500 > Location: /../error.jsp > Internal Servlet Error: > java.lang.ArrayIndexOutOfBoundsException: -1 > at > org.apache.tomcat.modules.mappers.DecodeInterceptor.normalize( > DecodeIntercep > tor.java:371) > at > org.apache.tomcat.modules.mappers.DecodeInterceptor.normalizeP > ath(DecodeInte > rceptor.java:175) > at > org.apache.tomcat.modules.mappers.DecodeInterceptor.postReadRe > quest(DecodeIn > terceptor.java:446) > at > org.apache.tomcat.core.ContextManager.processRequest(ContextMa > nager.java:939 > ) > at > org.apache.tomcat.facade.RequestDispatcherImpl.doForward(Reque > stDispatcherIm > pl.java:259) > at > org.apache.tomcat.facade.RequestDispatcherImpl.forward(Request > DispatcherImpl > .java:174) > at > org.apache.jasper.runtime.PageContextImpl.forward(PageContextI > mpl.java:423) > at > org.apache.jasper.runtime.PageContextImpl.handlePageException( > PageContextImp > l.java:448) > at main_1._jspService(main_1.java:132) > at > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) > at javax.servlet.http.HttpServlet.service(HttpServlet.java) > at > org.apache.tomcat.facade.ServletHandler.doService(ServletHandl > er.java:574) > at org.apache.tomcat.core.Handler.invoke(Handler.java:322) > at org.apache.tomcat.core.Handler.service(Handler.java:235) > at > org.apache.tomcat.facade.ServletHandler.service(ServletHandler > .java:485) > at > org.apache.tomcat.core.ContextManager.internalService(ContextM > anager.java:91 > 7) > at > org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) > at > org.apache.tomcat.modules.server.Ajp13Interceptor.processConne > ction(Ajp13Int > erceptor.java:341) > at > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi > nt.java:494) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( > ThreadPool.jav > a:516) > at java.lang.Thread.run(Thread.java:484) > > > Any clue to solve this problem > > regards > _________________________________ > > Alex Johansson > > Systemutvecklare @ TechLex > > 0708 - 29 26 01 > > [EMAIL PROTECTED] > > > -- > To unsubscribe, e-mail: > <mailto:tomcat-user-> [EMAIL PROTECTED]> > For > additional commands, > e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
