7 Replies Latest reply on Sep 12, 2007 3:22 PM by shiva

    UseJBossWebLoader=false causes JSF to fail

    Norman Richards Master

      Setting UseJBossWebLoader to false (a recent change in 4.0.2) makes jboss-faces.war useless. I now have to copy all the JSF JARs to my WEB-INF/lib directory to work. Before this change, I only needed to copy myfaces-impl.jar over to pick up the taglibs. (We have the same problem with the JSTL taglibs - you need jstl.jar in your WEB-INF/lib to pick up the tld for the taglib)

      How is JSF supposed to work now? It seems jboss-faces.war is useless now.

        • 1. Re: UseJBossWebLoader=false causes JSF to fail
          Scott Stark Master

          jboss-faces.war is useless. It needs to be integrated as a library like everything else. I am doing this right now.

          • 2. Re: UseJBossWebLoader=false causes JSF to fail
            Scott Stark Master

            Myfaces is now integrated under the jbossweb-tomcat55.sar/jsf-libs dir in the 4.0 branch and the jsf integration test is passing. Try out any other jsf examples you might have.

            • 3. Re: UseJBossWebLoader=false causes JSF to fail
              Anil Kommareddi Newbie

              Hi Scott,
              jbossweb-tomcat55.sar/jsf-libs/myfaces-impl.jar is not part of the downloadable 4.0.2 distribution. Do we need to get it from someplace else?

              Thanks - Anil.

              • 4. Re: UseJBossWebLoader=false causes JSF to fail
                muru_vichu Newbie

                I am also facing some similar issues with myfaces-impl.jar..Is this bug also related to this..?
                Any help on how top solve this is ,uch appreciated

                TagLibCache] Failed to scan: jsf-libs/myfaces-impl.jar
                java.io.FileNotFoundException:
                /usr/local/collation/dist/external/jboss-4.0.2/server/default/deploy/jbossweb-tomcat55.sar/jsf-libs/myfaces-impl.jar
                at
                org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java:80)
                at
                org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:89)
                at

                Thanks
                Ciji

                • 5. Re: UseJBossWebLoader=false causes JSF to fail
                  Srinivasa Igur Newbie

                  Where do I find myfaces-impl.jar please? The JSP worked fine in 5..5.9 version of tomcat but have problems with 4.0.2

                  Thanks.

                  • 6. Re: UseJBossWebLoader=false causes JSF to fail
                    K Pup Newbie

                    this is still an issue. please inform.

                    10:37:16,390 DEBUG [TagLibCache] Scanning for tlds in: file:/C:/jboss/server/default/deploy/jbossweb-tomcat55.sar/jsf-libs/myfaces-impl.jar
                    10:37:16,390 DEBUG [TagLibCache] Failed to scan: jsf-libs/myfaces-impl.jar
                    java.io.FileNotFoundException: C:\jboss\server\default\deploy\jbossweb-tomcat55.sar\jsf-libs\myfaces-impl.jar
                    at org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java:80)
                    at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:89)
                    at org.jboss.web.tomcat.tc5.jasper.TagLibCache.scanJar(TagLibCache.java:309)
                    at org.jboss.web.tomcat.tc5.jasper.TagLibCache.loadStandardTlds(TagLibCache.java:229)
                    at org.jboss.web.tomcat.tc5.jasper.TagLibCache.init(TagLibCache.java:99)
                    at org.jboss.web.tomcat.tc5.jasper.TagLibCache.getLocation(TagLibCache.java:88)
                    at org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:519)
                    at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:417)
                    at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
                    at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
                    at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
                    at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
                    at org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
                    at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
                    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
                    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
                    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
                    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
                    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
                    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
                    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.jboss.portal.server.theme.LayoutDispatcher.execute(LayoutDispatcher.java:69)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:585)
                    at org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.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.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
                    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
                    at org.jboss.portal.server.theme.LayoutDispatcher.include(LayoutDispatcher.java:87)
                    at org.jboss.portal.core.servlet.CoreServlet.getLayoutAndDelegate(CoreServlet.java:271)
                    at org.jboss.portal.core.servlet.CoreServlet.render(CoreServlet.java:158)
                    at org.jboss.portal.server.servlet.AbstractMainServlet.invoke(AbstractMainServlet.java:81)
                    at org.jboss.portal.server.servlet.AbstractMainServlet.doGet(AbstractMainServlet.java:71)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.jboss.portal.core.servlet.TransactionFilter.doFilter(TransactionFilter.java:79)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.buildsecurityin.presentation.web.TranslationFilter.doFilter(TranslationFilter.java:472)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
                    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.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
                    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
                    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
                    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
                    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.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                    at java.lang.Thread.run(Thread.java:595)

                    • 7. Re: UseJBossWebLoader=false causes JSF to fail
                      shiva Newbie

                      I am also having same issue . we are not using jsf .
                      we are using 4.02 version of jboss

                      2007-09-12 14:51:58,276 DEBUG [org.jboss.web.tomcat.tc5.jasper.TagLibCache] Failed to scan: jsf-libs/myfaces-impl.jar
                      java.io.FileNotFoundException: C:\jboss-4.0.2\server\custom\deploy\jbossweb-tomcat55.sar\jsf-libs\myfaces-impl.jar
                      at org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java:80)
                      at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:89)
                      at org.jboss.web.tomcat.tc5.jasper.TagLibCache.scanJar(TagLibCache.java:309)
                      at org.jboss.web.tomcat.tc5.jasper.TagLibCache.loadStandardTlds(TagLibCache.java:229)
                      at org.jboss.web.tomcat.tc5.jasper.TagLibCache.init(TagLibCache.java:99)
                      at org.jboss.web.tomcat.tc5.jasper.TagLibCache.getLocation(TagLibCache.java:88)
                      at org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:519)
                      at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:417)
                      at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
                      at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
                      at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
                      at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
                      at org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
                      at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
                      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
                      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
                      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
                      at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
                      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
                      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
                      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                      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:301)
                      at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:238)
                      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:446)
                      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
                      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.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                      at java.lang.Thread.run(Thread.java:595)