Solved

Websphere 5.0 cache

Posted on 2006-10-24
2
3,350 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
Comment Utility
 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
Comment Utility
Good luck
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
JTable - Group/UnGroup/Drag&Drop 2 85
spring AOP 6 71
xyzMiddle java challenge 33 92
Java concurrency in pictures ( or animations ) 1 88
-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 …
Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

762 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

13 Experts available now in Live!

Get 1:1 Help Now