Answer by EvernFong (7005) | Aug 24, 2015 at 12:55 AM
You can set the -Xshareclasses option in generic JVM arguments
within the (TIPHOME)/profiles/TIPProfile/config/cells/TIPCell/nodes/TIPNode/servers/server1 server.xml of the eWAS server. By using the sub-option, it's
possible to change the cache location, or even disable the function to
prevent storing any cache in /tmp/javasharedresources by restarting the
JVM with this option.
-Xshareclasses:none
There's a typo in the argument posted at the bottom: it's -Xshareclasses:none to disable the class cache altogether.
Thanks Michael, I had edited the typo in the Answer.
Added additional reference:
following URL has details on customizing -Xshareclasses:
https://www.ibm.com/support/knowledgecenter/en/SSYKE2_7.0.0/com.ibm.java.zos.70.doc/diag/appendixes/cmdline/Xshareclasses.html
few things to note :
the -Xshareclasses:none argument to disable class sharing for a JVM process. Class sharing enables multiple JVM processes to share classes that were previously loaded and stored in the cache. The cache resides in shared memory and persists across JVM restarts. All WebSphere Application Server processes that run on JVMs, such as application servers, node agents, and deployment managers, can use class sharing to improve startup time and reduce memory footprint.
following suboptions with the -Xshareclasses option:
cacheDir=
Sets the directory in which cache data is read and written. By default, is /tmp/javasharedresources on Linux, AIX®, z/OS®, and IBM® i. You must have sufficient permissions in . Nonpersistent caches are stored in shared memory and have control files that describe the location of the memory. Control files are stored in a javasharedresourcessubdirectory of the cacheDir specified. Do not move or delete control files in this directory. The listAllCaches utility, the destroyAll utility, and the expire suboption work only in the scope of a given cacheDir.
Following is the link provides details on changing the Java virtual machine (JVM) configuration settings of a process for an application server, Dmgr and Node agent
How to make an old snapshot in BPM / Process Designer become the tip again? 4 Answers
I cannot login to WebGUI when my LDAP configuration changes 2 Answers
How can I find Common Vulnerability Exposure(CVE) bulletins for TIP? 1 Answer
Will Tivoli Integrated Portal ever include eWAS 7.0.0.39? 1 Answer
Active user login's connection count 1 Answer