2

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.

2

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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