Hi Philippe, Just something I noticed hadn't been picked up in this thread. I think the .tld files have to go in WEB-INF/lib rather than WEB-INF or it won't be able to find them. Seems like it only digs into the Jars if you use .jspx.
Just might be worth trying if you want to stick to .jsp files. Cheers, Jim -- Jim Moores -----Original Message----- From: Philippe Lamote [mailto:[EMAIL PROTECTED] Sent: 23 February 2006 21:19 To: MyFaces Discussion Subject: Re: ADF installation setup: tld, jars and web.xml woes Thanks Felix. - I added all 4 taglibs to the web.xml. (f/h and af/afh) - I also "physically" added the afh & af tld files I found in the demo.war inside my WEB-INF (& adapted the pointers to them in my web.xml) - I added all 4 jars (JSF api/impl and Oracle api/impl) - I also added this shared lib anyway. Yet I stil get the same error. I replaced the RI libs with the MyFaces API/Impl jars, this had as effect the Web app wouldn't even start. With the RI jars, at least it tries to start; the last thing I see before the login page -almost- loads, it its valid "title" declared in the html head. Then I get this one: org.apache.jasper.JasperException: /WEB-INF/resources/pages/ loginPage.jsp(7,54) Could not add one or more tag libraries. org.apache.jasper.compiler.DefaultErrorHandler.jspError (DefaultErrorHandler.java:39) org.apache.jasper.compiler.ErrorDispatcher.dispatch (ErrorDispatcher.java:405) org.apache.jasper.compiler.ErrorDispatcher.jspError (ErrorDispatcher.java:86) org.apache.jasper.compiler.JspDocumentParser.parse (JspDocumentParser.java:211) org.apache.jasper.compiler.ParserController.doParse (ParserController.java:196) org.apache.jasper.compiler.ParserController.parse (ParserController.java:100) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146) org.apache.jasper.compiler.Compiler.compile(Compiler.java:286) org.apache.jasper.compiler.Compiler.compile(Compiler.java:267) org.apache.jasper.compiler.Compiler.compile(Compiler.java:255) org.apache.jasper.JspCompilationContext.compile (JspCompilationContext.java:563) org.apache.jasper.servlet.JspServletWrapper.service (JspServletWrapper.java:293) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java: 314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) com.sun.faces.context.ExternalContextImpl.dispatch (ExternalContextImpl.java:322) com.sun.faces.application.ViewHandlerImpl.renderView (ViewHandlerImpl.java:130) oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView (ViewHandlerImpl.java:159) com.sun.faces.lifecycle.RenderResponsePhase.execute (RenderResponsePhase.java:87) com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200) com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117) javax.faces.webapp.FacesServlet.service(FacesServlet.java:198) oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter( AdfFacesFilterImpl.java:279) oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl (AdfFacesFilterImpl.java:248) oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter (AdfFacesFilterImpl.java:172) oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter (AdfFacesFilter.java:80) 2/ What libraries need to be in WEB-INF/lib? The Oracle site says 'dependencies are JSF & some adfshare.lib'. Elsewhere I reed this last sharelib is no longer required. Does this mean the jsf-api & jsf-impl -.jars need to be added? All of them. For me, it didn't work without the adfshare.jar. 3/ What tlds need to be added? Do the oracle api/impl-jars include the JSF h/f *taglibs* as well? I read somewhere they include the af- & afh- taglibs in their jars so no need to 1/ explicitely declare them in the web.xml and 2/ add them to WEB-INF. Is this correct & the same for the jsf f/h taglibs? <<< They are included in the jars, but I did not manage to configure it right to let them be found automatically. So I put them next to the web.xml. The above works, but I'm not glad with it, because some stuff shouldn't be necessary. Frank Felix

