This isn't a Tomcat issue at all, just code in SwchServlet behaving badly or getting unexpected data.
-----Original Message----- From: Mohit Anchlia [mailto:mohitanch...@gmail.com] Sent: Tuesday, January 12, 2010 9:58 AM To: Tomcat Users List Subject: Re: Exception in localhost file There seems to be no code. This is logging properties. I am not sure why the exception is not getting logged. I do have application specific log4j.xml but that's only for application logs that is working fine. #org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers = 2localhost.org.apache.juli.FileHandler org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].level = INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].handlers = 3manager.org.apache.juli.FileHandler org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/admin].level = INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/admin].handlers = 4admin.org.apache.juli.FileHandler org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].level = INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].handlers = 5host-manager.org.apache.juli.FileHandler On Tue, Jan 12, 2010 at 5:29 AM, Joseph Morgan <joseph.mor...@ignitesales.com> wrote: >>> Jan 11, 2010 4:12:57 PM org.apache.catalina.core.StandardWrapperValve > invoke >>> SEVERE: Servlet.service() for servlet SwchServlet threw exception >>> java.lang.ArrayIndexOutOfBoundsException > >>> There is no clue as to why this might be happening. > > False, that IS the clue. SwchServlet code is using an index into an > array (or something ultimately treated as an array) and simply stepping > outside the bounds. > > Is the code using a logger? Check how that is used/configured, as that > might be why you're not seeing a full stack trace. Someone may have > written code to trap an exception and then issue their own message. > > -----Original Message----- > From: Mohit Anchlia [mailto:mohitanch...@gmail.com] > Sent: Monday, January 11, 2010 8:10 PM > To: Tomcat Users List > Subject: Exception in localhost file > > tomcat 6: > > I am seeing following exception in localhost file with no stack trace. > There is no clue as to why this might be happening. How do I get the > full stack trace to narrow down the problem? We also have our > application log where our application specific exceptions get logged > with full stack trace but this is not being logged there. > > Jan 11, 2010 4:12:57 PM org.apache.catalina.core.StandardWrapperValve > invoke > SEVERE: Servlet.service() for servlet SwchServlet threw exception > java.lang.ArrayIndexOutOfBoundsException > > --------------------------------------------------------------------- > 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 > > --------------------------------------------------------------------- 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