Hi Paul

try using the connector

  <!-- 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"/>
perhaps your mod_jk isn't a JK2-compatible mod_jk

Georg

"Anderson, M. Paul" schrieb:

> Thanks to everyone who has helped me thus far...I think I am almost there...
>
> My current setup allows me to enter
> http://localhost:8080:/MyServletName/ServletMappedName and the servlet
> displays and works as designed.  I can also type
> http://localhost:8080/Hello.jsp to test a jsp page and this works fine.
> This is all when I start Tomcat as standalone.
>
> I then say "cool" and start up apache and enter http://localhost/Hello.jsp
> and I can once again see my Hello.jsp test page!  I am excited!  I then type
> in http://localhost/MyServletName/ServletMappedName believing that I will
> now see my Servlet and what happens to my surprise???  I get a page not
> found error!  If I type in the original
> http://localhost:8080/MyServletName/ServletMappedName my servlet runs as
> expected which makes sense since Tomcat is listening on that port.  I have
> changed the port that tomcat listens on to 80 but this makes no difference -
> the pages display properly for standalone but only the jsp page displays
> when apache is running.
>
> I don't understand why I can see my jsp pages fine when Apache is running
> but not the servlet?????  Can someone PLEASSSSSSEEEE  HELP ME!!!!! (Again)
>
> Also, mod_jk.log is recording these messages which might have something to
> do with it but I don't know how to interpret them:
>
> [Tue Nov 19 10:23:28 2002]  [jk_ajp13_worker.c (848)]: In
> jk_endpoint_t::service, send_request failed in send loop 0
> [Tue Nov 19 10:23:29 2002]  [jk_connect.c (143)]: jk_open_socket, connect()
> failed errno = 61
> [Tue Nov 19 10:23:29 2002]  [jk_ajp13_worker.c (196)]: In
> jk_endpoint_t::connect_to_tomcat, failed errno = 61
> [Tue Nov 19 10:23:29 2002]  [jk_ajp13_worker.c (635)]: Error connecting to
> the Tomcat process.
> [Tue Nov 19 10:23:29 2002]  [jk_ajp13_worker.c (848)]: In
> jk_endpoint_t::service, send_request failed in send loop 1
> [Tue Nov 19 10:23:30 2002]  [jk_connect.c (143)]: jk_open_socket, connect()
> failed errno = 61
> [Tue Nov 19 10:23:30 2002]  [jk_ajp13_worker.c (196)]: In
> jk_endpoint_t::connect_to_tomcat, failed errno = 61
> [Tue Nov 19 10:23:30 2002]  [jk_ajp13_worker.c (635)]: Error connecting to
> the Tomcat process.
> [Tue Nov 19 10:23:30 2002]  [jk_ajp13_worker.c (848)]: In
> jk_endpoint_t::service, send_request failed in send loop 2
>
> Here are my setup files:
>
> httpd.conf:
>
> Added these lines to the bottom of the file:
>
> <IfModule !mod_jk.c>
>   LoadModule jk_module c:/WINNT/system32/mod_jk.dll
> </IfModule>
>
> JkWorkersFile "D:/Apache Group/Tomcat 4.1/conf/workers.properties"
> JkLogFile "D:/Apache Group/Tomcat 4.1/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
>
> *********************************************
> Added this line to server.xml after <server port=8005...> (Yes the drive
> letters are correct):
>   <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
> modJk="C:/WINNT/system32/mod_jk.dll" jkDebug="info" workersConfig="D:/Apache
> Group/Tomcat 4.1/conf/workers.properties" jkLog="D:/Apache Group/Tomcat
> 4.1/logs/mod_jk.log" />
>
> **********************************************
> I am using this connector in server.xml:::
>
>   <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
> port="8009" minProcessors="5" maxProcessors="75" enableLookups="true"
> redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="20000"
> useURIValidationHack="false"
> protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler" />
>
> **********************************************************
> Added this line after <host name = localhost...>
> <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
> append="true" />
>
> --
> 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]>

Reply via email to