Mladen Turk wrote:
Stefan Armbruster wrote:
Hi
finally I did this:
rm /dev/random; ln -s /dev/urandom /dev/random
... and Tomcat starts up fine.
Wow, that something. You are very brave and root ;)
awesome!
Try with setting:
$ export RANDFILE=/dev/urandom
then start Tomcat.
or create a
Stefan Armbruster wrote:
Hi
finally I did this:
rm /dev/random; ln -s /dev/urandom /dev/random
... and Tomcat starts up fine.
Wow, that something. You are very brave and root ;)
Try with setting:
$ export RANDFILE=/dev/urandom
then start Tomcat.
or create a $HOME/.rnd file
Regards,
Mladen
Hi,
the machine is diskless, so entropy for /dev/random might not be enough.
cat /dev/random dummy results in a empty dummy file even if it runs for
several minutes. cat /proc/sys/kernel/random/entropy_avail returns 23.
Anyway, I do not need SSL stuff here. Is there a way to compile libtcnative
Hi,
thanks for the responses so far. I removed all libapr* deb packages and
installed apr 1.2.8 from source, but Tomcat still hangs. Below the thread
dump as suggested by Filip:
29.03.2007 19:38:56 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded Apache Tomcat Native library
Just a guess: looks like SSL is waiting for /dev/random (blocking
random) to answer, and /dev/random can take a long time to answer if
there's not enough entropy in the system.
Usually you can choose betwenn /dev/random and /dev/urandom (non
blocking but cryptographic quality depending on
it's blocking on initialization of SSL, did you set the correct
Connector attributes for APR/SSL (they are not the same as the java
connector)
Filip
Stefan Armbruster wrote:
Hi,
thanks for the responses so far. I removed all libapr* deb packages and
installed apr 1.2.8 from source, but
Filip Hanik - Dev Lists wrote:
it's blocking on initialization of SSL, did you set the correct
Connector attributes for APR/SSL (they are not the same as the java
connector)
Like Rainer said it blocks in SSL.initialize(). Wait few minutes...
Now, a param for AprLifecycleListener named
Hi,
Tomcat hangs on startup when I try to enable the APR native library.
After setting java.library.path to /usr/local/apr/lib/, catalina.out gets just
these two lines:
28.03.2007 16:14:00 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded Apache Tomcat Native library 1.1.8.
...
Stefan Armbruster wrote:
Hi,
Tomcat hangs on startup when I try to enable the APR native library.
After setting java.library.path to /usr/local/apr/lib/, catalina.out gets just
these two lines:
You will need apr 1.2.x
The generic path for that looks like
/usr/local/apr-1/lib
The