JBoss 4.2.3 with richfaces integration
jaljal May 4, 2009 7:28 PMHello,
I have an open source project using an jsf implementation that I want to add Richfaces 3.3.0. So, I added the librairies of richfaces 3.3.0 in the WEB-INF/lib and i reconfigured the web.xml.
That's a portion of my web.xml :
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app id="web-app_1"> <description><![CDATA[EJBCA Administration web]]></description> <context-param> <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name> <param-value>false</param-value> </context-param> <context-param> <param-name>javax.faces.STATE_SAVING_METHOD</param-name> <param-value>server</param-value> </context-param> <context-param> <param-name>javax.faces.DEFAULT_SUFFIX</param-name> <param-value>.jsp</param-value> </context-param> <context-param> <param-name>javax.faces.CONFIG_FILES</param-name> <param-value>/WEB-INF/faces-config.xml</param-value> </context-param> <display-name>a4jEchoText</display-name> <context-param> <param-name>org.richfaces.SKIN</param-name> <param-value>deepMarine</param-value> </context-param> <filter> <display-name>RichFaces Filter</display-name> <filter-name>richfaces</filter-name> <filter-class>org.ajax4jsf.Filter</filter-class> </filter> <filter-mapping> <filter-name>richfaces</filter-name> <servlet-name>Faces Servlet</servlet-name> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> <dispatcher>INCLUDE</dispatcher> </filter-mapping> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>0</load-on-startup> </servlet> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.faces</url-pattern> </servlet-mapping> <welcome-file-list> <welcome-file>defaut.jsp</welcome-file> </welcome-file-list> <context-param> <param-name>facelets.LIBRARIES</param-name> <param-value>/WEB-INF/tomahawk.taglib.xml</param-value> </context-param>
My WEB-INF contains :
commons-beanutils.jar
commons-collections.jar
commons-digester.jar
commons-logging.jar
richfaces-api-3.3.0.GA.jar
richfaces-imp-3.3.0.GA.jar
richfaces-ui.3.3.0.GA.jar
tomahawk-1.1.6.jar
Unfortunately, it was unsuccessfully running by causing this stacktrace :
)] Started in 3m:17s:978ms [java] 23:41:01,976 ERROR [[jsp]] "Servlet.service()" pour la servlet jsp a lancÙ„ une exception [java] org.apache.jasper.JasperException: /test.jsp(29,6) Impossible de charger la classe org.richfaces.taglib.Cale ndarTag [java] at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40) [java] at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407) [java] at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198) [java] at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1224) [java] at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1449) [java] at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1657) [java] at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1004) [java] at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1272) [java] at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1449) [java] at org.apache.jasper.compiler.Parser.parse(Parser.java:133) [java] at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216) [java] at org.apache.jasper.compiler.ParserController.parse(ParserController.java:103) [java] at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:167) [java] at org.apache.jasper.compiler.Compiler.compile(Compiler.java:306) [java] at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286) [java] at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273) [java] at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) [java] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:316) [java] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336) [java] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [java] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) [java] at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445) [java] at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379) [java] at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292) [java] at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410) [java] at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:473) [java] at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:141) [java] at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109) [java] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) [java] at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [java] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266) [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [java] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [java] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) [java] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) [java] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182) [java] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) [java] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) [java] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [java] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [java] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) [java] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [java] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) [java] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) [java] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) [java] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) [java] at java.lang.Thread.run(Thread.java:619) [java] 23:41:02,004 ERROR [lifecycle] JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /test.jsp) Exception thrown d uring phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@11859fe] [java] 23:41:02,033 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using d efault value true [java] 23:41:02,034 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, us ing default value true [java] 23:41:02,034 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SE LECTS' found, using default value true [java] 23:41:02,034 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.DETECT_JAVASCRIPT' found, u sing default value false [java] 23:41:02,034 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.AUTO_SCROLL' found, using d efault value false [java] 23:41:02,034 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value org.apache.myfaces.renderkit.html.util.DefaultAddResource [java] 23:41:02,034 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.RESOURCE_VIRTUAL_PATH' foun d, using default value /faces/myFacesExtensionResource [java] 23:41:02,034 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' fo und, using default value true [java] 23:41:02,044 INFO [MyfacesConfig] Starting up Tomahawk on the RI-JSF-Implementation. [java] 23:41:02,044 ERROR [[Faces Servlet]] "Servlet.service()" pour la servlet Faces Servlet a gÙ„nÙ„rÙ„ une exceptio n [java] org.apache.jasper.JasperException: /test.jsp(29,6) Impossible de charger la classe org.richfaces.taglib.Cale ndarTag [java] at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40) [java] at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407) [java] at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198) [java] at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1224) [java] at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1449) [java] at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1657) [java] at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1004) [java] at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1272) [java] at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1449) [java] at org.apache.jasper.compiler.Parser.parse(Parser.java:133) [java] at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216) [java] at org.apache.jasper.compiler.ParserController.parse(ParserController.java:103) [java] at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:167) [java] at org.apache.jasper.compiler.Compiler.compile(Compiler.java:306) [java] at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286) [java] at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273) [java] at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) [java] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:316) [java] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336) [java] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [java] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) [java] at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445) [java] at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379) [java] at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292) [java] at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410) [java] at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:473) [java] at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:141) [java] at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109) [java] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) [java] at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [java] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266) [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [java] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [java] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) [java] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) [java] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182) [java] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) [java] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) [java] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [java] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [java] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) [java] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [java] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) [java] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) [java] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) [java] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) [java] at java.lang.Thread.run(Thread.java:619) [java] 23:41:02,765 ERROR [STDERR] org.apache.jasper.JasperException: /test.jsp(29,6) Impossible de charger la clas se org.richfaces.taglib.CalendarTag [java] 23:41:02,766 ERROR [STDERR] at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorH andler.java:40) [java] 23:41:02,766 ERROR [STDERR] at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.j ava:407) [java] 23:41:02,766 ERROR [STDERR] at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.j ava:198) [java] 23:41:02,766 ERROR [STDERR] at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1224) [java] 23:41:02,766 ERROR [STDERR] at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1449) [java] 23:41:02,766 ERROR [STDERR] at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1657) [java] 23:41:02,766 ERROR [STDERR] at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1004) [java] 23:41:02,766 ERROR [STDERR] at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1272) [java] 23:41:02,766 ERROR [STDERR] at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1449) [java] 23:41:02,766 ERROR [STDERR] at org.apache.jasper.compiler.Parser.parse(Parser.java:133) [java] 23:41:02,766 ERROR [STDERR] at org.apache.jasper.compiler.ParserController.doParse(ParserController. java:216) [java] 23:41:02,766 ERROR [STDERR] at org.apache.jasper.compiler.ParserController.parse(ParserController.ja va:103) [java] 23:41:02,766 ERROR [STDERR] at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:167) [java] 23:41:02,767 ERROR [STDERR] at org.apache.jasper.compiler.Compiler.compile(Compiler.java:306) [java] 23:41:02,768 ERROR [STDERR] at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286) [java] 23:41:02,768 ERROR [STDERR] at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273) [java] 23:41:02,768 ERROR [STDERR] at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext .java:566) [java] 23:41:02,768 ERROR [STDERR] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:316) [java] 23:41:02,768 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3 36) [java] 23:41:02,770 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) [java] 23:41:02,770 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) [java] 23:41:02,770 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:290) [java] 23:41:02,771 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206) [java] 23:41:02,771 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp atcher.java:654) [java] 23:41:02,771 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica tionDispatcher.java:445) [java] 23:41:02,771 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD ispatcher.java:379) [java] 23:41:02,771 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis patcher.java:292) [java] 23:41:02,771 ERROR [STDERR] at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImp l.java:410) [java] 23:41:02,771 ERROR [STDERR] at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(View HandlerImpl.java:473) [java] 23:41:02,773 ERROR [STDERR] at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl. java:141) [java] 23:41:02,773 ERROR [STDERR] at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePha se.java:109) [java] 23:41:02,773 ERROR [STDERR] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) [java] 23:41:02,773 ERROR [STDERR] at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [java] 23:41:02,773 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266) [java] 23:41:02,773 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:290) [java] 23:41:02,774 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206) [java] 23:41:02,774 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi lter.java:96) [java] 23:41:02,774 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:235) [java] 23:41:02,774 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206) [java] 23:41:02,774 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:230) [java] 23:41:02,775 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:175) [java] 23:41:02,775 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit yAssociationValve.java:182) [java] 23:41:02,775 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica torBase.java:524) [java] 23:41:02,775 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv e.java:84) [java] 23:41:02,775 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:127) [java] 23:41:02,776 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:102) [java] 23:41:02,776 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC onnectionValve.java:157) [java] 23:41:02,776 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) [java] 23:41:02,776 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:262) [java] 23:41:02,776 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :844) [java] 23:41:02,777 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ss(Http11Protocol.java:583) [java] 23:41:02,777 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 6) [java] 23:41:02,777 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
I hope that I was well describing