1 Reply Latest reply on Mar 14, 2011 12:41 AM by mojtaba afshar

    problem with richfaces 3.3.x

    mojtaba afshar Newbie

      Hi,everybody

      I have a project that used myfaces1.1,Richfaces 3.1,facelets,... that run in IBM WebSphere 6.

      then I want to migrate it to WebSphere 7 and update Richface API to 3.3.3 Final (also update myfaces to 1.2).

      but I got an Error with richface even in Tomcat that occur in tag definition.

       

      /WEB-INF/tags/organization.tagx @10,61 <jsp:directive.attribute> Tag  Library supports namespace: http://java.sun.com/JSP/Page, but no tag was defined  for name: directive.attribute

       

      com.sun.facelets.tag.TagException: /WEB-INF/tags/organization.tagx @10,61 <jsp:directive.attribute> Tag Library supports namespace: http://java.sun.com/JSP/Page, but no tag was defined for name: directive.attribute

      at com.sun.facelets.compiler.CompilationManager.pushTag(CompilationManager.java:193)

      at com.sun.facelets.compiler.SAXCompiler$CompilationHandler.startElement(SAXCompiler.java:194)

      at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)

      at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)

      at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)

      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

      at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)

      at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)

      at javax.xml.parsers.SAXParser.parse(SAXParser.java:176)

      at com.sun.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:232)

      at com.sun.facelets.compiler.Compiler.compile(Compiler.java:105)

      at com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:218)

      at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:149)

      at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:293)

      at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:268)

      at com.sun.facelets.tag.UserTagHandler.apply(UserTagHandler.java:98)      at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)      at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:360)      at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:190)      at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:360)      at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:190)      at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)      at com.sun.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:109)      at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)      at com.sun.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:64)      at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:136)      at com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:337)      at com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:307)      at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)      at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)      at com.sun.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:109)      at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)      at org.ajax4jsf.webapp.taglib.EmptyHandler.apply(EmptyHandler.java:51)      at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)      at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:39)      at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)      at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)      at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)      at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:140)      at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:116)      at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)      at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:39)      at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)      at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:526)      at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:569)      at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)      at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)      at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)      at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)      at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)      at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)      at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)      at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)      at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:100)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)      at com.behsazan.corebanking.mis.web.filter.SecurityFilter.doFilter(SecurityFilter.java:54)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)      at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:100)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)      at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)      at java.lang.Thread.run(Thread.java:595)

       

      please help me.

      Thanks.