Endevor Web Services: CacheDir for Tomcat
search cancel

Endevor Web Services: CacheDir for Tomcat

book

Article ID: 404829

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

Site run multiple tomcat tasks over 6 Lpars for a single Endevor instance, and sysprogs would prefer not to write Tomcat cache data to /tmp/javasharedresources/ and would like a separate cache directory for each Lpar.  How to set it up ? 

Environment

Endevor v19

Resolution

Update WSTOMENV JVM options for each Tomcat and add:

IJO="$IJO -Xshareclasses:name=cache1_%u,cacheDir=<directory>,nonfatal"  

Note: 

  • Do not set the cache directory on a shared mount across systems or LPARs.
  • Make sure the Tomcat ID has READ and WRITE permission to cache directory. 

Recycle Tomcat after the change.