Before posting the message I read the http://www.acg-gmbh.de/mod_jk/ 
but I thought that the mod_jk.dll was not good in relation to the notes.
It was an error from me.
But It doesn't work. I can start Apache an Tomcat but I can not
run my web applications. When I start Tomcat no web application
is deployed.

I have a question why the AddModule expression is not added
to the httpdconf ? is this expression present in the  mod_jk.conf-auto ?

The link http://www.cnr.berkeley.edu/~salazar/apache_tomcat.html is very
interesting, but the notion of <Host name="localhost" debug="0"
appbase="webapps"> 
is noted and I don't have any such element in the server.xml file.
I think that that the <Listener
className="org.apache.ajp.tomcat4.config.ApacheConfig" append="true" /> is
optional, isn't it ? If the web applications are automatically
deployed we don't have context elements in the server.xml.
What is the best solution ?
I added only the <Listener
className="org.apache.ajp.tomcat4.config.ApacheConfig">
element but I don't know if I must add a closed tag </Listener> and where ?
With this line I can not start Tomcat and the log gives no help.

Can somebody send me a server.xml file that allow to enable apache auto
configuration ?
Thanks a lot.


-----Original Message-----
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: 31 July 2002 15:06
To: 'Tomcat Users List'
Subject: RE: Help Apache2.0 with Tomcat4 (mod_jk or mod_jk2 or
mod_webapp ?)



My advice is to use mod_jk.  Mod_jk2 is still new, and there are some issues
with mod_webapp that prevent it from being ready for production in my
opinion.

These may help:
http://www.acg-gmbh.de/mod_jk/ (you need the mod_jk.dll file from here)
http://www.cnr.berkeley.edu/~salazar/apache_tomcat.html
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html

John Turner
[EMAIL PROTECTED]

-----Original Message-----
From: Heligon Sandra [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 8:54 AM
To: '[EMAIL PROTECTED]'
Subject: Help Apache2.0 with Tomcat4 (mod_jk or mod_jk2 or mod_webapp ?)



        Hi,

        I am working on a web application.
        I used the default Tomcat4.0.4 configuration until now.
        (standalone mode execution).
        I would like to use Apache and Tomcat together but I don't      
        understand what I must do.
        The configuration is very hard, there are a lot of elements
        httpd.conf, server.xml, mod_jk.dll or mod_jk2.dll or
mod_webapp.dll...
        I don't know what module I must use ?
        
        My environment is the following:
        - Windows 2000
        - Tomcat4.0.4 (I believe that the new version 4.1 is better with JSP
but it implies
        new configuration yet)
        - Apache2.0.39 (it's the last stable version, I believe)

        I don't know the new features of mod_jk2 vs mod_jk vs mod_webapp.
        Do I have to create a <context> element for each web application
with mod_jk
        or can each application deploy automatically ?

        If I want to use mod_jk2, how can I get the mod_jk.dll associated to
Tomcat4.0.4
        and Apache2.0.39 ?

        I read that it is possible to enable Apache -Tomcat automatically
with include
        the file mod_jk.conf-auto in the httpd.conf.
        How is the mod_jk.conf-auto file generated ?
        
        Thanks a lot 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]>

Reply via email to