PIM/PAM SC How-To: Clear JBoss Cache Files
search cancel

PIM/PAM SC How-To: Clear JBoss Cache Files


Article ID: 109062


Updated On:


CA Virtual Privilege Manager CA Privileged Identity Management Endpoint (PIM) CA Privileged Access Manager (PAM)


When changing some configurations related to JBoss you may be required to clear the cache folders before the changes will be properly picked up. This cache may also need to be cleared due to a variety of possible problems with JBoss.

JBoss stores a cache of information that is used frequently in the tmp & work folders. This includes information about configuration settings and also cached pieces of the webpage. The cache can sometimes keep the old information after you have modified it, making it seem like the change didn't complete successfully. In order to ensure the changes are picked up the cache should be cleared.


Any PIM or PAM SC versions that uses JBoss 4.2.3


  1. Stop the JBoss Service:
    • Linux: # /etc/init.d/jbossd stop
    • Windows: Stop JBoss from the Services Window
  2. Delete the 'tmp' & 'work' cache folders from:
    • Linux: <JBoss Home>/server/default
    • Windows: <JBoss Home>\server\default
  3. Start JBoss:
    • Linux: # /etc/init.d/jbossd start 
    • Windows: Start JBoss from the Services Window
  4. Allow 10-15 minutes for JBoss to fully complete the startup process. This startup will take longer than normal because JBoss needs to rebuild parts of the cache as it loads.

Additional Information

Default JBoss Home Locations:

Linux: /opt/jboss-4.2.3.GA/
Windows: C:\jboss-4.2.3.GA\