Re: Http11AprProtocol took 2 hr to init on http-443

2006-06-22 Thread Jeff Chuang
Thanks Rémy,it works. And thanks Markus, you help me go through all the discussion and make it work. :) Regards, Jeff Markus Schönhaber wrote: Remy Maucherat wrote: On 6/22/06, Markus Schönhaber <[EMAIL PROTECTED]> wrote: I've just tried to configure a Connector which uses the Http11BaseP

Re: Http11AprProtocol took 2 hr to init on http-443

2006-06-22 Thread Markus Schönhaber
Remy Maucherat wrote: > On 6/22/06, Markus Schönhaber <[EMAIL PROTECTED]> wrote: > > I've just tried to configure a Connector which uses the > > Http11BaseProtocol by setting the attribute > > class="org.apache.coyote.http11.Http11BaseProtocol" on > > It should actually be: > protocol="org.apache.c

Re: Http11AprProtocol took 2 hr to init on http-443

2006-06-22 Thread Remy Maucherat
On 6/22/06, Markus Schönhaber <[EMAIL PROTECTED]> wrote: Jeff Chuang wrote: > To make port 80 use APR and port 443 NOT use APR, I have tried it > several times, without any luck. After tomcat starts, port 80 is fine, > but connections to port 443 are always timeout. It looks from the log > the H

Re: Http11AprProtocol took 2 hr to init on http-443

2006-06-22 Thread Markus Schönhaber
Jeff Chuang wrote: > To make port 80 use APR and port 443 NOT use APR, I have tried it > several times, without any luck. After tomcat starts, port 80 is fine, > but connections to port 443 are always timeout. It looks from the log > the Http11BaseProtocol was not used on port 443. The log looks l

Re: Http11AprProtocol took 2 hr to init on http-443

2006-06-21 Thread Jeff Chuang
To make port 80 use APR and port 443 NOT use APR, I have tried it several times, without any luck. After tomcat starts, port 80 is fine, but connections to port 443 are always timeout. It looks from the log the Http11BaseProtocol was not used on port 443. The log looks like: =

Re: Http11AprProtocol took 2 hr to init on http-443

2006-06-21 Thread Markus Schönhaber
Mladen Turk wrote: > Markus Schönhaber wrote: > > Maybe someone of the devs chimes in and proves me right or wrong. > > Use class="org.apache.coyote.http11.Http11BaseProtocol" inside >

Re: Http11AprProtocol took 2 hr to init on http-443

2006-06-21 Thread Mladen Turk
Markus Schönhaber wrote: Maybe someone of the devs chimes in and proves me right or wrong. Use class="org.apache.coyote.http11.Http11BaseProtocol" inside

Re: Http11AprProtocol took 2 hr to init on http-443

2006-06-21 Thread Markus Schönhaber
Jeff Chuang wrote: > I could reproduce this problem on ALL my dual core AMD Opteron servers > running FC5-x86_64. Not sure it is OS porting problem? JVM problem? > native jni problem? or combination? > Is it possible to configure Tomcat to use APR on port 80, but disable > APR on port 443 to use re

Re: Http11AprProtocol took 2 hr to init on http-443

2006-06-20 Thread Jeff Chuang
I could reproduce this problem on ALL my dual core AMD Opteron servers running FC5-x86_64. Not sure it is OS porting problem? JVM problem? native jni problem? or combination? Is it possible to configure Tomcat to use APR on port 80, but disable APR on port 443 to use regular java keystore PKCS12

Re: Http11AprProtocol took 2 hr to init on http-443

2006-06-20 Thread Markus Schönhaber
Stephen Souness wrote: > Could it be related to some problems that Java has had on some Linux > distributions with obtaining entropy for its random number generation > for encryption? > > In the past (a few years back admittedly) we encountered a problem when > trying to connect our application to

Re: Http11AprProtocol took 2 hr to init on http-443

2006-06-20 Thread Markus Schönhaber
Jeff Chuang wrote: > Thanks for responses. If I put connector ajp-8009 configuration block > BEFORE connector http-443 in server.xml, the log looks like > > Jun 19, 2006 5:33:11 PM org.apache.coyote.http11.Http11AprProtocol init > INFO: Initializing Coyote HTTP/1.1 on http-80 > Jun 19, 2006 5:33:11

Re: Http11AprProtocol took 2 hr to init on http-443

2006-06-19 Thread Stephen Souness
Hi Could it be related to some problems that Java has had on some Linux distributions with obtaining entropy for its random number generation for encryption? In the past (a few years back admittedly) we encountered a problem when trying to connect our application to an https site. Changing

Re: Http11AprProtocol took 2 hr to init on http-443

2006-06-19 Thread Jeff Chuang
Thanks for responses. If I put connector ajp-8009 configuration block BEFORE connector http-443 in server.xml, the log looks like Jun 19, 2006 5:33:11 PM org.apache.coyote.http11.Http11AprProtocol init INFO: Initializing Coyote HTTP/1.1 on http-80 Jun 19, 2006 5:33:11 PM org.apache.coyote.ajp.Aj

Re: Http11AprProtocol took 2 hr to init on http-443

2006-06-19 Thread Mladen Turk
David Smith wrote: Looks to me more like port 80 is taking 2+ hours to initialize, not 443. My guess is tomcat is waiting for something -- possibly a system service. At anyrate, I don't experience that here on any version of tomcat or JDK. Try starting it from the root account or from the

Re: Http11AprProtocol took 2 hr to init on http-443

2006-06-19 Thread David Smith
Looks to me more like port 80 is taking 2+ hours to initialize, not 443. My guess is tomcat is waiting for something -- possibly a system service. At anyrate, I don't experience that here on any version of tomcat or JDK. --David Jeff Chuang wrote: Hi, After starting tomcat from jsvc as s

Http11AprProtocol took 2 hr to init on http-443

2006-06-19 Thread Jeff Chuang
Hi, After starting tomcat from jsvc as service, it took 7840217 ms to initialize Http11AprProtocol on http-443, during which port 80 was blocked. There was no error found in jsvc debug info, neither was catalina.out. After initialization on port 443, everything works(both ports 80 and 443). I