You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Adrian Crum (JIRA)" <ji...@apache.org> on 2013/10/04 14:02:41 UTC

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

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

Adrian Crum commented on OFBIZ-5336:
------------------------------------

This has been discussed in the past:

http://ofbiz.135035.n4.nabble.com/CatalinaContainer-majorly-broken-td3748683.html

If anyone would like to refactor the implementation, that would be wonderful.


> 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)