RE: Setting scheme on catalina Requests

2010-06-13 Thread Matthew Peterson
Hi Mark, I cannot find another reference to the setScheme method by searching the tomcat-users archive (http://marc.info/?l=tomcat-user&w=2&r=1&s=setScheme&q=b). Where else would I find some info on this topic? Cheers, Matt. -Original Message- From: Mark Thomas [mailto:ma...@apache.or

Re: Setting scheme on catalina Requests

2010-06-13 Thread Mark Thomas
On 13/06/2010 23:40, Matthew Peterson wrote: > I still don't understand why the catalina.Request object doesn't implement > the convenience method setScheme(String) for this... Try searching the archives. This has bee discussed previously. Mark

RE: Setting scheme on catalina Requests

2010-06-13 Thread Matthew Peterson
Never mind. I found out how to do it. For anyone else interested, from a catalina.Request object you need to get the underlying coyote.Request object, access it's Scheme object (type MessageByte) and then set it's String value to "https". I still don't understand why the catalina.Request object

Setting scheme on catalina Requests

2010-06-13 Thread Matt Peterson
Using Tc 6.0.26, Java 6 on Win XP Pro. I am trying to develop a valve to modify requests based on a HTTP request header as set by our SSL terminating load balancer. The valve is to watch out for a particular header and when found, call the setSecure(true), setScheme("https") and setServerPort(4

Re: how to calculate a memory tomcat

2010-06-13 Thread Pid
On 13/06/2010 16:27, andy susanto wrote: > Hai, > > is there any tool that i can monitor my tomcat ?, because at peak hour > my application looks like a Hang. But when i try to login to my > windows operation system. that system give a slow response, when i > would like to click start button. Win

how to calculate a memory tomcat

2010-06-13 Thread andy susanto
Hai, is there any tool that i can monitor my tomcat ?, because at peak hour my application looks like a Hang. But when i try to login to my windows operation system. that system give a slow response, when i would like to click start button. i can not find that problem at tomcat log. my server ha