Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

For debugging purposes, I need a way to see all HTTP traffic between our Tomcat installation and the test clients. How can I configure Tomcat to trace all HTTP traffic (and not just the headers)?

We tried to sniff the traffic using Wireshark, but since the server and the clients are on the same Windows machine it proved problematic, due to the traffic being in localhost.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

For Windows you can use: http://code.google.com/p/ospy/. In Linux you have strace.

share|improve this answer
    
Although seems like a bit of an overkill, works like charm! Thanks! –  maayank Apr 13 '10 at 7:51
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.