Brian,Adding the <Listener ... /> parameter you suggest generates a java.lang.ClassNotFoundException: org.apache.jk.config.ApacheConfig. Where should I find the jarfile containing that class? It's new to me and I know I'm not using that listener in my install of Tomcat-4.1.31 on another machine. And when I modify the AJP/1.3 connector to include the line: protocol="AJP/1.3". I presume the two errors are related. Is this something new in 4.1.32?
Thanks, Rob brian bay wrote:
Do you have a Listener set up in your tomcat server.xml? Inside of <Engine><Host> <Listener className="org.apache.jk.config.ApacheConfig"modJk="/usr/lib/apache2/modules/mod_jk.so" workersConfig="/etc/apache2/workers.properties"/>I placed my workers.properties file in the apache dir. Inside of <Service> <Connectorport="8080" redirectPort="8443" minSpareThreads="25" connectionTimeout="20000" maxSpareThreads="75" maxThreads="125"> </Connector> <Connector port="8009" redirectPort="8443" connectionTimeout="-1" protocol="AJP/1.3"> </Connector>I assume you have installed mod_jk.so to the modules dir? - Brian On 9/15/06, Martin Gainty <[EMAIL PROTECTED]> wrote:# Defines a worker named "remote" that uses the ajpv13 protocol to forwardrequests to a Tomcat process in workers.properties worker.remote.type=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 *********************************************************************This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message isaddressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. ----- Original Message ----- From: "Rob Tanner" <[EMAIL PROTECTED]> To: "Tomcat Users List" <users@tomcat.apache.org> Sent: Friday, September 15, 2006 2:33 PM Subject: [REPOST] Can't get apache and Tomcat to talk> (Grrr! I hit send when I meant save -- the first posting is incomplete)> > I'm running a new install Fedora Core 5 and rebuilding my development > system. I'm running Apache/2.2.2 (part of the FC5 distro) and> Tomcat-4.1.32. I downloaded the version 1.2.18 tomcat connector kit and> followed the instructions in BUILD.txt to compile and install the > mod_jk.so connector. I installed one of my development apps and added> the context configuration to the server.xml file, and when I try to get > to it through apache, the cursor just spins and I get no log entries of> any kind, neither in the apache logs nor the tomcat logs. I can,> however, point my browser to port 8009 and bring up the newly installed> app. All the gory details are below. Any idea what might be wrong? > > In the server.xml file, the only change I have made from the > distribution is to add this context: > > <Context crossContext="true" debug="0" > docBase="AccountManager" > path="/accntManager" reloadable="true"> > <Logger className="org.apache.catalina.logger.FileLogger" > prefix="localhost_accntmanager_log." suffix=".txt" > timestamp="true"/> > <Parameter name="UniAccnt"> value="/datatel/development/coldev17" override="false"/>> <Parameter name="AdminAddresses" > value="[EMAIL PROTECTED]" override="false"/> > </Context> > > I also created this workers.properties file in the tomcat conf directory: > > workers.tomcat_home=/var/apache-tomcat-4.1.32 > workers.java_home=/usr/java/j2sdk1.4.2_12 > ps=/ > worker.list=ajp13 > worker.ajp13.port=8009 > worker.ajp13.host=localhost > worker.ajp13.type=ajp13 > > > And finally, the following configuration detail was added to apache's > httpd.conf file. Tomcat and apache were than both restarted. > > LoadModule jk_module modules/mod_jk.so > JkWorkersFile /var/apache-tomcat-4.1.32/conf/workers.properties > JkLogFile logs/mod_jk.log > JkLogLevel info > JkMount /*.jsp ajp13 > JkMount /accntManager/* ajp13 > > > > Any suggestions here would be greatly appreciated. > > Thanks, > > Rob Tanner > Linfield College > > > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
smime.p7s
Description: S/MIME Cryptographic Signature