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 $HO
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
finally I did this:
rm /dev/random; ln -s /dev/urandom /dev/random
... and Tomcat starts up fine.
Since I do not require "good" random numbers (no SSL used), this seems to be
okay.
Regards,
Stefan
Am Montag, 2. April 2007 21:09 schrieb Stefan Armbruster:
> Hi,
>
> the machine is diskless,
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 libtcna
Filip Hanik - Dev Lists wrote:
it's blocking on initialization of SSL, did you set the correct
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
SSL.randSet("/d
it's blocking on initialization of SSL, did you set the correct
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 Tomcat still
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 entropy)
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 1.1.
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
/usr/loca
do a thread dump
that is "kill -3 "
will spit out the state of the server to system.out (your log files)
and we can take it from there
Filip
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/l
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.
... an
11 matches
Mail list logo