I have apache and tomcat both up and running.  I have mod_jk2 to connect the two but 
the requests are not being forwarded from apache to tomcat.  I think tomcat is setup 
correctly and listening - my catalina.out is below.  I have included my configs too.  
Could anyone suggest where I`m going wrong?
Thanks
Allan



----- catalina.out
18-Mar-2004 10:01:57 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
18-Mar-2004 10:01:58 org.apache.jk.server.JkMain start
INFO: APR not loaded, disabling jni components: java.io.IOException:
/usr/lib/apache2/mod_jk2.so: /usr/lib/apache2/mod_jk2.so: undefined symbol:
ap_server_root
18-Mar-2004 10:01:58 org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8019
18-Mar-2004 10:01:58 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=23/505
config=/usr/local/sites/tomcat/tomcat/conf/jk2.properties
18-Mar-2004 10:01:58 org.apache.jk.server.JkMain start
INFO: APR not loaded, disabling jni components: java.io.IOException:
/usr/lib/apache2/mod_jk2.so: /usr/lib/apache2/mod_jk2.so: undefined symbol:
ap_server_root
18-Mar-2004 10:01:58 org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
18-Mar-2004 10:01:58 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=5/126
config=/usr/local/sites/tomcat/tomcat/conf/jk2.properties




------added to commonhttpd.conf
LoadModule jk2_module /usr/lib/apache2/mod_jk2.so



--/etc/httpd2/conf/workers2.properties
#min for working
[channel.socket:localhost:8019]
info=Ajp13 forwarding over socket
tomcatId=localhost:8019
# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
info=Map the whole webapp
[shm]
file=/tmp/shm.out
size=100000


--/usr/local/tomcat/conf/jk2.properies
# list of needed handlers.
handler.list=apr,channelSocket,request
# Override the default port for the channelSocket
channelSocket.port=8019
# Dynamic library
apr.NativeSo=/usr/lib/apache2/mod_jk2.so


--added to /usr/local/tomcat/conf/server.xml
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8019"
minProcessors="5" maxProcessors="75" enableLookups="true"
redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="0"
useURIValidationHack="false"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler" />


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to