Deployment of JasperServer7.8.0 failed in Wildfly19.1.0


I had failed in running '' to install/deploy JasperReport Server to Wildfly due to 'net.sf.ehcache.CacheException: Permission denied'

I am using root account to run the installation script, and configured to my Wildfly location.

I also created 'tmp' folder in Wildfly directory and set '' to the folder location.

I had tried the following methods which cannot help:

The 'jasperserver.failed' log is found in wildfly/standalone/deployments and attached. 

Please help. Thank you.


yeungcm's picture
Joined: Aug 2 2021 - 11:23pm
Last seen: 3 months 1 week ago

1 Answer:


You have a permissions issue on the installation directory for the user you are running wildfly and jasper as.

 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Permission denied
    Caused by: net.sf.ehcache.CacheException: Permission denied
    Caused by: Permission denied\"}}"

It cannot create files for the caching system and probably other items. Check your installation directory permissions and make sure your user account has permissions on the dir structure.


rmeadows's picture
Joined: Feb 10 2016 - 8:00am
Last seen: 2 weeks 5 days ago