0 Replies Latest reply on Sep 8, 2009 3:37 AM by johnbat26

    The body of the request is lost when you send the POST metho

    johnbat26

      Hello!
      I have a critical issue, most likely associated with JBossWeb-2.0.1.GA (Tomcat 5.5.X).
      ------------------------------
      My environment:
      OS: RHEL 5 x86 or x86-64;
      JVM: sun-jdk-1.6.0.16 or jrockit-R27.5.0-jdk1.6.0_03;
      AS: JBoss AS 4.2.2.GA (with Tomcat 5.5.X (JBossWeb-2.0.1.GA ) inside)

      ------------------------------
      I implemented web-service using apache xml-rpc 3.1.2.
      Then I call it from the http client. (apache httpclient 4.0).
      This my request:

      POST /cas-services-verimatrix-pull/pull HTTP/1.1
      Host: 10.20.2.150:8080
      Accept: */*
      Content-Type: text/xml
      Content-Length: 391
      
      <?xml version="1.0" encoding="UTF-8"?>
      <methodCall>
      <methodName>EISTMPull.getEntitlement</methodName>
      <params>
      <param><value><string>00020215B9FE</string></value></param>
      <param><value><base64>
      
      </base64></value></param>
      <param><value><array><data>
      <value><string>DTV</string></value>
      <value><string>PPV</string></value>
      </data></array></value></param>
      </params>
      </methodCall>



      This request is almost always handled properly.But sometimes the body of the HTTP request is lost and the server sends a reply, as if the request body is empty:
      HTTP/1.1 200 OK
      Server: Apache-Coyote/1.1
      X-Powered-By: Servlet 2.4; JBoss-4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA
      date=200710221139)/Tomcat-5.5
      Content-Type: text/xml
      Content-Length: 312
      Date: Fri, 07 Aug 2009 15:16:19 GMT
      
      <?xml version="1.0"?>
      <methodResponse>
      <fault>
      <value>
      <struct>
      <member>
      <name>faultString</name>
      <value>java.lang.NoSuchMethodException: ru.cti.oss.cas.verimatrix.pull.Pull.getEntitlement()</value>
      </member>
      <member>
      <name>faultCode</name>
      <value><int>0</int></value>
      </member></struct></value>
      </fault>
      </methodResponse>
      
      

      First used xml-rpc version 2, then I updated it to 3.1.2. Accordingly, the
      error must be at the level of tomcat.

      I fulfilled a lot of tests. This error does not depend on the load application
      server. Fortuitous. But because of this, our clients can not work normally.
      Therefore, I think this problem critical.

      Please, help with what could be wrong?
      https://issues.apache.org/bugzilla/show_bug.cgi?id=47797

      Thanks in advance.[/url]