yeungcm Posted August 18, 2021 Share Posted August 18, 2021 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-non-root-user-account-fails-permission-denied-errorshttps://community.jaspersoft.com/questions/841427/netsfehcachecacheexception-javaioioexception-permission-denied-thrown-whenThe 'jasperserver.failed' log is found in wildfly/standalone/deployments and attached. Please help. Thank you. Link to comment Share on other sites More sharing options...
rmeadows Posted August 25, 2021 Share Posted August 25, 2021 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now