Bruno Wegmüller created OFBIZ-5336:
--------------------------------------
Summary: 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=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.
--
This message was sent by Atlassian JIRA
(v6.1#6144)