?
Solved

Websphere 5.0 cache

Posted on 2006-10-24
2
Medium Priority
?
3,378 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 750 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

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

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

-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
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.…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month15 days, 2 hours left to enroll

770 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