QuickTopic (SM) free message boards QuickTopic (SM) free message boards
Skip to Messages
  Sign In to access your topic list  |New Topic |My Topics|Profile
Upgrade to Pro   Customize, show pictures, add an intro, and more:   QuickTopic Pro...and check out QuickThreadSM
Topic: Logging full HTTP requests
Views: 2004, Unique: 683 
Subscribers: 1
What's
this?
Printer-Friendly Page
Subscribe to get & post, or stop messages by email Subscribe
All messages            1-9 of 9        
About these ads
Who | When
Messagessort recent-top   
Post a new message
 
rafecoPerson was signed in when posted  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.
rafecoPerson was signed in when posted  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
RSS link What's this?
All messages            1-9 of 9        
QuickTopicSM message boards
Over 200,000 topics served
Learn more Frequently asked questions  Acknowledgements
What they're saying about QuickTopic
 Questions, comments, or suggestions? Contact Us
Read our use policy before beginning. We value your privacy; please read our privacy statement.
Copyright ©1999-2008 Internicity Inc. All rights reserved.