?
Solved

Websphere 5.0 cache

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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 …
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…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

850 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