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.  Deleting JSP cache

    Posted 02/27/15 01:02 PM
    Hi ,

    I was asked to clear JSP cache by delting the files under Profile_Home/temp/NodeName/ServerName/AppName/* . This needs to be done with every deployment and our deployments are scripted using jython. So wanted to know if there is a way to do this through wsadmin so that I can incorporate it in my scripts.

    Thanks in advance. 


  • 2.  Deleting JSP cache

    Posted 03/02/15 05:43 PM
    Hi,
    It is safe to clear the /temp folders. You should read this blog about it,

    Things to know before deleting temporary, cache and log files in WebSphere Application Server


    www.ibm.com/developerworks/community/blo...


    Wsadmin does not have an interface into the temp folders.




  • 3.  Deleting JSP cache

    Posted 03/09/15 03:01 AM
    Thanks a lot, the article was great.

    If you know, please answer  this one.  Does profile_root/temp recreated/cleared with each deployment. The reason behind me clearing the jsp cache was that,  the old jsp was being displayed after a successful deployment and restart of the jvm.




  • 4.  Deleting JSP cache

    Posted 03/10/15 06:39 PM
    It looks like the same question was asked on the blog entry and Kumaran answered it.

    Old JSP in the profile-root/temp will not get updated or removed during update or reinstall of the application.
    Please add
    com.ibm.websphere.deletejspclasses custom property
    in the nodeagent JVM process definition, save and sync the changes.

    For more information, please review the following links.
    www14.software.ibm.com/webapp/wsbroker/r...

    www-01.ibm.com/support/knowledgecenter/S...

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