Hi Charitha, We figured out that this had been a regression due to a kernel patch - patch0007. Commit revision is r200946. Thanks IsuruU for the assistance.
@Manoj, please revert this patch urgently since it causes a 202 Accepted to be sent for all tenant requests and drops the response body. Thanks, NuwanD. On Wed, May 7, 2014 at 3:53 AM, Charitha Kankanamge <[email protected]>wrote: > Thanks Sanjeewa. MSSQL related blockers are fixed in this pack. Verified > the jiras. > However, there is a critical MT failure which can be reproduced in a fresh > pack as well. > > When you invoke an API in a tenant, the response is not returned. Given > below is the wire log. As you can see, the response is not sent back. > Client always gets http 202 acknowledgement instead of the actual response. > Basically MT is broken. > > Note that the same API works with the same backend in super tenant mode. > So this must be a MT regression. > > [2014-05-07 03:25:31,891] DEBUG - wire >> "POST > /t/superqa.com/axis2API/v1HTTP/1.1[\r][\n]" > [2014-05-07 03:25:31,892] DEBUG - wire >> "Connection: close[\r][\n]" > [2014-05-07 03:25:31,893] DEBUG - wire >> "Accept-Encoding: > gzip,deflate[\r][\n]" > [2014-05-07 03:25:31,894] DEBUG - wire >> "Content-Type: > text/xml;charset=UTF-8[\r][\n]" > [2014-05-07 03:25:31,894] DEBUG - wire >> "SOAPAction: > "urn:echoString"[\r][\n]" > [2014-05-07 03:25:31,895] DEBUG - wire >> "Authorization: Bearer > 4636d529ea62b726e312a53794dccf36[\r > ][\n]" > [2014-05-07 03:25:31,896] DEBUG - wire >> "Content-Length: 307[\r][\n]" > [2014-05-07 03:25:31,896] DEBUG - wire >> "Host: 10.0.0.2:8280[\r][\n]" > [2014-05-07 03:25:31,897] DEBUG - wire >> "User-Agent: > Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]" > [2014-05-07 03:25:31,897] DEBUG - wire >> "[\r][\n]" > [2014-05-07 03:25:31,898] DEBUG - wire >> "<soapenv:Envelope > xmlns:soapenv="http://schemas.xmlsoap.o > rg/soap/envelope/" xmlns:ser="http://service.carbon.wso2.org">[\r][\n]" > [2014-05-07 03:25:31,898] DEBUG - wire >> " <soapenv:Header/>[\r][\n]" > [2014-05-07 03:25:31,899] DEBUG - wire >> " <soapenv:Body>[\r][\n]" > [2014-05-07 03:25:31,899] DEBUG - wire >> " <ser:echoString>[\r][\n]" > [2014-05-07 03:25:31,899] DEBUG - wire >> " > <!--Optional:-->[\r][\n]" > [2014-05-07 03:25:31,900] DEBUG - wire >> " > <ser:s>test</ser:s>[\r][\n]" > [2014-05-07 03:25:31,900] DEBUG - wire >> " </ser:echoString>[\r][\n]" > [2014-05-07 03:25:31,901] DEBUG - wire >> " </soapenv:Body>[\r][\n]" > [2014-05-07 03:25:31,901] DEBUG - wire >> "</soapenv:Envelope>" > [2014-05-07 03:25:31,917] INFO - LogMediator To: > local://axis2services/axis2API/v1, WSAction: urn:e > choString, SOAPAction: urn:echoString, MessageID: > urn:uuid:AE969D38832DDA67D11399413331911, Directio > n: request, Envelope: <?xml version="1.0" > encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http:// > schemas.xmlsoap.org/soap/envelope/" xmlns:ser=" > http://service.carbon.wso2.org"><soapenv:Body> > <ser:echoString> > <!--Optional:--> > <ser:s>test</ser:s> > </ser:echoString> > </soapenv:Body></soapenv:Envelope> > [2014-05-07 03:25:31,929] DEBUG - wire << "POST /services/Axis2Service > HTTP/1.1[\r][\n]" > [2014-05-07 03:25:31,930] DEBUG - wire << "Accept-Encoding: > gzip,deflate[\r][\n]" > [2014-05-07 03:25:31,930] DEBUG - wire << "Content-Type: > text/xml;charset=UTF-8[\r][\n]" > [2014-05-07 03:25:31,930] DEBUG - wire << "SOAPAction: > "urn:echoString"[\r][\n]" > [2014-05-07 03:25:31,931] DEBUG - wire << "Transfer-Encoding: > chunked[\r][\n]" > [2014-05-07 03:25:31,931] DEBUG - wire << "Host: localhost:9764[\r][\n]" > [2014-05-07 03:25:31,931] DEBUG - wire << "Connection: Keep-Alive[\r][\n]" > [2014-05-07 03:25:31,931] DEBUG - wire << "User-Agent: > Synapse-PT-HttpComponents-NIO[\r][\n]" > [2014-05-07 03:25:31,929] DEBUG - wire << "HTTP/1.1 202 Accepted[\r][\n]" > [2014-05-07 03:25:31,932] DEBUG - wire << "Date: Tue, 06 May 2014 21:55:31 > GMT[\r][\n]" > [2014-05-07 03:25:31,932] DEBUG - wire << "Server: > WSO2-PassThrough-HTTP[\r][\n]" > [2014-05-07 03:25:31,932] DEBUG - wire << "Transfer-Encoding: > chunked[\r][\n]" > [2014-05-07 03:25:31,931] DEBUG - wire << "[\r][\n]" > [2014-05-07 03:25:31,933] DEBUG - wire << "Connection: close[\r][\n]" > [2014-05-07 03:25:31,933] DEBUG - wire << "[\r][\n]" > [2014-05-07 03:25:31,933] DEBUG - wire << "161[\r][\n]" > [2014-05-07 03:25:31,934] DEBUG - wire << "<?xml version="1.0" > encoding="UTF-8"?><soapenv:Envelope x > mlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser=" > http://service.carbon.wso2.org"> > [\n]" > [2014-05-07 03:25:31,934] DEBUG - wire << " > <soapenv:Header></soapenv:Header>[\n]" > [2014-05-07 03:25:31,934] DEBUG - wire << " <soapenv:Body>[\n]" > [2014-05-07 03:25:31,934] DEBUG - wire << " <ser:echoString>[\n]" > [2014-05-07 03:25:31,934] DEBUG - wire << "0[\r][\n]" > [2014-05-07 03:25:31,935] DEBUG - wire << "[\r][\n]" > [2014-05-07 03:25:31,935] DEBUG - wire << " <!--Optional:-->[\n]" > [2014-05-07 03:25:31,935] DEBUG - wire << " > <ser:s>test</ser:s>[\n]" > [2014-05-07 03:25:31,936] DEBUG - wire << " </ser:echoString>[\n]" > [2014-05-07 03:25:31,936] DEBUG - wire << " </soapenv:Body>[\n]" > [2014-05-07 03:25:31,936] DEBUG - wire << "</soapenv:Envelope>[\r][\n]" > [2014-05-07 03:25:31,936] DEBUG - wire << "0[\r][\n]" > [2014-05-07 03:25:31,936] DEBUG - wire << "[\r][\n]" > [2014-05-07 03:25:31,991] DEBUG - wire >> "HTTP/1.1 200 OK[\r][\n]" > [2014-05-07 03:25:32,008] DEBUG - wire >> "Content-Type: > text/xml;charset=UTF-8[\r][\n]" > [2014-05-07 03:25:32,008] DEBUG - wire >> "Transfer-Encoding: > chunked[\r][\n]" > [2014-05-07 03:25:32,008] DEBUG - wire >> "Date: Tue, 06 May 2014 21:55:31 > GMT[\r][\n]" > [2014-05-07 03:25:32,009] DEBUG - wire >> "Server: WSO2 Carbon > Server[\r][\n]" > [2014-05-07 03:25:32,009] DEBUG - wire >> "[\r][\n]" > [2014-05-07 03:25:32,009] DEBUG - wire >> "116[\r][\n]" > [2014-05-07 03:25:32,010] DEBUG - wire >> "<?xml version="1.0" > encoding="UTF-8"?><soapenv:Envelope x > mlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns:echoStringResponse > xmlns: > ns="http://service.carbon.wso2.org > "><ns:return>test</ns:return></ns:echoStringResponse></soapenv:Bod > y></soapenv:Envelope>[\r][\n]" > [2014-05-07 03:25:32,011] DEBUG - wire >> "0[\r][\n]" > [2014-05-07 03:25:32,011] DEBUG - wire >> "[\r][\n]" > [2014-05-07 03:25:32,012] INFO - LogMediator To: > http://www.w3.org/2005/08/addressing/anonymous, WS > Action: , SOAPAction: , MessageID: > urn:uuid:db73f99d-c849-42e4-af64-8f73b04f9ef5, Direction: respons > e, Envelope: <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope > xmlns:soapenv="http://schemas.x > mlsoap.org/soap/envelope/"><soapenv:Body><ns:echoStringResponse xmlns:ns=" > http://service.carbon.wso2 > > .org"><ns:return>test</ns:return></ns:echoStringResponse></soapenv:Body></soapenv:Envelope> > > [1]https://wso2.org/jira/browse/APIMANAGER-2306 > > On a related note, can we run automated integration tests with nightly > builds as well? > > Charitha Kankanamge > cell: +1 812-391-7730 > http://charithaka.blogspot.com > *SOA and Testing without nonsense* > > > On Tue, May 6, 2014 at 11:24 PM, Sanjeewa Malalgoda <[email protected]>wrote: > >> Hi, >> Please find $Subject in [1]. This API Manager pack contains mssql related >> fixes. >> >> [1]http://builder1.us1.wso2.org/~apim/06-05-2014/ >> >> Thanks, >> sanjeewa. >> >> -- >> >> *Sanjeewa Malalgoda* >> WSO2 Inc. >> Mobile : +94713068779 >> >> <http://sanjeewamalalgoda.blogspot.com/>blog >> :http://sanjeewamalalgoda.blogspot.com/<http://sanjeewamalalgoda.blogspot.com/> >> >> >> > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Nuwan Dias Associate Tech Lead - WSO2, Inc. http://wso2.com email : [email protected] Phone : +94 777 775 729
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
