Mantis - Resin
Viewing Issue Advanced Details
28 minor always 03-11-05 00:00 11-30-05 14:44
user45  
 
high  
closed  
fixed  
none    
none 2.1.x  
0000028: jar-cache problem
RSN-19
We have still problems with the jar-cache. Since 2.1.14 resin runs unstable and NoClassDefFoundError were thrown casually.

It's still like my posted bugreport from 10.08.2004:
We have a problem with the jar-cache. On a server with many ( > 20) virtual hosts, some hosts get a NoClassDefFoundError of classes witch are located in /WEB-INF/lib/ or in a central lib directory for all hosts. The problem appears casual and is not reproduceable but it seems to depend on the number of jars included ( > 16). Once the problem occured we can solve it by reducing the jar files and recopy them - until restarting resin.
I think there is a correlation with the entry in the changelog:
Changelog 2.1.14: (2004-04-29) reduce jar cache to 16
Resin 2.1.16, Linux, IBMJava2-131

Notes
(0000033)
ferg   
03-11-05 00:00   
Jar.getSafeJarEntry needs to close and reopen jar when changes are detected.