tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51717] New: Provide a way to disable EL cache
Date Wed, 24 Aug 2011 17:01:08 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51717

             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
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: youngm@gmail.com
    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?

Mike

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message