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

Bruno Wegmüller updated OFBIZ-5336:
-----------------------------------

    Description: 
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. 


  was:
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=Bar.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. 



> 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: SVN 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.1#6144)

Reply via email to