patricio.bermudez Posted November 25, 2020 Share Posted November 25, 2020 Hello Community, I contact with you because I have a problem when I try to startup the Tomcat Service in our production environment. The error that appear is the following:Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adhocCacheManager' defined in ServletContext resource [/WEB-INF/applicationContext-datarator.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: java.io.FileNotFoundException: D:JS62apache-tomcat-7.0.55tempadhocCache.ehcache-diskstore.lock (Access is denied)I atached the log that appear in the CMD after execute de file startup in the folder bin: Link to comment Share on other sites More sharing options...
vchiem Posted December 1, 2020 Share Posted December 1, 2020 Looks like a permissions problem with the user starting tomcat. Access to the temp directory is needed. You can delete subdirectories: main, buffer, adhocCache and try again. 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