tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 43327] Socket bind fails on tomcat startup when using apr
Date Tue, 03 Jun 2008 19:55:12 GMT

--- Comment #13 from Siegmund Gorr <>  2008-06-03 12:55:11 PST
Update on JSVC and APR

Involving debugging I found that my problem with JSVC and APR could be drilled
down to SSL library access I did not found the reason why it hangs - may be the
privileges are not sufficient after switching from root to the www-user. After
a time period (on my three servers approx. 6 min. the startup suddenly
continues - like a timeout has been reached.

My problems could be resolved by deactivating ssl in the tomcat apr
configuration which might be a hint for other server operators as well. 
We are handling the ssl separat and do not pass the data via the Apache mod_jk
module to the AJP handler (which is been boosted by APR).
So configuration in httpd.conf is

JkOptions +ForwardkeySize +ForwardURICompat -ForwardDirectories
JkExtractSSL off
JkRequestLogFormat "%w %V %T"

And whithin server.xml
<Listener className="org.apache.catalina.core.AprLifecycleListener"
  SSLEngine="off" />

Sorry but I did not find the reason why this problems is not existing when we
start tomcat without jsvc.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message