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.

1 Answer 1


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

  • Although seems like a bit of an overkill, works like charm! Thanks!
    – maayank
    Apr 13, 2010 at 7:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .