connection reset by peer

2007-08-09 Thread Yair Zohar
Hello, I'm using tomcat5.5.23 on a Fedora 5 kernel: 2.6.20-1.2320.fc5. I redirect port 80 to 8080 by running by root: iptables -t nat -A OUTPUT -d localhost -p tcp --dport 80 -j REDIRECT --to-ports 8080 iptables -t nat -A PREROUTING -p tcp --dport 80 -i eth0 -j REDIRECT --to-port 8080 Sometim

Re: How do I get the response status code?

2007-03-29 Thread Yair Zohar
returning that as the status). Is this not working for you? Brantley Yair Zohar wrote: Hi Brantley, Thanks for replying. I've tried to pass a wrapper to the filter's chain, here is the wrapper's code: import java.io.IOException; import javax.servlet.http.*; public c

Re: How do I get the response status code?

2007-03-29 Thread Yair Zohar
ot always set either, at least in my experience. With the wrapper, you can monitor the output stream to get a byte count. B. Yair Zohar wrote: Hello, I'm trying to create a filter that will do the access logging for my web application (I would like to write the information directly to th

How do I get the response status code?

2007-03-29 Thread Yair Zohar
ave a getStatus() method. Any idea ? Yair Zohar. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Reloading shared classes

2007-03-01 Thread Yair Zohar
You are right, I've just wanted to avoid multiple copies of the same classes. They are not really shared. If the classes are shared, all the web applications should be restarted, because the change affect all of them. Yair. Peter Crowther wrote: From: Yair Zohar [mailto:[EMAIL PROTECTED

Reloading shared classes

2007-03-01 Thread Yair Zohar
Hello, I'm using tomcat 5.0.28 on a Linux machine. My web applications are using some shared class. I put them under $CATALINA_HOME/shared/classes. The problem: When I make changes in the shared classes, restarting a web application by tomcat's manager is not enough for the changes to be reload