[ 
https://issues.apache.org/jira/browse/WW-5173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17550892#comment-17550892
 ] 

Yasser Zamani commented on WW-5173:
-----------------------------------

Hi [~jchaplin],

I took a look on your PR and I think that it matches documents and should work. 
However it's for long time ago but I remember that I also had same difficulties 
with CDI and I needed to debug. For example could you please evaluate

{code:java}
container.getInstance(ExpressionCacheFactory.class, 
container.getInstance(String.class,
                StrutsConstants.STRUTS_OGNL_EXPRESSION_CACHE_FACTORY)
{code}

and see if it's your plugged-in bean or no, still it's default bean?

> Implement additional OGNL cache configuration controls
> ------------------------------------------------------
>
>                 Key: WW-5173
>                 URL: https://issues.apache.org/jira/browse/WW-5173
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 6.0.0
>            Reporter: James Chaplin
>            Priority: Minor
>
> With Struts 2.6, there may be an opportunity to introduce some additional 
> OGNL cache configuration capabilities.  One idea is to provide an cache size 
> control, and a toggle for an LRU cache mode.  These configuration controls 
> could be applied to the expression cache and BeanInfo caches independently.
> The new properties could be optional, with the framework using a standard 
> default cache if the properties are not provided.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to