FYI, the default implementation in JBoss4.0.3 is in %JBOSS_HOME%/server/%JBOSS_CONF%/deploy/jbossweb-tomcat55.sar/jsf-libs
Regards, Bruno 2005/10/25, Martin Marinschek <[EMAIL PROTECTED]>: > It really looks as if you would use an older version of the > implementation. JBoss supplies a version with MyFaces already, so try > to get rid of this and replace it with your new version. > > regards, > > Martin > > On 10/25/05, Marco Mistroni <[EMAIL PROTECTED]> wrote: > > Hello Martin, > > here's stack trace.... > > > > 2005-10-25 11:23:06,220 ERROR [org.jboss.web.localhost.Engine] > > ApplicationDispatcher[/sandbox] Servlet.service() for servlet jsp threw > > exception > > java.lang.NoSuchMethodError: > > org.apache.myfaces.component.html.util.AddResource.addJavaScriptToHeader(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;ZLjavax/faces/context/FacesContext;)V > > at > > org.apache.myfaces.custom.inputsuggestajax.InputSuggestAjaxRenderer.encodeJavascript(InputSuggestAjaxRenderer.java:73) > > at > > org.apache.myfaces.custom.inputsuggestajax.InputSuggestAjaxRenderer.encodeEnd(InputSuggestAjaxRenderer.java:98) > > at > > javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:331) > > at > > org.apache.myfaces.renderkit.RendererUtils.renderChild(RendererUtils.java:450) > > at > > org.apache.myfaces.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:203) > > at > > org.apache.myfaces.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:85) > > at > > javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:331) > > at > > javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:349) > > at > > javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:253) > > at > > org.apache.myfaces.taglib.UIComponentBodyTagBase.doEndTag(UIComponentBodyTagBase.java:55) > > at > > org.apache.jsp.inputSuggestAjax_jsp._jspx_meth_h_panelGrid_0(inputSuggestAjax_jsp.java:245) > > at > > org.apache.jsp.inputSuggestAjax_jsp._jspx_meth_h_form_0(inputSuggestAjax_jsp.java:190) > > at > > org.apache.jsp.inputSuggestAjax_jsp._jspx_meth_f_view_0(inputSuggestAjax_jsp.java:157) > > at > > org.apache.jsp.inputSuggestAjax_jsp._jspService(inputSuggestAjax_jsp.java:106) > > at > > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) > > at > > javax.servlet.http.HttpServlet.service(HttpServlet.java:810) > > at > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) > > 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:810) > > at > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) > > at > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) > > at > > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703) > > at > > org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) > > at > > org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) > > at > > org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312) > > at > > org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415) > > at > > org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234) > > at > > org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300) > > at > > javax.faces.webapp.FacesServlet.service(FacesServlet.java:95) > > at > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) > > at > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) > > at > > org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122) > > at > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) > > at > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) > > at > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) > > at > > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) > > at > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) > > at > > org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) > > at > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) > > at > > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) > > at > > org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:72) > > at > > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) > > at > > org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:275) > > at > > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.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(StandardValveContext.java:104) > > at > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) > > at > > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.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(StandardValveContext.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.processConnection(Http11Protocol.java:705) > > at > > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) > > at > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) > > at java.lang.Thread.run(Thread.java:595) > > 2005-10-25 11:23:06,236 ERROR [org.jboss.web.localhost.Engine] > > StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces > > Servlet threw exception > > javax.faces.FacesException: > > org.apache.myfaces.component.html.util.AddResource.addJavaScriptToHeader(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;ZLjavax/faces/context/FacesContext;)V > > at > > org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421) > > at > > org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234) > > at > > org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300) > > at > > javax.faces.webapp.FacesServlet.service(FacesServlet.java:95) > > at > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) > > at > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) > > at > > org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122) > > at > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) > > at > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) > > at > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) > > at > > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) > > at > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) > > at > > org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) > > at > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) > > at > > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) > > at > > org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:72) > > at > > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) > > at > > org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:275) > > at > > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.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(StandardValveContext.java:104) > > at > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) > > at > > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.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(StandardValveContext.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.processConnection(Http11Protocol.java:705) > > at > > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) > > at > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) > > at java.lang.Thread.run(Thread.java:595) > > Caused by: javax.servlet.ServletException: > > org.apache.myfaces.component.html.util.AddResource.addJavaScriptToHeader(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;ZLjavax/faces/context/FacesContext;)V > > at > > org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825) > > at > > org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758) > > at > > org.apache.jsp.inputSuggestAjax_jsp._jspService(inputSuggestAjax_jsp.java:131) > > at > > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) > > at > > javax.servlet.http.HttpServlet.service(HttpServlet.java:810) > > at > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) > > 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:810) > > at > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) > > at > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) > > at > > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703) > > at > > org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) > > at > > org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) > > at > > org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312) > > at > > org.apache.myfaces.context.servlet.ServletExternalCont > > > > HTH & thanks in advance > > > > marco > > > > > -- > > http://www.irian.at > Your JSF powerhouse - > JSF Trainings in English and German >