java.io.FileNotFoundException: C:\Program%20Files\MyAppLib\myJar.jar (Das System kann den angegebenen Pfad nicht finden.)

ICEsoft JIRA Issue Tracker | Carsten Bansemir | 3 years ago
  1. 0

    There is a bug in the method com.sun.facelets.uitl.Classpath#getAlternativeJarFile(java.net.URL) that causes a FileNotFoundException when referencing Jars in folders containing blanks in the name. the problem only appears on WebSphere 8.5 (coudn't reproduce it on WebSphere 7) This bug is already resolved in the Standard Facelets RI in Version 1.1.15 (see: https://java.net/jira/browse/FACELETS-306) In the icefaces-facelets.jar of the current ICEfacesEE 1.8.2 GA_P07 the bug still exists. When I call my application following exception occurs: [13.02.14 10:37:00:352 CET] 000000ca compiler E Compiler Initialization Error java.io.FileNotFoundException: C:\Program%20Files\MyAppLib\myJar.jar (Das System kann den angegebenen Pfad nicht finden.) at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:151) at java.util.jar.JarFile.<init>(JarFile.java:150) at java.util.jar.JarFile.<init>(JarFile.java:87) at com.sun.facelets.util.Classpath.getAlternativeJarFile(Classpath.java:214) at com.sun.facelets.util.Classpath.search(Classpath.java:71) at com.sun.facelets.compiler.TagLibraryConfig.loadImplicit(TagLibraryConfig.java:428) at com.sun.facelets.compiler.Compiler.initialize(Compiler.java:91) at com.sun.facelets.compiler.Compiler.compile(Compiler.java:108) 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.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:100) at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:269) at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:157) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:51) at com.icesoft.faces.context.View$2$1.respond(View.java:86) at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:242) at com.icesoft.faces.context.View$2.serve(View.java:120) at com.icesoft.faces.context.View.servePage(View.java:193) at com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:139) at com.icesoft.faces.webapp.http.common.ServerProxy.service(ServerProxy.java:43) at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet$4.service(MainSessionBoundServlet.java:187) at com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:51) at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:55) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:106) at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:55) at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:204) at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478) at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1071) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:909) at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)

    ICEsoft JIRA Issue Tracker | 3 years ago | Carsten Bansemir
    java.io.FileNotFoundException: C:\Program%20Files\MyAppLib\myJar.jar (Das System kann den angegebenen Pfad nicht finden.)
  2. 0

    There is a bug in the method com.sun.facelets.uitl.Classpath#getAlternativeJarFile(java.net.URL) that causes a FileNotFoundException when referencing Jars in folders containing blanks in the name. the problem only appears on WebSphere 8.5 (coudn't reproduce it on WebSphere 7) This bug is already resolved in the Standard Facelets RI in Version 1.1.15 (see: https://java.net/jira/browse/FACELETS-306) In the icefaces-facelets.jar of the current ICEfacesEE 1.8.2 GA_P07 the bug still exists. When I call my application following exception occurs: [13.02.14 10:37:00:352 CET] 000000ca compiler E Compiler Initialization Error java.io.FileNotFoundException: C:\Program%20Files\MyAppLib\myJar.jar (Das System kann den angegebenen Pfad nicht finden.) at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:151) at java.util.jar.JarFile.<init>(JarFile.java:150) at java.util.jar.JarFile.<init>(JarFile.java:87) at com.sun.facelets.util.Classpath.getAlternativeJarFile(Classpath.java:214) at com.sun.facelets.util.Classpath.search(Classpath.java:71) at com.sun.facelets.compiler.TagLibraryConfig.loadImplicit(TagLibraryConfig.java:428) at com.sun.facelets.compiler.Compiler.initialize(Compiler.java:91) at com.sun.facelets.compiler.Compiler.compile(Compiler.java:108) 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.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:100) at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:269) at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:157) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:51) at com.icesoft.faces.context.View$2$1.respond(View.java:86) at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:242) at com.icesoft.faces.context.View$2.serve(View.java:120) at com.icesoft.faces.context.View.servePage(View.java:193) at com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:139) at com.icesoft.faces.webapp.http.common.ServerProxy.service(ServerProxy.java:43) at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet$4.service(MainSessionBoundServlet.java:187) at com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:51) at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:55) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:106) at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:55) at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:204) at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478) at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1071) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:909) at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)

    ICEsoft JIRA Issue Tracker | 3 years ago | Carsten Bansemir
    java.io.FileNotFoundException: C:\Program%20Files\MyAppLib\myJar.jar (Das System kann den angegebenen Pfad nicht finden.)
  3. 0

    Mod - Bug lancement modpack 1.7.10 | Minecraft.fr

    minecraft.fr | 1 year ago
    java.io.FileNotFoundException: C:\Users\justin\AppData\Roaming\.minecraft\mods\1.7.10\ForgeMultipart-1.7.10-1.1.2.331-universal.jar (Le fichier spécifié est introuvable) at java.util.zip.ZipFile[URL='http://minecraft.fr/forum/#63475978'] open[IMG]http://cdncache-a.akamaihd.net/items/it/img/arrow-10x10.png[/IMG][/URL](Native Method) ~[?:1.8.0_31]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Sonar Analysis issue : Too many open files

    Stack Overflow | 12 months ago | Kalpesh Thavrani
    java.lang.IllegalStateException: Can not create ClassLoader
  6. 0

    KaryonGuiceContextListener chokes when war filename contains "#"

    GitHub | 2 years ago | nfriedly
    java.lang.IllegalStateException: java.io.FileNotFoundException: /usr/local/apache-tomcat-7.0.57/webapps/watson-dashboard%23ui/WEB-INF/lib/archaius-core-0.6.0.jar (No such file or directory)

  1. treefolk 1 times, last 2 weeks ago
  2. stigkj 251 times, last 3 weeks ago
  3. andyglick 1 times, last 1 month ago
  4. marcbouvierdav 4 times, last 2 months ago
  5. marcbouvierdav 4 times, last 2 months ago
1 more registered users
4 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.FileNotFoundException

    C:\Program%20Files\MyAppLib\myJar.jar (Das System kann den angegebenen Pfad nicht finden.)

    at java.util.zip.ZipFile.open()
  2. Java RT
    JarFile.<init>
    1. java.util.zip.ZipFile.open(Native Method)
    2. java.util.zip.ZipFile.<init>(ZipFile.java:151)
    3. java.util.jar.JarFile.<init>(JarFile.java:150)
    4. java.util.jar.JarFile.<init>(JarFile.java:87)
    4 frames
  3. Facelets
    DefaultFaceletFactory.getFacelet
    1. com.sun.facelets.util.Classpath.getAlternativeJarFile(Classpath.java:214)
    2. com.sun.facelets.util.Classpath.search(Classpath.java:71)
    3. com.sun.facelets.compiler.TagLibraryConfig.loadImplicit(TagLibraryConfig.java:428)
    4. com.sun.facelets.compiler.Compiler.initialize(Compiler.java:91)
    5. com.sun.facelets.compiler.Compiler.compile(Compiler.java:108)
    6. com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:218)
    7. com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:149)
    8. com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:100)
    8 frames
  4. com.icesoft.faces
    D2DViewHandler.renderView
    1. com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:269)
    2. com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:157)
    2 frames
  5. JSF
    LifecycleImpl.render
    1. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
    2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
    3. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    3 frames
  6. com.icesoft.faces
    MainServlet.service
    1. com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:51)
    2. com.icesoft.faces.context.View$2$1.respond(View.java:86)
    3. com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:242)
    4. com.icesoft.faces.context.View$2.serve(View.java:120)
    5. com.icesoft.faces.context.View.servePage(View.java:193)
    6. com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:139)
    7. com.icesoft.faces.webapp.http.common.ServerProxy.service(ServerProxy.java:43)
    8. com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet$4.service(MainSessionBoundServlet.java:187)
    9. com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:51)
    10. com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:55)
    11. com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:106)
    12. com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:55)
    13. com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:204)
    13 frames
  7. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
    1 frame
  8. WebSphere
    WSWebContainer.handleRequest
    1. com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
    2. com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
    3. com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
    4. com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
    5. com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1071)
    6. com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
    7. com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:909)
    8. com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
    8 frames
  9. com.ibm.ws
    WCChannelLink.ready
    1. com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
    1 frame
  10. WebSphere
    AioReadCompletionListener.futureCompleted
    1. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
    2. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
    3. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
    4. com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
    5. com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
    5 frames
  11. com.ibm.io
    ResultHandler$2.run
    1. com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
    2. com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
    3. com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
    4. com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
    5. com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
    6. com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
    6 frames
  12. com.ibm.ws
    ThreadPool$Worker.run
    1. com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)
    1 frame