WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  clear OSGI and class cache for a JVM

    Posted 05/20/14 04:09 PM
    Is there a way to clear OSGI and class cache at a jvm level? I found an article that can do this at a node level, but I have only one jvm that is affected and cannot stop others to do so.

    Here is the Technote I am refering to

    www-01.ibm.com/support/docview.wss?uid=s...


  • 2.  clear OSGI and class cache for a JVM

    Posted 05/21/14 01:25 PM
    Hi,

      I think that is not possible

     You should not delete the cache while any of the JVM's are running and using the cache. The server has to be stopped before clearing the cache

      The reason al servers share the same JVM

        You can launch the command:

       java -Xshareclasses:listAllCaches

     
    regards