Issue Description:
[toc on_off::hide=1]
If you are getting the following exception when running js-export as a non-root user on Linux, check the solution below.
Invocation of init method failed; nested exception is
net.sf.ehcache.CacheException: java.io.IOException: Permission denied
Resolution:
First, check the file:
buildomatic/conf_source/iePro/applicationContext-web-services.xml.
By default, it should contain the following properties:
property name="tempFolder" value="/temp"/
Check your system and see if /temp exists. If not, create a new folder named /temp.
Alternatively, if /tmp exists, you can change the configuration file using the value of /tmp.
Often, this error occurs because EHCache is trying to create a lock file called .ehcache-diskstore.lock in two folders, <tmpfolder>/main and <tmpfolder>/adhocCache, and the user executing js-export doesn't have write permissions to one or both folders. Check the permissions of the two folders to ensure the end user has write access, and run chmod if they do not.
Ref. Case #00031740
Recommended Comments
There are no comments to display.