I've been asking for an example or a working 4.1.29 or 5.0.16
workers2.properties file for a couple weeks now.  Somewhere between 4.1.0
and 4.1.29, the workers2.properties file syntax has changed.  I can get
Apache 2.0.48 to talk to Tomcat 4.1.0 in-process, via mod_jk2.dll (2.0.43),
on W2K without issue.  Apache 2.0.48 doesn't work with Tomcat 4.1.29 using
the same 4.1.0 workers2.properties file...

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Barker
Sent: Wednesday, January 21, 2004 7:57 PM
To: [EMAIL PROTECTED]
Subject: Re: Tomcat 5.0 & mod_jk Configuration


It seems that the Jk2 syntax is:
JkSet config.file /path/to/apache/conf/workers2.properties

Of course, the syntax of workers2.properties is different from Jk1's
workers.properties.  I don't really use Jk2, so I can't comment much on what
you need.  You could try the docs ;-), or (better) search the archives for
one of the many posted examples of a working file.

"Brennon Obst" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Attn: Bill Barker
>
> Dear usergroup,
>
> In my httpd.conf I have added my jk module sucessfully but my syntax
> complains when I declair my workers file as follows.
>
> LoadModule jk2_module modules/mod_jk.dll
>
> #
> # Configure mod_jk - sytax error apparently
> #
> JkWorkersFile conf/workers.properties
> #JkLogFile logs/mod_jk.log
> #JkLogLevel info
>
> The sytax error is:
>
> C:\Program Files\Apache Group\Apache2\bin>apache.exe -t
> Syntax error on line 140 of C:/Program Files/Apache
> Group/Apache2/conf/httpd.con
> f:
> Invalid command 'JkWorkersFile', perhaps mis-spelled or defined by a
> module not
> included in the server configuration
>
> This use to work I am assuming with mod_jk however now it does not.
>
> I am using the guide located here:
> http://raibledesigns.com/tomcat/
>
> Thank you in advance,
>
> /brennon
>
>
> > Thank you for the reply,
> >
> > Could you please clairify a few points.
> > 1. Is the new home available for web access?
>
> It is just a re-packaging, nothing more.  TC 5 doesn't contain the
> o.a.ajp.** packages.
>
> >
> > 2. For <Listener
> > className="org.apache.ajp.tomcat4.config.ApacheConfig"
> > modJk="/usr/local/apache2/modules/mod_jk.so"
> > >>> Is this the same for tomcat 5? (notice ...ajp.tomcat4.config...)?
> >
>
> <Listener className="org.apache.jk.config.ApacheConfig" ... />
> Everything else is the same.
>
> > 3. Is there a new version of the how-to for jk2/Apache2/tomcat5.0 ?
> >
>
> Not yet (As another thread has pointed out, I'm not the best doc writer
> :). The TC 4 docs are still vaild, once you change the package name
> however. Also, ApacheConfig doesn't work with mod_jk2:  It is only for
> mod_jk.
>
> > Thank you in advance,
> >
> > Brennon Obst
> >
> > -----Original Message-----
> > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker
> > Sent: Wednesday, 21 January 2004 4:42 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Tomcat 5.0 & mod_jk Configuration
> >
> >
> > As of 5.0.18, ApacheConfig and friends have moved to their new home in
>
> > the org.apache.jk.config package.  With 5.0.18, there is no change in
> > the functionality.  It may be extended on future releases.
> >
> > "Brennon Obst" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> > > Tomcat 5.0 & mod_jk Configuration
> > > by James Thornton <[EMAIL PROTECTED] PROTECTED] > Dec
> > >
> > <http://www.talkaboutprogramming.com/group/comp.lang.java.programmer/a
> > rc
> > hive
> > > /2003-12-31.html> 31, 2003 at 12:34 AM
> > >
> > >
> > >
> > > What in tomcat 5.0's configuration for mod_jk differs from how you
> > > would
> > >
> > > do it for tomcat 4.x? Is this documented anywhere?
> > >
> > >
> > >
> > > In the tomcat 4.x server.xml, I had:
> > >
> > >
> > >
> > > <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
> > >
> > > modJk="/usr/local/apache2/modules/mod_jk.so" />
> > >
> > >
> > >
> > > Is this the same for tomcat 5? (notice ...ajp.tomcat4.config...)
> > >
> > >
> > >
> > > I tried simply changing it to ...ajp.tomcat5.config... to no avail.
> > >
> > >
> > >
> > > Thanks.
> > >
> > >
> > >
> > > I have posted this exact same thing and also do not have any avenues
>
> > > yet. Can anyone help us out here? thank you in advance,
> > >
> > >
> > > Brennon Obst
> > >
> > >
> > > Java Security Programmer
> > > iEnergy Main Branch
> > > 39 Melbourne St. / Brisbane
> > > p. (617) 3846-6666
> > > [EMAIL PROTECTED]
> > >
> > >
> > >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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]




---------------------------------------------------------------------
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