RE: HTTP/POST request body dump

2005-04-27 Thread Gilbert, Luke T

Depending on what is meant by 'configure', the response of 'Nope.' may be 
incorrect.

Logging HTTP POST requests could easily be accomplished with a Filter using 
getInputStream().

But if you want to capture network traffic, you should probably use a tool that 
was designed for that purpose. Many programs exist that can do this. Ethereal 
(http://www.ethereal.com/) is one such program that has the added benefit of 
being Free.

Luke



-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 26, 2005 19:37
To: Tomcat Users List
Subject: Re: HTTP/POST request body dump


Nope.

-Tim

Tuan, Frank wrote:
 Hi,

 Can I configure Tomcat to dump the body of HTTP/POST requests into some kind 
 of request log?  I would like to dump all of the request body of a SOAP web 
 service that I'm working on.  I'm using Tomcat 5.0.28.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



CONFIDENTIALITY NOTICE

This e-mail and any attachments, as well as any documents from a file server of 
International Truck
and Engine Corporation or its affiliates, are intended for the addressee and 
may contain information
that is privileged, confidential, proprietary, or otherwise protected by law.  
Any dissemination,
distribution, or copying is prohibited.  If a confidentiality or nondisclosure 
agreement exists
between International and the recipient or the recipient's employer, this 
e-mail and any attachments
hereto, as well as any documents from a file server of International Truck and 
Engine Corporation or
its affiliates, this notice serves as marking as CONFIDENTIAL information of 
International Truck and
Engine Corporation or its affiliates.  If you have received this communication 
in error, please
contact the original sender.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to redirect to a different host

2005-03-17 Thread Gilbert, Luke T

There is no way for Tomcat to do this 'out of the box'. But don't despair! 
Check out:

http://www.zlatkovic.com/httpredirectfilter.en.html

The author has released it under a very free license. I have been using the 
filter and can personally recommend it. The site seems to be down right now, so 
you'll have to check back later.

Luke

P.S. In the interest of full, squeaky clean disclosure, I've submitted a patch 
to the project.

-Original Message-
From: Dan [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 17, 2005 14:58
To: Tomcat Users List
Subject: How to redirect to a different host


Is there anyway to configure Tomcat (without using apache) to redirect
requests for a particular context to a new url (and host)

Here's the scenario on the main page there is a link to a shopping cart
context.  This webapp does not run on this machine, it's running on a totally
separate system, so what I want to do is:

when the context webhost:8080/shopping is requested the request is redirected
to shoppingcarthost:8080/shopping.  Is it possible to do this in the
server.xml file, or does it have to be done somewhere else.

I know how to do this with apache, but using apache is not an option in this
case.  I need to know how to to do this independent of apache.  Just using
Tomcat configuration files.

Thanks
Daniel McMillan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



CONFIDENTIALITY NOTICE

This e-mail and any attachments, as well as any documents from a file server of 
International Truck
and Engine Corporation or its affiliates, are intended for the addressee and 
may contain information
that is privileged, confidential, proprietary, or otherwise protected by law.  
Any dissemination,
distribution, or copying is prohibited.  If a confidentiality or nondisclosure 
agreement exists
between International and the recipient or the recipient's employer, this 
e-mail and any attachments
hereto, as well as any documents from a file server of International Truck and 
Engine Corporation or
its affiliates, this notice serves as marking as CONFIDENTIAL information of 
International Truck and
Engine Corporation or its affiliates.  If you have received this communication 
in error, please
contact the original sender.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]