[jira] [Updated] (OFBIZ-5336) maxPostSize Property is not set by CatalinaContainer

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-5336) maxPostSize Property is not set by CatalinaContainer

Nicolas Malin (Jira)

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

Sharan Foga updated OFBIZ-5336:
-------------------------------
    Sprint: Bug Crush Event - 21/2/2015

> maxPostSize Property is not set by CatalinaContainer
> ----------------------------------------------------
>
>                 Key: OFBIZ-5336
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5336
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Trunk
>         Environment: unix, apache, ofbiz
>            Reporter: Bruno Wegmüller
>            Priority: Minor
>
> In ofbiz-containers.xml are several properties set, amongst others a property named maxPostSize to configure the maximum size of a post request in a connector (ajp, http, https). Changing this property doesn't influence the connector. The property is been set in the generic loop over all properties:
> {code:title=CatalinaContainer.java|borderStyle=solid}
> for (ContainerConfig.Container.Property prop: connectorProp.properties.values()) {
>                     connector.setProperty(prop.name, prop.value);
>                     //connector.setAttribute(prop.name, prop.value);
>                 }
> {code}
> I think its is necessary to set this parameter explicit for the connector. If you look at the API of the Class Connector, there are some setter methods beneath the setProperty Method. Due to a protected visibility i think the class IntrospectionUtils cannot access this setters and the properties won't be set.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)