Hi
Thanks for reply!
I don't know exactly what random source is used by APR, it was compiled with only one switch " --with-apr". Is this possible to find out?
I use tomcat with apache 2.2x and mod_jk.
The only connectors I have in server xml is:
------------------------
 <Connector
        port="8080"
        redirectPort="8443"
        minSpareThreads="25"
        connectionTimeout="20000"
        maxSpareThreads="75"
        maxThreads="150">
    </Connector>

    <Connector
        port="8009"
        redirectPort="8443"
        protocol="AJP/1.3">
    </Connector>
------------------------------
The ssl is configured on one virtual host in apache.

I'm a little bit confused about connectors anyway.
My understanding is that if page request is on port 8080, then "http" connector (first in config above) comes in play and page is served by tomcat directly. If request is on port 80 and we have configured this virtual host with JkMount directives then page is somehow passed by mod_jk to AJP connector (I think in workers.properties file we say that it should be AJP). Is that right? Also I wonder do I need to enable APR at all if tomcat is running with apache and mod_jk?
Clarification would be very appreciated!
Thanks in advance..

*************************************
Best Regards
Ilja


Markus Schönhaber wrote:
Ilja S. wrote:

Startup time of tomcat became very slow after installing APR.
Tomcat version is 5.5.23
APR 1.2.7
Ubuntu, kernel 2.6.20
Logs says INFO: Server startup in 192631 ms
Which is more 3 minutes! Is that normal?

This may be normal if you have configured a HTTPS connector and your APR
uses /dev/random as random source. /dev/random will block if there's not
enough entropy available.
If you want to speed things up, you may move the mouse like crazy while
Tomcat is starting, hack on the keyboard like even crazier or compile
APR with
--with-devrandom=/dev/urandom
as an option to configure.

Regards
  mks


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to