1 Reply Latest reply on Jun 8, 2005 5:05 PM by Armen

    JBoss 4.0.2 FileNotFoundException

    Armen Newbie

      Hello,

      I would like to upgrade to version 4.0.2, and am trying to determine what changes are required of my application. When I access the login page of my application, I get a FileNotFoundException. This happens on both the Windows and Linux platforms. I am running with JDK 1.4.2. No such problems with identical codebase using JBoss 4.0.1. The stack trace is copied below. Any ideas?

      TIA,
      -Armen

      2005-06-07 12:20:02,044 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 37s:772ms
      2005-06-07 12:20:11,377 DEBUG [org.jboss.web.tomcat.tc5.jasper.TagLibCache] Scanning for tlds in: file:/C:/jboss-4.0.2/server/default/deploy/jbossweb-tomcat55.sar/jsf-libs/myfaces-impl.jar
      2005-06-07 12:20:11,377 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\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.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.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:534)

        • 1. Re: JBoss 4.0.2 FileNotFoundException - myfaces-impl.jar
          Armen Newbie

           

          "ayampols" wrote:
          Failed to scan: jsf-libs/myfaces-impl.jar
          java.io.FileNotFoundException:


          For anyone who's interested, commenting out the following block from <jboss_home>/server/<server config>/deploy/jbossweb-tomcat55.sar/conf/web.xml will prevent these error messages from cluttering your logs:

          <init-param>
           <description>MyFaces tlds</description>
           <param-name>tagLibJar0</param-name>
           <param-value>jsf-libs/myfaces-impl.jar</param-value>
          </init-param>


          Cheers,
          -Armen