2012-02-14 3 views
0

jetty6x와 함께 maven cargo plugin을 사용하여 응용 프로그램을 시작했습니다. 특정 요청에 대해서는 HTTP/1.1 413 FULL head이됩니다. 나는 큰 요청 헤더 크기로 인해 더 큰 headerBufferSize을 지정해야한다는 것을 알았다. 화물 구성에 제공 할 수있는 방법이 있습니까?Maven cargo jetty6x : 추가 부두 구성을 제공 할 수 있습니까?

내화물 구성 :

<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

당신은 추가 구성 파일과 그들이화물 플러그인의 구성에

<configuration><configfiles>... 

에서 이동 디렉토리

this post 참조를 지정하려면 또는 cargo site

관련 문제