Tomcat 5.5.25, JDK 1.5.0_11, WinXPSP2. I copied a war file to webapps and it auto-deployed it, but it failed autodeploy, which I expected. I then copied in several jars into the exploded WEB-INF/lib directory. At that point, in a fraction of a second the log file was filled up with a stack overflow error.
The original WAR file uses RichFaces, but it was originally deployed to WebLogic, which implicitly uses its own JSF implementation, so the JSF implementation isn't in WEB-INF/lib. When I copied it into Tomcat's webapps dir, it failed because of the missing JSF implementation. I then copied in all the jars from the MyFaces 1.1.5 distro, as an attempt to provide the JSF implementation. That's when it blew up. In the log file, there were two exceptions. The first one had a "normal" stack trace, and the second one was the big one. I'll paste some of both of them here. For the second one, the two stack entries there repeated forever. SEVERE: Exception starting filter richfaces java.lang.NoClassDefFoundError: javax/faces/FacesException at org.ajax4jsf.webapp.BaseFilter.init(BaseFilter.java:146) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFi lterConfig.java:221) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Applicatio nFilterConfig.java:302) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilte rConfig.java:78) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.jav a:3635) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4222 ) ... More SEVERE: Servlet.service() for servlet Faces Servlet threw exception java.lang.StackOverflowError at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletReque stWrapper.java:216) at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHt tpRequest.java:545) at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletReque stWrapper.java:216) at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHt tpRequest.java:545) ... More --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]