[ 
https://issues.apache.org/jira/browse/GERONIMO-5557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

viola.lu updated GERONIMO-5557:
-------------------------------

    Attachment: G5557_Refactor.patch

Use IntrospectionUtils.setProperty to set context attributes.
Now user can configure context attributes as below:
<ContextAttributes logEffectiveWebXml="true" useHttpOnly="true" 
cacheMaxSize="2410" cacheObjectMaxSize="512" cachingAllowed="true" 
unloadDelay="2000"></ContextAttributes>
All attributes can be setup but only some of them values change will be took 
into effect, others will logged into warning:
2010-09-19 16:43:48,859 WARN  [TomcatModuleBuilder] Only cacheMaxSize, 
cacheObjectMaxSize, cachingAllowed, cookies, crossContext, docBase, 
logEffectiveWebXml,unloadDelay,useHttpOnly,workDir context attributes can be 
set through geronimo-web.xml

Set context servlet parameters as below:
  <Parameter name="org.test" value="test" override="false"></Parameter>
they keep similar with tomcat context configuration way.

Pls review it, thanks.

> Add more context level configurations for Tomcat
> ------------------------------------------------
>
>                 Key: GERONIMO-5557
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5557
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.2.2, 3.0
>            Reporter: Ivan
>            Assignee: viola.lu
>         Attachments: G5557.patch, G5557_Refactor.patch
>
>
> In the latest Tomcat build, more paramter could be configured on the context 
> level
> A request thread in user-geronimo mail list : 
> http://osdir.com/ml/user-geronimo-apache/2010-08/msg00003.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to