I don´t find the listener tag into any file of MyFaces jars, but if I
don´t define that in the web.xml, this error appears :

500 Internal Server Error
java.lang.IllegalStateException:
org.apache.myfaces.webapp.webxml.WebXml.init must be called before!     at
org.apache.myfaces.webapp.webxml.WebXml.getWebXml(WebXml.java:123)      at
org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.getServletMapping(JspTilesViewHandlerImpl.java:254)
  at
org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.renderView(JspTilesViewHandlerImpl.java:120)
 at
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
        at
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)     at
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)    at
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)  at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer
Preview 
3].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:61)        
at
oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)   at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer
Preview 
3].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:672)
       at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer
Preview 
3].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:378)
      at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer
Preview 
3].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:869)   
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer
Preview 3].server.http.HttpRequestHandler.run(HttpRequestHandler.java:288)      
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer
Preview 3].server.http.HttpRequestHandler.run(HttpRequestHandler.java:120)      
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer
Preview 
3].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:294)
        at
java.lang.Thread.run(Thread.java:534)

Thanks,
Guedes

On 9/26/05, Simon Kitching <[EMAIL PROTECTED]> wrote:
> PATRICIA GUEDES wrote:
> > Hi everyone,
> >
> > Sorry for my bad English, I´m from Brazil.
> >
> > We are trying to implement a JSF project using Oracle Jdev (10.1.3)
> > that comes with JSF and Struts, MyFaces (1.1.0), Struts(Validator) and
> > Tiles(MyFaces).
> >
> > We created a Jdev JSP Tag Library pointing to the file tomahawk.jar
> > using the steps found on Oracle website
> >
> (http://www.oracle.com/technology/products/jdev/101/howtos/myfaces/index.html).
> >
> > When we introduce the listener
> > org.apache.myfaces.webapp.StartupServletContextListener into web.xml
> > and the view-handler
> > org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl into
> > faces-config,  the faces-config.xml file seems to became to be
> > uninterpreted and neither the navigation and the managed-beans are not
> > recognized anymore.
>
> With myfaces 1.1.0, the StartupServletContextListener should not be
> defined in the web.xml file (it is now defined in one of the config
> files within the myfaces jar file).
>
> I don't know if this will fix all your problems...
>
> Regards,
>
> Simon
>

Reply via email to