Deployment of JasperServer7.8.0 failed in Wildfly19.1.0

0

I had failed in running 'js-install-ce.sh' to install/deploy JasperReport Server to Wildfly due to 'net.sf.ehcache.CacheException: java.io.IOException: Permission denied'

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

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

I had tried the following methods which cannot help:

https://community.jaspersoft.com/wiki/executing-js-upgrade-newdbsh-under...

https://community.jaspersoft.com/questions/841427/netsfehcachecacheexcep...

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

Please help. Thank you.

 

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

1 Answer:

0

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: java.io.IOException: Permission denied
    Caused by: net.sf.ehcache.CacheException: java.io.IOException: Permission denied
    Caused by: java.io.IOException: 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.

Thanks.

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