1

I work on a Java EE application at work that deploys to Wildfly 9 final, and every other startup it throws a permissions error related to temporary files. This is very consistent, and is fixed by restarting Wildfly. To give a sample of the output:

Caused by: javax.faces.FacesException: java.io.FileNotFoundException: C:\\Application Servers\\wildfly-9.0.2.Final\\standalone\\tmp\\vfs\\temp\\tempae5804842caf81bd\\content-8ea30ac4d95617b7\\content-1681167519349174010.tmp (Access is denied)
Caused by: java.io.FileNotFoundException: C:\\Application Servers\\wildfly-9.0.2.Final\\standalone\\tmp\\vfs\\temp\\tempae5804842caf81bd\\content-8ea30ac4d95617b7\\content-1681167519349174010.tmp (Access is denied)"}}

Does anyone know the utility of these, and a way to stop this from happening? It's a recurring mild annoyance.

Will
  • 810
  • 6
  • 21

1 Answers1

2

Remove the lines below from your standalone.xml.

<extension module="org.jboss.as.jsf"/>
<subsystem xmlns="urn:jboss:domain:jsf:1.0"/>

It worked for me.

Joao Luiz Cadore
  • 2,656
  • 1
  • 15
  • 11