I want to extend weblogic's 8.1 weblogic.cache.filter.CacheFilter to customise it with few added functionalities. I want to change the timeout of the cache filter at runtime, while the timeout of pages is defined in the web.xml's Filter elements tag.
The timeout of the page is defined in the Web.xml in the Filter Element. Is it possible to change the timeout or any parameter defined in web.xml at runtime ? can i get access of the webserver's implementation of the deployment descriptor i.e web.xml?
I don't think, that you can change web.xml at run time. Because web server reads it at the time of application deployment.
Again, it might be possible that web-server periodically read this file,it depends on web-server implementation. But i don't think so that web-server works in this way.
posted 14 years ago
Yes u r absolutely correct you cannot change the deployment descriptor at run time and server only reads it at start. But is there any possible way that i can access the Bean of the descriptor which could be dynamically updated. OR if i am voilating the apps server specs, then is there anyother way to change the timeout of the cache filter on runtime.