Hi -


First, the correct connector to use with mod_jserv is org.apache.tomcat.service.connector.Ajp12ConnectionHandler, not org.apache.ajp.tomcat4.Ajp13Connector (at least, for Tomcat 3.1 which I still use).

If you're using Tomcat 4.1, my advice is to switch to mod_jk or mod_jk2. In my opinion, mod_jk is "closest" to mod_jserv in functionality and design. There are numerous HOWTOs available for mod_jk, including my own:

http://www.johnturner.com/howto

John


Olivier Marie wrote:
Hello all

Tomcat works alone (port 8080)
Apache works too.

When i try to display a JSP page, i obtain in mod_jserv.log :
(EMERGENCY) ajp12[1]: cannot scan servlet headers  (500)
(ERROR) an error returned handling request via protocol "ajpv12"

I use jserv_module to permits apache to communicate with tomcat.
I have in my server.xml :
    <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="8007" minProcessors="5" maxProcessors="75"
               acceptCount="10" debug="0"/>

What must i have in my tomcat.conf (included in apache/conf/httpd.conf) ?
I'm trying an old tomcat.conf, but it specifies AJPv12, so i think it's the
origin of my pb :
<IfModule mod_jserv.c>
# Do not edit!
ApJServManual on
ApJServDefaultProtocol ajpv12
ApJServSecretKey DISABLED
ApJServMountCopy on
ApJServLogLevel notice
### Change if you run tomcat on a different host
#ApJServDefaultHost localhost
ApJServDefaultPort 8007

I tried ApJServDefaultProtocol ajpv13 but it seems to be less simple than
that...
Thanks for advices and excuse me for the poor level of my configuration
knowledge.

Olivier


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




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



Reply via email to