看看这篇文章吧。
http://www.onjava.com/pub/a/onjava/2002/11/20/tomcat.html^_^

解决方案 »

  1.   

    再看看下面的介绍,试试吧。Configuring the mod_jk connector 
    Copy the mod_jk-2.0.42.dll to the C:\Windows\system32 directory Copy and paste the following at the end of your httpd.conf file:###########################################################
    ## JSP Support
    ## Copied from Tomcat auto-configuration file 
    ## + added JkMount /*.jsp ajp13 
    ## + removed Virtual Host <IfModule !mod_jk.c>
    LoadModule jk_module C:/Windows/system32/mod_jk-2.0.42.dll
    </IfModule> JkWorkersFile "C:/tomcat/conf/workers.properties"
    JkLogFile "C:/tomcat/logs/mod_jk.log" JkLogLevel info JkMount /manager ajp13
    JkMount /manager/* ajp13 JkMount /examples ajp13
    JkMount /examples/* ajp13 JkMount /tomcat-docs ajp13
    JkMount /tomcat-docs/* ajp13 JkMount /webdav ajp13
    JkMount /webdav/* ajp13 JkMount /*.jsp ajp13 Create a new file named workers.properties in the C:\tomcat\conf directory. Copy and paste the following into workers.properties: workers.tomcat_home=C:/tomcat
    workers.java_home=C:/jdk
    ps=\ worker.list=ajp13, ajp14
    worker.ajp13.port=8009
    worker.ajp13.host=localhost
    worker.ajp13.type=ajp13
    worker.ajp13.lbfactor=1 worker.loadbalancer.type=lb
    worker.loadbalancer.balanced_workers=ajp13
    worker.inprocess.type=jni
    worker.inprocess.class_path=$(workers.tomcat_home)$(ps)server$(ps)lib$(ps)catalina.jar
    worker.inprocess.cmd_line=start
    worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)server$(ps)jvm.dll
    worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
    worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr Add the following to C:\tomcat\conf\server.xml after the <Server port="8005" ...> declaration. <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
    modJk="c:/WINDOWS/system32/mod_jk-2.0.42.dll" jkDebug="info"
    workersConfig="C:/tomcat/conf/workers.properties"
    jkLog="C:/tomcat/logs/mod_jk.log"/> Add the following lines after the <Service name="Tomcat-Standalone"> declaration in the server.xml file. <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
    port="8009" minProcessors="5" maxProcessors="75"
    acceptCount="10" debug="0"/> Finally in the server.xml file, after any <Host name="localhost" …> declarations, add a listener: <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" 
    append="true" /> NOTE: Always start Tomcat first and then start Apache. If you have to bounce Tomcat, remember to take down Apache first and restart it after Tomcat restarts. Test the mod_jk configuration
    Open http://localhost/index.jsp in a web browser. You should see the Tomcat test page. ^_^