1 Reply Latest reply on May 6, 2016 2:50 AM by Ben Gao

    jboss 7 Any client request that provides a Expect: 100-continue header fails to get a response

    Ben Gao Novice

      when Any client request that provides a Expect: 100-continue header fails to get a response

      I use jboss 7.2.0.final

      jdk version:java version "1.7.0_79"   Java(TM) SE Runtime Environment (build 1.7.0_79-b15)

      016-05-06 12:26:10,029 [web-container-thread-13] INFO ClientServiceServlet - Client request, path:/xxx/clientService/applyCard

      2016-05-06 12:26:10,029 [web-container-thread-13] INFO ClientServiceServlet - Http Header:expect:100-continue

      content-length:2754

      content-type:application/x-www-form-urlencoded; charset=UTF-8

      host:146.240.25.xx:222

      connection:Keep-Alive

      user-agent:Apache-HttpClient/4.5.1 (Java/1.7.0_80)

       

       

      2016-05-06 12:26:10,239 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/xxxx].[clientService]] (web-container-thread-13) JBWEB000236: Servlet.service() for servlet clientService threw exception: java.nio.BufferOverflowException

      at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:357) [rt.jar:1.7.0_79]

      at org.apache.coyote.http11.InternalNioOutputBuffer.commit(InternalNioOutputBuffer.java:669) [jbossweb-7.4.0.Final.jar:7.4.0.Final]

      at org.apache.coyote.http11.Http11NioProcessor.commit(Http11NioProcessor.java:480) [jbossweb-7.4.0.Final.jar:7.4.0.Final]

      at org.apache.coyote.http11.Http11NioProcessor.action(Http11NioProcessor.java:798) [jbossweb-7.4.0.Final.jar:7.4.0.Final]

      at org.apache.coyote.Response.action(Response.java:190) [jbossweb-7.4.0.Final.jar:7.4.0.Final]

      at org.apache.coyote.Response.sendHeaders(Response.java:390) [jbossweb-7.4.0.Final.jar:7.4.0.Final]

      at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:352) [jbossweb-7.4.0.Final.jar:7.4.0.Final]

      at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:333) [jbossweb-7.4.0.Final.jar:7.4.0.Final]

      at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95) [jbossweb-7.4.0.Final.jar:7.4.0.Final]

      at com.gd.xxxx.xxxx.ClientServiceServlet.doPost(ClientServiceServlet.java:167) [classes:]

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.2.Final.jar:1.0.2.Final]

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final.jar:1.0.2.Final]

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.4.0.Final.jar:7.4.0.Final]

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.4.0.Final.jar:7.4.0.Final]

      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.4.0.Final.jar:7.4.0.Final]

      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.4.0.Final.jar:7.4.0.Final]

      at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.2.0.Final.jar:7.2.0.Final]

      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.4.0.Final.jar:7.4.0.Final]

      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-hack-7.2.0.Final.jar:7.4.0.Final]

      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.4.0.Final.jar:7.4.0.Final]

      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:340) [jbossweb-7.4.0.Final.jar:7.4.0.Final]

      at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:353) [jbossweb-7.4.0.Final.jar:7.4.0.Final]

      at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:911) [jbossweb-7.4.0.Final.jar:7.4.0.Final]

      at org.apache.tomcat.util.net.NioEndpoint$ChannelProcessor.run(NioEndpoint.java:930) [jbossweb-7.4.0.Final.jar:7.4.0.Final]

      at org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:33)

      at org.jboss.threads.QueueExecutor.runTask(QueueExecutor.java:808)

      at org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:45)

      at org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:849)

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]

      at org.jboss.threads.JBossThread.run(JBossThread.java:122)