On Jan 21, 2008 4:43 PM, Karr, David <[EMAIL PROTECTED]> wrote: > I have a simple app using the default JSF 1.1 implementation in WebLogic > 9.2.2, which also uses RichFaces 3.1.3. It works at this point. > > I installed Tomcat 5.5.25. I copied all the jars from the MyFaces 1.1.5 > lib directory to the "/shared/lib" directory of Tomcat. > > I copied the myfaces-example-simple-1.1.6 app to the webapps dir. I > started up Tomcat and tested this app, and it appeared to be ok.
do you now have the 1.1.6 myfaces-libs in that example/WEB-INF/lib folder as well ? > > I then copied the war file from my WebLogic-deployed app (exported from > Eclipse) into the webapps dir. At this point, Tomcat basically went > insane. It hit a stack overflow error very quickly. ok, I can't follow this step. Maybe doing a "step-by-step" *migration* is a better way? If MyFaces example works fine, than do the next step. BTW. it should work, since it is possible, to just kick the myfaces-example into webapps folder and start the container. The shared-lib I'd also move to a later step, IMO. Greetings, Matthias > > The first exception I saw in the catalina log file was this: > > java.lang.NullPointerException > at > org.ajax4jsf.context.AjaxContextImpl.getSubmittedRegionClientId(AjaxCont > extImpl.java:574) > at > org.ajax4jsf.context.AjaxContextImpl.isAjaxRequest(AjaxContextImpl.java: > 474) > at > org.ajax4jsf.context.AjaxContextImpl.isAjaxRequest(AjaxContextImpl.java: > 466) > at > org.ajax4jsf.event.AjaxPhaseListener.afterPhase(AjaxPhaseListener.java:7 > 8) > at > org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAf > ter(PhaseListenerManager.java:92) > at > org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:134 > ) > at > javax.faces.webapp.FacesServlet.service(FacesServlet.java:140) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica > tionFilterChain.java:269) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt > erChain.java:188) > at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:307) > > This is just the beginning of the stack trace. It essentially went on > forever. > > The localhost log file had the following exception: > > Jan 21, 2008 4:24:09 PM org.apache.catalina.core.ApplicationDispatcher > invoke > SEVERE: Servlet.service() for servlet jsp threw exception > java.lang.StackOverflowError > at > org.apache.catalina.core.ApplicationHttpRequest.getAttribute(Application > HttpRequest.java:210) > at > org.apache.catalina.core.ApplicationHttpRequest.getAttribute(Application > HttpRequest.java:222) > at > org.apache.catalina.core.ApplicationHttpRequest.getAttribute(Application > HttpRequest.java:222) > > The last entry repeated forever. > > Any ideas on where to go from here? > -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf mail: matzew-at-apache-dot-org

