My platform is RH Linux 7.3 I am using Java 1.4 and mod_jk 1.2.0 built from the download site. I am attempting to connect Apache 2.0.40 with Tomcat 4.0.4
in httpd.conf I made the following changes LoadModule module_jk modules/mod_jk.so JkWorkersFile conf/workers.properties JkLogFile logs/mod_jk.log JkLogLevel debug JkMount /examples/* xrm13 in workers.properties I have workers.tomcat.home = /usr/local/tomcat workers.java.home = /usr/local/java worker.list=xrm13 worker.xrm13.port=8009 worker.xrm13.host=localhost worker.xrm13.type=ajp13 worker.inprocess.type=jni worker.inprocess.classpath=${workers.tomcat.home}/lib/server/catalina.jar worker.inprocess.cmd_line=start worker.inprocess.jvm_lib=${workers.java.home}/jre/lib/i386/server/libjvm.so worker.inprocess.stderr=${workers.tomcat.home)/logs/inprocess.stderr worker.inprocess.stdout=${workers.tomcat.home)/logs/inprocess.stdout In tomcat/server.xml i changed the Engine to <Engine jvmRoute="xrm13" ... Everything else stays the same as shipped from the factory If I load Tomcat and then Apache everything seems to work fine. This means that Apache can connect to the out of process instance of Tomcat. If I load Apache as a daemon in /etc/rc.d/rc5.d then the Mod_jk.log gets a couple of errors jk_connect.c (162)jk_open_socket connect( ) failed errorno = 111 jk_ajp_common.c (613) ... jk_ajp_common.c (859) Error connecting to Tomcat process jk_ajp_common.c (1168)... So the inprocess doesn't work. Any help would be greatly appreciated as i am attmpting to create a turnkey type of installation. -----Original Message----- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 5:16 AM To: 'Tomcat Users List' Subject: RE: Apache2/Tomcat4 It would be helpful if you could tell us which platform you are using, and what the log files say. Also, which changes did you make to httpd.conf? Which connector are you using? John Turner [EMAIL PROTECTED] > -----Original Message----- > From: Ray Madigan [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 28, 2002 4:57 PM > To: Tomcat Users List > Subject: Apache2/Tomcat4 > > > I have the source for the connectors, and have built and > installed them. I > made changes to apache2/httpd.conf, copied workers.properties from the > connector source tree and added the lines to point to the > tomcat directory. > > I ran apache2 and am unable to handle any .jsp files. My question is: > > How does one debug the connectors to know where the problem is? > > And > > Is there a source of info for an out of the box - quick > working source of > info that is needed to get this working. Once I have a > starting setup, I > can figure out how to make the changes i need for my application. > > Thanks in advance > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>