You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Balaji Sankar Chopparapu <ba...@gmail.com> on 2010/03/09 14:03:40 UTC

Unable to use HTTP GET when I integrated tomcat (Apache CXF ) and IIS 6.0.

Hi All,

Unable to use HTTP GET when I integrated tomcat (Apache CXF ) and IIS 6.0.



“org.apache.cxf.transport.servlet.CXFServlet” is unable to serve the HTTP
GET requests when the request is made via IIS. This works perfectly well
when the request is made directly to tomcat



Deployment:

Browser<-> IIS 6.0<->Tomcat(CXF Servlet)-  Servlet is not responding to HTTP
GET request but POST requests are served

Browser<->Tomcat(CXF Servlet)  Both HTTP GET and POST requests are served
properly



Versions:

Tomcat version 5.5, CXF version 2.2.5



Though this behavior is wired but I couldn’t figure out the root cause.  Please
help me to solve this



Thanks & Regards

Balaji

Re: Unable to use HTTP GET when I integrated tomcat (Apache CXF ) and IIS 6.0.

Posted by Balaji Sankar Chopparapu <ba...@gmail.com>.
Hi Eoghan,

For the below request from mod_jk , CXF servlet is not returning the
response.

[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_isapi_plugin.c (828):
Virtual Host redirection of
/localhost/wac/REST/services/managerService/dateTime
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_uri_worker_map.c (449):
Attempting to map URI '/localhost/wac/REST/services/managerService/dateTime'
from 4 maps
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_uri_worker_map.c (461):
Attempting to map context URI '/wac/*'
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_uri_worker_map.c (461):
Attempting to map context URI '/AMS/*'
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_uri_worker_map.c (461):
Attempting to map context URI '/AMS'
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_uri_worker_map.c (461):
Attempting to map context URI '/wac'
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_isapi_plugin.c (835):
Default redirection of /wac/REST/services/managerService/dateTime
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_uri_worker_map.c (449):
Attempting to map URI '/wac/REST/services/managerService/dateTime' from 4
maps
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_uri_worker_map.c (461):
Attempting to map context URI '/wac/*'
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_uri_worker_map.c (475):
Found a wildchar match ajp13w -> /wac/*
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_isapi_plugin.c (845):
check if [/wac/REST/services/managerService/dateTime] is points to the
web-inf directory
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_isapi_plugin.c (863):
[/wac/REST/services/managerService/dateTime] is a servlet url - should
redirect to ajp13w
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_worker.c (111): found a
worker ajp13w
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_isapi_plugin.c (1018): got
a worker for name ajp13w
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (2131):
acquired connection cache slot=0
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (566): ajp
marshaling done
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (1670):
processing with 3 retries
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (909):
sending to ajp13 pos=4 len=387 max=8192
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (909):
0000    12 34 01 7F 02 02 00 08 48 54 54 50 2F 31 2E 31  - .4......HTTP/1.1
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (909):
0010    00 00 2A 2F 77 61 63 2F 52 45 53 54 2F 73 65 72  - ..*/wac/REST/ser
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (909):
0020    76 69 63 65 73 2F 6D 61 6E 61 67 65 72 53 65 72  - vices/managerSer
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (909):
0030    76 69 63 65 2F 64 61 74 65 54 69 6D 65 00 00 09  - vice/dateTime...
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (909):
0040    31 32 37 2E 30 2E 30 2E 31 00 00 09 31 32 37 2E  - 127.0.0.1...127.
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (909):
0050    30 2E 30 2E 31 00 00 09 6C 6F 63 61 6C 68 6F 73  - 0.0.1...localhos
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (909):
0060    74 00 00 50 00 00 08 A0 06 00 0A 4B 65 65 70 2D  - t..P.......Keep-
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (909):
0070    41 6C 69 76 65 00 A0 01 00 34 69 6D 61 67 65 2F  - Alive....4image/
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (909):
0080    67 69 66 2C 20 69 6D 61 67 65 2F 6A 70 65 67 2C  - gif,.image/jpeg,
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (909):
0090    20 69 6D 61 67 65 2F 70 6A 70 65 67 2C 20 69 6D  - .image/pjpeg,.im
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (909):
00a0    61 67 65 2F 70 6A 70 65 67 2C 20 2A 2F 2A 00 A0  - age/pjpeg,.*/*..
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (909):
00b0    03 00 0D 67 7A 69 70 2C 20 64 65 66 6C 61 74 65  - ...gzip,.deflate
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (909):
00c0    00 A0 04 00 05 65 6E 2D 75 73 00 A0 09 00 2B 4A  - .....en-us....+J
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (909):
00d0    53 45 53 53 49 4F 4E 49 44 3D 42 32 45 45 43 33  - SESSIONID=B2EEC3
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (909):
00e0    43 37 42 43 46 42 35 44 30 43 35 45 33 46 30 42  - C7BCFB5D0C5E3F0B
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (909):
00f0    35 33 43 38 38 31 37 41 36 41 00 A0 0B 00 09 6C  - 53C8817A6A.....l
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (909):
0100    6F 63 61 6C 68 6F 73 74 00 A0 0E 00 66 4D 6F 7A  - ocalhost....fMoz
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (909):
0110    69 6C 6C 61 2F 34 2E 30 20 28 63 6F 6D 70 61 74  - illa/4.0.(compat
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (909):
0120    69 62 6C 65 3B 20 4D 53 49 45 20 38 2E 30 3B 20  - ible;.MSIE.8.0;.
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (909):
0130    57 69 6E 64 6F 77 73 20 4E 54 20 35 2E 32 3B 20  - Windows.NT.5.2;.
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (909):
0140    54 72 69 64 65 6E 74 2F 34 2E 30 3B 20 2E 4E 45  - Trident/4.0;..NE
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (909):
0150    54 20 43 4C 52 20 31 2E 31 2E 34 33 32 32 3B 20  - T.CLR.1.1.4322;.
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (909):
0160    2E 4E 45 54 20 43 4C 52 20 32 2E 30 2E 35 30 37  - .NET.CLR.2.0.507
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (909):
0170    32 37 29 00 A0 08 00 01 30 00 03 00 00 00 04 00  - 27).....0.......
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (909):
0180    00 00 FF 00 00 00 00 00 00 00 00 00 00 00 00 00  - ................
[Mon May 24 18:42:38 2010] [4544:7892] [debug] jk_ajp_common.c (1261):
request body to send 0 - request body to resend 0

Regards
~Balaji

On Wed, Mar 10, 2010 at 1:52 PM, Balaji Sankar Chopparapu <
balaji.chopparapu@gmail.com> wrote:

> Hi Eoghan,
>
> Thanks for the reply. I will be posting necessary network log tomorrow. I
> believe mod_jk connector is eating few http headers in middle for the
> logical resource (CXF Servlet).
>
> Thanks in advance
> Balaji
>
>
> On Tue, Mar 9, 2010 at 8:16 PM, Eoghan Glynn <eo...@gmail.com> wrote:
>
>> Balaji,
>>
>> Can you use tcpmon or somesuch tool to capture the client payloads (HTTP
>> headers plus body), and post them here?
>>
>> Cheers,
>> Eoghan
>>
>> On 9 March 2010 13:03, Balaji Sankar Chopparapu <
>> balaji.chopparapu@gmail.com
>> > wrote:
>>
>> > Hi All,
>> >
>> > Unable to use HTTP GET when I integrated tomcat (Apache CXF ) and IIS
>> 6.0.
>> >
>> >
>> >
>> > “org.apache.cxf.transport.servlet.CXFServlet” is unable to serve the
>> HTTP
>> > GET requests when the request is made via IIS. This works perfectly well
>> > when the request is made directly to tomcat
>> >
>> >
>> >
>> > Deployment:
>> >
>> > Browser<-> IIS 6.0<->Tomcat(CXF Servlet)-  Servlet is not responding to
>> > HTTP
>> > GET request but POST requests are served
>> >
>> > Browser<->Tomcat(CXF Servlet)  Both HTTP GET and POST requests are
>> served
>> > properly
>> >
>> >
>> >
>> > Versions:
>> >
>> > Tomcat version 5.5, CXF version 2.2.5
>> >
>> >
>> >
>> > Though this behavior is wired but I couldn’t figure out the root cause.
>> >  Please
>> > help me to solve this
>> >
>> >
>> >
>> > Thanks & Regards
>> >
>> > Balaji
>> >
>>
>
>

Re: Unable to use HTTP GET when I integrated tomcat (Apache CXF ) and IIS 6.0.

Posted by Balaji Sankar Chopparapu <ba...@gmail.com>.
Hi Eoghan,

Thanks for the reply. I will be posting necessary network log tomorrow. I
believe mod_jk connector is eating few http headers in middle for the
logical resource (CXF Servlet).

Thanks in advance
Balaji

On Tue, Mar 9, 2010 at 8:16 PM, Eoghan Glynn <eo...@gmail.com> wrote:

> Balaji,
>
> Can you use tcpmon or somesuch tool to capture the client payloads (HTTP
> headers plus body), and post them here?
>
> Cheers,
> Eoghan
>
> On 9 March 2010 13:03, Balaji Sankar Chopparapu <
> balaji.chopparapu@gmail.com
> > wrote:
>
> > Hi All,
> >
> > Unable to use HTTP GET when I integrated tomcat (Apache CXF ) and IIS
> 6.0.
> >
> >
> >
> > “org.apache.cxf.transport.servlet.CXFServlet” is unable to serve the HTTP
> > GET requests when the request is made via IIS. This works perfectly well
> > when the request is made directly to tomcat
> >
> >
> >
> > Deployment:
> >
> > Browser<-> IIS 6.0<->Tomcat(CXF Servlet)-  Servlet is not responding to
> > HTTP
> > GET request but POST requests are served
> >
> > Browser<->Tomcat(CXF Servlet)  Both HTTP GET and POST requests are served
> > properly
> >
> >
> >
> > Versions:
> >
> > Tomcat version 5.5, CXF version 2.2.5
> >
> >
> >
> > Though this behavior is wired but I couldn’t figure out the root cause.
> >  Please
> > help me to solve this
> >
> >
> >
> > Thanks & Regards
> >
> > Balaji
> >
>

Re: Unable to use HTTP GET when I integrated tomcat (Apache CXF ) and IIS 6.0.

Posted by Eoghan Glynn <eo...@gmail.com>.
Balaji,

Can you use tcpmon or somesuch tool to capture the client payloads (HTTP
headers plus body), and post them here?

Cheers,
Eoghan

On 9 March 2010 13:03, Balaji Sankar Chopparapu <balaji.chopparapu@gmail.com
> wrote:

> Hi All,
>
> Unable to use HTTP GET when I integrated tomcat (Apache CXF ) and IIS 6.0.
>
>
>
> “org.apache.cxf.transport.servlet.CXFServlet” is unable to serve the HTTP
> GET requests when the request is made via IIS. This works perfectly well
> when the request is made directly to tomcat
>
>
>
> Deployment:
>
> Browser<-> IIS 6.0<->Tomcat(CXF Servlet)-  Servlet is not responding to
> HTTP
> GET request but POST requests are served
>
> Browser<->Tomcat(CXF Servlet)  Both HTTP GET and POST requests are served
> properly
>
>
>
> Versions:
>
> Tomcat version 5.5, CXF version 2.2.5
>
>
>
> Though this behavior is wired but I couldn’t figure out the root cause.
>  Please
> help me to solve this
>
>
>
> Thanks & Regards
>
> Balaji
>