*
The moose likes Websphere and the fly likes Does Webshpere App Server 6.1 cache jar files? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Does Webshpere App Server 6.1 cache jar files?" Watch "Does Webshpere App Server 6.1 cache jar files?" New topic
Author

Does Webshpere App Server 6.1 cache jar files?

Richard Vagner
Ranch Hand

Joined: Jun 26, 2001
Posts: 107
Hello,

Does anyone know if Webshpere App server 6.1 caches jar files? If so where are they cached? I know where it caches jsp files.

Thanks,
Rich
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

WebSphere just loads the class files into memory.

An ear file is extracted and the files are placed uncompressed on the file system. But that's more temporary storage than a cache.

Are you having a ClassNotFoundException or something of the sort? Changes not being incorporated after deployment?

-Cameron McKenzie
Richard Vagner
Ranch Hand

Joined: Jun 26, 2001
Posts: 107
Hi Cameron McKenzie,

Thanks for your reply.

Our Websphere app server has recently been upgraded to version 6.1.0.21 on both Dev and QA. One of our apps on DEV failed after the upgrade -- I should say the app was ok initially after the server upgrade and the problem only occurred after we edited an simply jsp page and redeployed the app to the DEV server. We found that an older version of a jar file causes the problem in upgraded server environment and problem resolved after we replace the jar file with a new one.


So after QA server was upgraded to the version 6.1.0.21, I expected that app on QA to fail because of that jar file. But it didn't fail. I have the same package (old jar file in it) redeployed to QA server and the app still worked. I am a bit puzzled by that. That is why I am wondering if cache may play a part in this?

Thanks a lot,
Rich
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Does Webshpere App Server 6.1 cache jar files?
 
Similar Threads
conflicting jar files and .dll
jdbc error at runtime - org.postgresql.Driver
Error while downloading large files from FTP
sas.jar and wssec.jar missing from was 6.1 install
how to build / deploy using jboss?