ApacheConfig is for mod_jk 1.x.  It won't work for mod_jk2.  For jk2, you
need to run:
CLASSPATH="$CATALINA_HOME/server/lib/tomcat-jk2.jar:\
$CATALINA_HOME/common/endorsed/xercesImpl.jar:\
$CATALINA_HOME/common/endorsed/xmlParserAPI.jar"  \
org.apache.jk.config.WebXml2Jk


"Jeffrey Hinchey" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Using Apache 1.3, Tomcat 4.1 and mod_j2k, and I am really confused on what
do.  The install script for the rpm includes a mod_jk2.conf file, but this
is not there.  And the docs references a workers.properties, but a
workers2.properties is included.  So I am not ture the entries the script
made in httpd for apache are proper.
>
> Basically I figured out I was missing a listener in my tomcat serverl.xml,
so I put this in:
> <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" />
>
> And this did generate a /etc/tomcat4/auto/mod_jk.conf and a empty
/etc/tomcat4/jk directory.
>
> I understand that I need another entry to handle my virtual hosts, but I
wanted to make sure I am headed down the right path.
>
> If someone could post what they have in their server.xml to auto generate
the mod_jk2.conf file, and what I need for a listener statement for the
server and the virtual host, I would sure appreciate it.  I still have some
hair left, I can pull out another day.
>
> (J)





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

Reply via email to