0

jetty6xでmaven cargo pluginを使用してアプリケーションを起動しました。HTTP/1.1 413 FULL head特定の依頼を受けます。より大きなサイズを指定する必要があることがわかりましたheaderBufferSize(リクエストヘッダーのサイズが大きいため)。それを貨物構成に提供する方法はありますか?

私の貨物構成:

<plugin>
    <groupId>org.codehaus.cargo</groupId>
    <artifactId>cargo-maven2-plugin</artifactId>
    <version>1.1.2</version>
    <configuration>
        <contextPath>/${jetty.admin.context}</contextPath>
        <container>
            <containerId>jetty6x</containerId>
            <type>embedded</type>
        </container>
        <configuration>
            <properties>
                <cargo.servlet.port>${jetty.port}</cargo.servlet.port>
            </properties>
            <deployables>
                <deployable>
                    <properties>
                        <context>/http</context>
                    </properties>
                    <groupId>xxx.xxx.server</groupId>
                    <artifactId>http</artifactId>
                    <type>war</type>
                </deployable>
            </deployables>
        </configuration>
        <wait>false</wait>
    </configuration>
    <executions>
        <execution>
            <id>start-container</id>
            <phase>pre-integration-test</phase>
            <goals>
                <goal>start</goal>
            </goals>
        </execution>
        <execution>
            <id>stop-container</id>
            <phase>post-integration-test</phase>
            <goals>
                <goal>stop</goal>
            </goals>
        </execution>
    </executions>
</plugin>
4

1 に答える 1