tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Mikusa <dmik...@vmware.com>
Subject Re: Tomcat response
Date Wed, 27 Mar 2013 12:39:04 GMT
On Mar 27, 2013, at 1:59 AM, Dhaval Jaiswal wrote:

> Sometime i am facing an issue with the tomcat response.

Can you be more specific about the issue that you are facing?  What happens to the response?
 Do you get any error codes or stack traces?  

> Tomcat not responding to the httpd web server.

Again, more specifics here would be good.  Is Tomcat hung?  Did it crash (i.e. the process
is no longer running)?  Was it ever working correctly?

> Is there any tool or way wherein i can
> check the response of the tomcat through sessionid or some other method.

1.) What version of Tomcat are you running?
2.) How is Tomcat communicating with HTTPD?  Is it using AJP or HTTP?  Including your <Connector/>
tags would be helpful.

Without any specifics, it's hard to say exactly.  Here are some general ideas…

1.) Setup a Request Dumper Filter (Tomcat 7) or a Request Dumper Valve (Tomcat 6) in Tomcat.

  https://tomcat.apache.org/tomcat-7.0-doc/config/filter.html#Request_Dumper_Filter
  https://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Request_Dumper_Valve

2.) Setup Wireshark or tcpdump between your HTTPD and Tomcat servers.  Configure it to grab
your AJP or HTTP traffic.

3.) Use HTTPD's mod_dumpio or a similar module.

  https://httpd.apache.org/docs/2.2/mod/mod_dumpio.html

Dan


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message