On Feb 29, 2008, at 1:55 AM, Jan Kriesten wrote:

>
> hi,
>
> i'm not sure if this is a resin/classloader issue or is hidden more  
> deeply in
> the java runtime environment.
>
> if i load a resource to a class (e.g. a html or xml file) from a jar  
> via
> getResourceAsStream() - the file is cached even when the jar is  
> modified and the
> webapp reloaded!

Which version of Resin is this with?  There were some changes to the  
classloader in 3.1.5, so it would be helpful to know if this is new or  
an old issue.

(Although, it's odd that a web-app restart would have this issue,  
unless the class/file was from a parent classloader that didn't  
restart.)

-- Scott

>
>
> i have to fully restart resin to get the updated files from the jar.
>
> is there any config parameter to enforce reloading of resources  
> instead of
> caching them?
>
> best regards, --- jan.
>
>
>
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to