Solved

Websphere 5.0 cache

Posted on 2006-10-24
2
3,355 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
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.…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

867 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now