Solved

Websphere 5.0 cache

Posted on 2006-10-24
2
3,364 Views
Last Modified: 2013-12-10
We had a problem when we deployed the code yesterday. In the code we had the change the java class structure by moving one of the classes in a new pacakge, but we did not change anything in the jsp page that calls this tag class since we don't need to. Once we deployed the code we were seeing the old jsp page and we figured out the websphere did not clear the old jsp file from the cache that was compiled before and we had to delete that particular jsp's .class file in order for it to create the new one with new code. Is their a way to setup in webshpere that it does this automatically wheneveer we have this type of code change.
0
Comment
Question by:suketu9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 41

Accepted Solution

by:
HonorGod earned 250 total points
ID: 17807245
 You can delete the contents of the WebSphere/AppServer/temp directory.  It contains the compiled jsp page information (class files).  Since the class files won't exist in the cache, then a recompile of the jsp will occur.

  Alternatively, you can use the JSP Batch Compiler tool

http://publib.boulder.ibm.com/infocenter/wasinfo/v5r0/index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/ae/rweb_jspbchtl.html
0
 
LVL 41

Expert Comment

by:HonorGod
ID: 17961908
Good luck
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question