| Who | When |
Messages | |
|
|
|
rafeco
|
1
|
 |
|
10-20-2004 12:01 PM ET (US)
|
|
So how do you set up Tomcat or Apache to log the full contents of incoming HTTP requests, including headers and the request body?
|
| David
|
2
|
 |
|
10-20-2004 12:25 PM ET (US)
|
|
Edited by author 10-20-2004 12:27 PM
This isn't a part of Tomcat, per se, but I use the TCPMon utility that comes with Apache Axis. Works great.
Its also worth noting that you may want to run TCPMon on the client to see what its actually getting back from the server...I don't know much about networking but could be that a firewall is doing something weird to the response.
|
| Jacob
|
3
|
 |
|
10-20-2004 01:50 PM ET (US)
|
|
Use Ethereal. You can set it to filter just that port and then look at the HTTP request and what was sent back.
|
| Jacob
|
4
|
 |
|
10-20-2004 02:00 PM ET (US)
|
|
(Incidentally, IBM Thinkpads have the headphone, USB, Ethernet, modem, S-video and PC card slots on the left side. Only the VGA port and the DVD drive are on the right.)
|
| wrc
|
5
|
 |
|
10-20-2004 02:26 PM ET (US)
|
|
Use a man-in-the-middle proxy like webscarab that logs all requests and responses.
|
| Dan Lyke
|
6
|
 |
|
10-22-2004 11:27 AM ET (US)
|
|
Ethereal is your friend. Seriously, I've used it to debug SOAP stuff before, and while you'd think it'd be a horrendous job it's really not that bad.
|
rafeco
|
7
|
 |
|
10-22-2004 12:00 PM ET (US)
|
|
Two problems with Ethereal: use of HTTPS for this application and a recalcitrant systems administrator.
|
| Jacob
|
8
|
 |
|
10-22-2004 05:43 PM ET (US)
|
|
Maybe put a filter in Tomcat around your whole application that logs out the request headers & body when certain conditions match?
|
|
|
9
|
 |
|
07-20-2006 02:14 PM ET (US)
|
|
Deleted by topic administrator 07-21-2006 09:00 AM
|