Unable to process annotations for url - Reason: java.io.IOException: Permission denied in JBoss EAP 5.x

Solution Verified - Updated -

Issue

We are facing a Permission denied exception when deploying an application using JSF in the JBoss. Stacktrace is below:

2013-04-09 16:25:16,757 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (HDScanner) Unable to process annotations for url, vfszip:$JBOSS_HOME/server/default/deploy/MyApp.war/WEB-INF/lib/primefaces-3.3.1.jar/META-INF/faces-config.xml.  Reason: java.io.IOException: Permission denied
2013-04-09 16:25:16,757 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (HDScanner)
java.io.IOException: Permission denied
        at java.io.UnixFileSystem.createFileExclusively(Native Method)
        at java.io.File.checkAndCreate(File.java:1704)
        at java.io.File.createTempFile(File.java:1792)
        at java.io.File.createTempFile(File.java:1828)
        at sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:204)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:198)
        at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:50)
        at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:70)
        at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104)
        at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:71)

Environment

  • JBoss Enterprise Application Platform (EAP) 5.1.2
  • Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.