2012-02-14 7 views
0

jetty6xでmaven cargo pluginを使用してアプリケーションを起動しました。私は特定の要求に対してHTTP/1.1 413 FULL headを取得します。私はより大きなheaderBufferSize(大きな要求ヘッダーサイズのため)を指定する必要があることを知りました。それを貨物構成に提供する方法はありますか?Maven cargo jetty6x:Jettyの設定を追加することは可能ですか?

私の貨物構成:

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

答えて

1

はあなたが

this postを参照してください貨物プラグインの構成では、彼らは

<configuration><configfiles>... 

の下に行く追加の設定ファイルとディレクトリを指定したいですまたはcargo siteです。

関連する問題