Hi,

the problem is that a web service request coming from external client
fails with a timeout exception while the same client on the proxy host
works. 
I only see the java.net.SocketTimeout exception in my java stack trace. My
assumption is that the tomcat server does receive nothing at all because I
write some log messages to the Catalina.out when the axis service gets
called. 

Please tell what kind of network sniffer you would propose. OS running
below the tomcat server is SUSE ES 9.

Below you find the full log information.

Cheers,
Pete

[jk_uri_worker_map.c (486)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (500)]: Attempting to map URI
'/axis2/services/binarytest'
[jk_uri_worker_map.c (524)]: jk_uri_worker_map_t::map_uri_to_worker, Found a
context match worker2 -> /axis2/
[mod_jk.c (1717)]: Into handler r->proxyreq=0 r->handler=jakarta-servlet
r->notes=137092600 worker=worker2
[jk_worker.c (132)]: Into wc_get_worker_for_name worker2
[jk_worker.c (136)]: wc_get_worker_for_name, done  found a worker
[mod_jk.c (505)]: agsp=8080 agsn=192.168.200.194 hostn=192.168.200.194
shostn=daten.ktbl.de cbsport=0 sport=0 
[jk_ajp_common.c (1693)]: Into jk_worker_t::get_endpoint
[jk_ajp_common.c (1737)]: In jk_endpoint_t::ajp_get_endpoint, time elapsed
since last request = 93 seconds
[jk_ajp_common.c (1326)]: Into jk_endpoint_t::service
[jk_ajp_common.c (298)]: Into ajp_marshal_into_msgb
[jk_ajp_common.c (466)]: ajp_marshal_into_msgb - Done
[jk_ajp_common.c (777)]: sending to ajp13 #446
[jk_ajp_common.c (1071)]: ajp_send_request 2: request body to send 0 -
request body to resend 0
[jk_ajp_common.c (888)]: received from ajp13 #3
[jk_uri_worker_map.c (486)]: Into jk_uri_worker_map_t::map_uri_to_worker
// end here -- already the next request
[jk_uri_worker_map.c (500)]: Attempting to map URI
'/energy/style/styleguide.css' 

> -----Ursprüngliche Nachricht-----
> Von: Rainer Jung [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 8. Dezember 2006 09:47
> An: Tomcat Users List
> Betreff: Re: Web Service Request not passing through Mod_Jk
> 
> Hello,
> 
> Peter Neu schrieb:
> > Hello,
> >
> > I have a strange problem with mod_jk. Until now I never had trouble with
> > mod_jk but lately I need to pass web service requests through to an Axis
> > server running on tomcat (5.5.9).
> 
> So what's the problem? There is no line in your post, telling us what
> the real problem is. It sounds like the forwarded requests do not reach
> tomcat?
> 
> - What response do you get from apache?
> - How does the mod_jk log proceed? Your copy&paste stopps, where it
> starts to get interesting
> - Can you see correspoding network traffic on the tomcat side, using a
> network sniffer?
> 
> Regards,
> 
> Rainer
> 
> > The strange thing is the pass-through works if the web service client
> > resides on the same machine as apache httpd.
> > But this is not a real use case. ;o)
> >
> > My first thought was this must be the firewall. But I opened all
> possible
> > ports on the firewall and still got the same result. Besides this
> shouldn't
> > be of any concern since axis uses the same http ports and it should be
> no
> > difference if the request comes from a browser or a web service client
> using
> > common http client.
> >
> > Error message I get are the usual java.net.SocketTimeout Exceptions. In
> the
> > access.log of apache httpd I can see all requests coming either from
> > localhost or the external client so no firewall problem possible. I set
> > mod_jk log level to debug and see it's passing everything through even
> the
> > request from the external client.
> >
> > I already asked at axis & httpd mailings list. Nobody knew how to solve
> > this.
> >
> > Cheers,
> > Pete
> >
> > Attempting to map URI '/axis2/services/binarytest'
> > [jk_uri_worker_map.c (524)]: jk_uri_worker_map_t::map_uri_to_worker,
> Found a
> > context match worker2 -> /axis2/
> > [mod_jk.c (1717)]: Into handler r->proxyreq=0 r->handler=jakarta-servlet
> > r->notes=136973856 worker=worker2
> > jk_worker.c (132)]: Into wc_get_worker_for_name worker2
> > [jk_worker.c (136)]: wc_get_worker_for_name, done  found a worker
> > [mod_jk.c (505)]: agsp=8080 agsn=192.168.200.194 hostn=192.168.200.194
> > shostn=my.proxy.de cbsport=0 sport=0
> > [jk_ajp_common.c (1693)]: Into jk_worker_t::get_endpoint
> > [jk_ajp_common.c (1737)]: In jk_endpoint_t::ajp_get_endpoint, time
> elapsed
> > since last request = 10 seconds
> > [jk_ajp_common.c (1326)]: Into jk_endpoint_t::service
> > [jk_ajp_common.c (298)]: Into ajp_marshal_into_msgb
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to