https://issues.apache.org/bugzilla/show_bug.cgi?id=47797

           Summary: The body of the request is lost when you send the POST
                    method !
           Product: Tomcat 5
           Version: Unknown
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: johnba...@gmail.com


--- Comment #0 from Eugene <johnba...@gmail.com> 2009-09-08 00:25:08 PDT ---
Hello!
I have a critical issue, most likely associated with 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:&#32;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?

Thanks in advance.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to