tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 51717] New: Provide a way to disable EL cache
Date Wed, 24 Aug 2011 17:01:08 GMT

             Bug #: 51717
           Summary: Provide a way to disable EL cache
           Product: Tomcat 7
           Version: 7.0.19
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Servlet & JSP API
    Classification: Unclassified

When developing with tcServer in SpringSource STS I occasionally use the
"Enable Java Agent-based reloading" feature which enables in place class
reloading of changes such as method signatures, etc.

When using this feature I'm running into an issue where it appears
tcServer/Tomcat is caching the reflection results when using EL
(javax.el.BeanELResolver.ConcurrentCache<K, V>).  This is forcing me to restart
my server even though STS agent reloading successfully reloaded the class.  It
would be nice if Tomcat supported the ability to turn off the EL Reflection
cache.  I noticed the org.apache.el.BeanELResolver.CACHE_SIZE but setting this
value to 0 still caches results in a WeakHashMap.

It would be nice if it were possible to completely disable this cache perhaps
by setting org.apache.el.BeanELResolver.CACHE_SIZE=-1?


Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message