Deployment of a JSF application leads to a FileNotFoundException
Issue
-
Getting
java.io.FileNotFoundException (Access is denied)when deploying a war file.Caused by: java.io.FileNotFoundException: C:\EAP7.0-web\standalone\tmp\vfs\temp\tempcfb0a07976273e8d\content-fd3a13f7a5ed828a\content-6313022850684656995.tmp (Access is denied) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) at java.io.FileInputStream.<init>(FileInputStream.java:138) at org.jboss.vfs.spi.RealFileSystem$1.run(RealFileSystem.java:111) at org.jboss.vfs.spi.RealFileSystem$1.run(RealFileSystem.java:109) at java.security.AccessController.doPrivileged(Native Method) at org.jboss.vfs.spi.RealFileSystem.doIoPrivileged(RealFileSystem.java:91) at org.jboss.vfs.spi.RealFileSystem.openInputStream(RealFileSystem.java:109) at org.jboss.vfs.VirtualFile.openStream(VirtualFile.java:259) at org.jboss.vfs.VirtualJarInputStream.openCurrent(VirtualJarInputStream.java:223) at org.jboss.vfs.VirtualJarInputStream.getNextJarEntry(VirtualJarInputStream.java:109) at org.jboss.vfs.VirtualJarInputStream.getNextJarEntry(VirtualJarInputStream.java:96) at org.jboss.vfs.VirtualJarInputStream.getNextEntry(VirtualJarInputStream.java:80) at com.sun.faces.facelets.util.Classpath.searchFromURL(Classpath.java:222) at com.sun.faces.facelets.util.Classpath.searchFromURL(Classpath.java:242) at com.sun.faces.facelets.util.Classpath.search(Classpath.java:156) at com.sun.faces.facelets.util.Classpath.search(Classpath.java:110) at com.sun.faces.config.configprovider.MetaInfFacesConfigResourceProvider.loadURLs(MetaInfFacesConfigResourceProvider.java:166) at
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.0.3
- Windows
- 7
- JSF
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.