Re: understanding some tomcat code

2008-05-17 Thread Ho Fat Tsang
On Sat, May 17, 2008 at 12:12 AM, Leon Rosenberg [EMAIL PROTECTED] wrote: Hi, was just browsing through tomcat code, and the following is just a mystery to me -StandardSession.fireSessionsEvent(type,data): public void fireSessionEvent(String type, Object data) { if

Re: Shutdown Hook in Tomcat 5.5.26

2008-03-31 Thread Ho Fat Tsang
shutdown hook. Thank Twinsen. On Fri, Mar 28, 2008 at 9:49 PM, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Twinsen, Ho Fat Tsang wrote: | public class TestThread extend Thread | { | public void run

Shutdown Hook in Tomcat 5.5.26

2008-03-27 Thread Ho Fat Tsang
Dear all tomcat expert, I am falling a scenario which my shutdown hook has not been executed when the tomcat stop normally. I.e. through the SHUTDOWN script / SHUTDOWN command / NT services shutdown. Tomcat looks everything when shutdown but nothing related to shutdown hook has been called.

Unable to extract LocalAddr when using AJP

2008-02-04 Thread Ho Fat Tsang
Dear all, I am using Apache 2.2 + Tomcat 5.5 under mod_proxy_ajp and AJP connector. I found that i am not able to extract the localAddr when a request is received from the Tomcat. Apache configuration. ProxyPass ajp://context retry=3 ProxyPassReverse ajp://context