Jump to content

Deployment of JasperServer7.8.0 failed in Wildfly19.1.0


yeungcm

Recommended Posts

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-errors

https://community.jaspersoft.com/questions/841427/netsfehcachecacheexception-javaioioexception-permission-denied-thrown-when

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

Please help. Thank you.

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...