tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tref Gare" <>
Subject mod_jk - Apache 2.0.43 - Tomcat 4.1.12 config issues on Solaris 8
Date Wed, 23 Oct 2002 02:20:24 GMT
Hi Folks,
We're having more than a few problems in this process so far.  Any help will be as always
gratefully received.
A: we've been unable to compile a fresh connector in either jk or jk2 flavour.  Each one fails
at a late stage of compile listing copious parse errors in the jni.h include in the JDK.
As such we've taken a precompiled binary of (2.0.42) and plugged it in instead.
 Everything seems to be ok from this point except of course that it's not working.  Apache
and Tomcat continue to work standalone, both boot without errors (now that I've commented
out the lifecycle listeners - jk2 only?) and the Apache Include in httpd.conf (Include /opt/jakarta-tomcat-4.1.12/conf/auto/mod_jk.conf)
seems to be running as the log files etc are being created.  However mod_jk is giving us the
following error/s
[jk_connect.c (177)]: jk_open_socket, connect() failed errno = 146
[jk_ajp_common.c (626)]: In jk_endpoint_t::ajp_connect_to_endpoint, failed errno 146

For completeness our system is:

Solaris 2.8 sparc version
Apache 2.0.43 (fresh compile with dso)
Tomcat 4.1.12  (symlink to

server.xml got the following additions to generate the auto config files

Immediately following the <server port="8005" ..>

<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
  modJk="/opt/apache_2/modules/" jkDebug="info"
  jkLog="/opt/jakarta-tomcat-4.1.12/logs/mod_jk.log" /> 
Then after <Host name="localhost" .. >
<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" 
  append="true" /> is very minimal todate

#Define some properties
ps =/



There is some other stuff for a jni inprocess worker and an lb worker but it's all commented
(#) out for now

View raw message