FAQ
Hello,

According to http://myfaces.apache.org/docs/gettingstarted.html i should
delete JSF-API.JAR. But w/o this jar I receive:

javax.faces.FacesException: javax.servlet.ServletException:
javax.servlet.jsp.JspException: Unrecognized Content Type.
at
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:
327)
at
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:13
0)
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:110)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
at
org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsF
ilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
at
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter
.java:125)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
at
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter
.java:125)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:683)
at java.lang.Thread.run(Thread.java:534)
Caused by: javax.servlet.ServletException: javax.servlet.jsp.JspException:
Unrecognized Content Type.
at
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextI
mpl.java:821)
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:758)
at org.apache.jsp.records.index_jsp._jspService(index_jsp.java:244)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
24)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:704)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDis
patcher.java:474)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:409)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:312)
at
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:
322)
... 38 more
javax.servlet.ServletException: javax.servlet.jsp.JspException: Unrecognized
Content Type.
at
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextI
mpl.java:821)
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:758)
at org.apache.jsp.records.index_jsp._jspService(index_jsp.java:244)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
24)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:704)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDis
patcher.java:474)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:409)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:312)
at
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:
322)
at
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:13
0)
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:110)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
at
org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsF
ilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
at
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter
.java:125)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
at
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter
.java:125)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:683)
at java.lang.Thread.run(Thread.java:534)
java.lang.IllegalArgumentException: Unrecognized Content Type.
at
com.sun.faces.renderkit.RenderKitImpl.createResponseWriter(RenderKitImpl.jav
a:157)
at
javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:65
3)
at
javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:254)
at
com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:105)
at org.apache.jsp.records.index_jsp._jspService(index_jsp.java:151)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
24)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:704)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDis
patcher.java:474)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:409)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:312)
at
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:
322)
at
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:13
0)
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:110)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
at
org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsF
ilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
at
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter
.java:125)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
at
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter
.java:125)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:683)
at java.lang.Thread.run(Thread.java:534)


Anybody has an idea? Do I have to keep JSF-API?

Thanks
Rene

Search Discussions

  • Alex at May 25, 2005 at 10:24 am

    Rene Guenther wrote:
    Hello,

    According to http://myfaces.apache.org/docs/gettingstarted.html i should
    delete JSF-API.JAR. But w/o this jar I receive:

    Anybody has an idea? Do I have to keep JSF-API?
    Do you have myfaces-impl.jar, myfaces-jsf-api.jar,
    myfaces-extensions.jar (and myfaces.jar) in your path?
    And do you have

    <listener>

    <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
    </listener>

    in your web.xml?

    Rgds
    Alex
  • Rene Guenther at May 25, 2005 at 11:02 am
    Thank you. That worked out after refactoring my code which contained a lot
    of plain html between the view tags.

    Do I really have to add all of them:
    myfaces-impl.jar
    AND myfaces-jsf-api.jar
    AND myfaces-extensions.jar
    AND myfaces.jar

    Do I still need jsf-impl.jar then?

    Thanks
    Rene

    -----Ursprüngliche Nachricht-----
    Von: alex
    Gesendet: Mittwoch, 25. Mai 2005 12:25
    An: MyFaces Discussion
    Betreff: Re: Error w/o JSF-API.JAR

    Rene Guenther wrote:
    Hello,

    According to http://myfaces.apache.org/docs/gettingstarted.html i should
    delete JSF-API.JAR. But w/o this jar I receive:

    Anybody has an idea? Do I have to keep JSF-API?
    Do you have myfaces-impl.jar, myfaces-jsf-api.jar,
    myfaces-extensions.jar (and myfaces.jar) in your path?
    And do you have

    <listener>

    <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</lis
    tener-class>
    </listener>

    in your web.xml?

    Rgds
    Alex
  • Alex at May 25, 2005 at 11:07 am

    Rene Guenther wrote:
    Do I really have to add all of them:
    myfaces-impl.jar
    AND myfaces-jsf-api.jar
    AND myfaces-extensions.jar
    AND myfaces.jar

    Do I still need jsf-impl.jar then?

    Thanks
    Rene
    I'm not sure about the myfaces.jar, however, I think myfaces-impl.jar is
    a replacement for jsf-impl.jar of sun, such as myfaces-jsf-api.jar is a
    replacement for the jsf-api.jar of sun.
    you need the myfaces-extensions.jar if you want to use compontents like
    x:datatable and other things provided by myfaces.

    I would recommend that you delete jsf-impl.jar from sun either from your
    classpath. It could mess up things for the myfaces-extensions.

    Rgds
    Alex
  • Martin Marinschek at May 25, 2005 at 11:44 am
    If you want to use plain vanilla MyFaces, you just need the
    myfaces.jar - that's all.

    your error message points to some remnaints of the reference
    implementation somewhere in your/tomcat working directory.

    regards,

    Martin
    On 5/25/05, alex wrote:
    Rene Guenther wrote:
    Do I really have to add all of them:
    myfaces-impl.jar
    AND myfaces-jsf-api.jar
    AND myfaces-extensions.jar
    AND myfaces.jar

    Do I still need jsf-impl.jar then?

    Thanks
    Rene
    I'm not sure about the myfaces.jar, however, I think myfaces-impl.jar is
    a replacement for jsf-impl.jar of sun, such as myfaces-jsf-api.jar is a
    replacement for the jsf-api.jar of sun.
    you need the myfaces-extensions.jar if you want to use compontents like
    x:datatable and other things provided by myfaces.

    I would recommend that you delete jsf-impl.jar from sun either from your
    classpath. It could mess up things for the myfaces-extensions.

    Rgds
    Alex
  • Rene Guenther at May 25, 2005 at 12:12 pm
    Thank you. But now I get a new error when trying without jsf-impl.jar:

    2005-05-25 14:07:41 StandardContext[/rapportnoejb]Error configuring
    application listener of class com.sun.faces.config.ConfigureListener
    java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
    at
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
    a:1340)
    at
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
    a:1189)
    at
    org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
    3775)
    at
    org.apache.catalina.core.StandardContext.start(StandardContext.java:4343)
    at
    org.apache.catalina.core.StandardHostDeployer.start(StandardHostDeployer.jav
    a:830)
    at
    org.apache.catalina.core.StandardHost.start(StandardHost.java:991)
    at
    org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1322)
    at
    org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java
    :530)
    at
    org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java
    :104)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
    FilterChain.java:237)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
    ain.java:157)
    at
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
    va:214)
    at
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
    t.java:104)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at
    org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
    Valve.java:198)
    at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
    va:152)
    at
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
    t.java:104)
    at
    org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
    .java:540)
    at
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
    t.java:102)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
    )
    at
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
    t.java:104)
    at
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118
    )
    at
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
    t.java:102)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
    :109)
    at
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
    t.java:104)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
    at
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
    ction(Http11Protocol.java:705)
    at
    org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
    at
    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
    a:683)
    at java.lang.Thread.run(Thread.java:534)

    I guess he should look up for org.apache.myfaces.config.MyfacesConfig?
    Any idea?

    Thanks
    Rene

    -----Ursprüngliche Nachricht-----
    Von: Martin Marinschek
    Gesendet: Mittwoch, 25. Mai 2005 13:44
    An: MyFaces Discussion
    Betreff: Re: AW: Error w/o JSF-API.JAR

    If you want to use plain vanilla MyFaces, you just need the
    myfaces.jar - that's all.

    your error message points to some remnaints of the reference
    implementation somewhere in your/tomcat working directory.

    regards,

    Martin
  • Martin Marinschek at May 25, 2005 at 12:17 pm
    Don't ask me where and how, but you still got the reference
    implementation disturbing in somewhere. Maybe in your web.xml, as a
    servlet, you configured the RI?

    regards,

    Martin
    On 5/25/05, Rene Guenther wrote:
    Thank you. But now I get a new error when trying without jsf-impl.jar:

    2005-05-25 14:07:41 StandardContext[/rapportnoejb]Error configuring
    application listener of class com.sun.faces.config.ConfigureListener
    java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
    at
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
    a:1340)
    at
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
    a:1189)
    at
    org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
    3775)
    at
    org.apache.catalina.core.StandardContext.start(StandardContext.java:4343)
    at
    org.apache.catalina.core.StandardHostDeployer.start(StandardHostDeployer.jav
    a:830)
    at
    org.apache.catalina.core.StandardHost.start(StandardHost.java:991)
    at
    org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1322)
    at
    org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java
    :530)
    at
    org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java
    :104)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
    FilterChain.java:237)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
    ain.java:157)
    at
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
    va:214)
    at
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
    t.java:104)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at
    org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
    Valve.java:198)
    at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
    va:152)
    at
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
    t.java:104)
    at
    org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
    .java:540)
    at
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
    t.java:102)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
    )
    at
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
    t.java:104)
    at
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118
    )
    at
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
    t.java:102)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
    :109)
    at
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
    t.java:104)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
    at
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
    ction(Http11Protocol.java:705)
    at
    org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
    at
    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
    a:683)
    at java.lang.Thread.run(Thread.java:534)

    I guess he should look up for org.apache.myfaces.config.MyfacesConfig?
    Any idea?

    Thanks
    Rene

    -----Ursprüngliche Nachricht-----
    Von: Martin Marinschek
    Gesendet: Mittwoch, 25. Mai 2005 13:44
    An: MyFaces Discussion
    Betreff: Re: AW: Error w/o JSF-API.JAR

    If you want to use plain vanilla MyFaces, you just need the
    myfaces.jar - that's all.

    your error message points to some remnaints of the reference
    implementation somewhere in your/tomcat working directory.

    regards,

    Martin


  • Rene Guenther at May 25, 2005 at 12:48 pm
    I cleaned up my workspace. Now it works. But I am not sure which part of
    cleaning up was the crucial one.

    Thank you for your help

    Rene

    -----Ursprüngliche Nachricht-----
    Von: Martin Marinschek
    Gesendet: Mittwoch, 25. Mai 2005 14:17
    An: MyFaces Discussion
    Betreff: Re: Error w/o JSF-API.JAR

    Don't ask me where and how, but you still got the reference
    implementation disturbing in somewhere. Maybe in your web.xml, as a
    servlet, you configured the RI?

    regards,

    Martin
  • Jesse Alexander (KBSA 21) at May 25, 2005 at 12:49 pm
    -----Original Message-----
    Don't ask me where and how, but you still got the reference
    implementation disturbing in somewhere. Maybe in your web.xml, as a
    servlet, you configured the RI?
    -----/Original Message-----

    - clear (==delete content) the work-directory of your tomcat
    - check the common/lib directory

    hth
    Alexander

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupusers @
categoriesmyfaces
postedMay 25, '05 at 10:11a
activeMay 25, '05 at 12:49p
posts9
users4
websitemyfaces.apache.org

People

Translate

site design / logo © 2019 Grokbase