I agree on the eForum approach.  On the jk2 issue I went into CVS and
found something interesting in mod_jk2.c:
----------------------
Thu Feb 28 23:35:26 2002 UTC (12 months, 2 weeks ago) by costin
Branch: MAIN
Changes since 1.1: +101 -306 lines
Diff to previous 1.1 (colored)

Finally, the config changed we discussed.

There is only one config directive for mod_jk that we should care:
  JkSet name value

JkSet workersFile  ... will read properties from a file, you can
use it multiple times.

Also "JkSet workersFile urimap.properties" will read a file in the
style used by IIS ( /uri=worker ).
Or
  JkSet /examples ajp13
will do the same as the old "JkMount /examples ajp13" ( or
"/examples=ajp13"
in any properties file ).

Properties file will hopefully be automatically generated, and this
allows
httpd.conf to be used in the exact way with workers.properties ( and
reverse).

The other special directive is JkSetUri, in a <Location> context, which
will
set properties on a uriEnv.

I'll add an equivalent thing, properties-style, and that should be it.
--------------

  So how does that work for passing env vars to Tomcat?  Looks like
maybe the Jk directive functionality may have been disconnected by
intent.  But do we have a replacement for all former Jk directives?

Gerry


--- Chris Dodunski <[EMAIL PROTECTED]> wrote:
> Why not a Tomcat eForum, like those at www.codeguru.com?  Visitors
> can then
> expand only those threads which interest them, and notifyEmail is
> only
> dispatched to the thread initialiser and post authors within that
> thread.
> Problems are not missed, and solutions persist...  Blah blah blah, so
> it
> goes on.  Mailing lists are fine for eCommunities, but not for
> eContinents
> (was that an echo? :-).
> 
> Chris.
> 
> 
> -----Original Message-----
> From: grenoml [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 19 March 2003 1:02 p.m.
> To: Tomcat Users List
> Subject: Re: jk2 and passing env vars
> 
> 
>   I took a look at AJP13 Extension Proposal and it looks at though
> the
> original JkEnvVar should have been inherited from AJP12 into AJP13 so
> it should be working unless someone maybe fubar the old code.  Well,
> we'll see if apache group responds to my bug 12186.
>   I know how you feel about all the emails from these lists.  I wish
> they would add an option to just let you flag topics that you want to
> watch and forget the rest.  I took a yahoo account with 4MB limit
> just
> to discpline myself to manage the different maillist inboxes.  I
> either
> manage it or I cannot send or receive mail - great incentive.
>   And good luck on Netware conversion.
> 
> Gerry
> 
> --- NormW <[EMAIL PROTECTED]> wrote:
> > Good morning Gerry.
> > I'm working with Tomcat on Netware and only got involved because of
> a
> > desire
> > to try JK2;...then find it isn't available for Netware because the
> > way it
> > works internally cannot be easily ported.
> >
> > I downloaded mod_jk2-2.0.43.dll as I'm not set up for compiling
> here,
> > and
> > found that, even with 2.0.43 Apache2 installed (WinNT), the Jk
> > directives
> > were not being recognised in httpd.conf.
> >
> > I had a <Ifmodule mod_jk2.c> directive that WAS being interpreted
> > correctly
> > [mis-spelling the module name would cause Apache to bypass the
> > directives]
> > so I know it could see the module, but not the Directives. Given
> that
> > I
> > couldn't put the dll to much use (I was mostly curious to see the
> > 'status'
> > ouput) I left it at that in hope the next release of JK2 provides
> > docs that
> > allow a functional spec of the module to be derived... from which a
> > port to
> > Netware might be created. Wether this was a bug carried over from
> the
> > source
> > or a corrupted dll I couldn't say, but your experience suggests it
> > might be
> > in the source.
> >
> > On a side note, can't say I'm impressed with the 'everyone gets all
> > the
> > mail' methodology after working with conventional newsgroups... I
> had
> > one
> > simple question and, on one morning alone, got 91 emails...
> > sheesh!...
> > 99.99% I couldn't even answer and not in regard to my question...
> > which is
> > why I'll probably opt out and just read the archives.
> >
> > As far as passing environment vars to Tomcat, I assume that is used
> > when
> > Tomcat is run in a JVM within the Apache web space because there
> > doesn't
> > appear to be any mention of passing vars in the ajp13 protocol
> > description,
> > although it is listed as an enhancement in the proposed ajp13
> upgrade
> > (ajp14?).
> > For now
> > Norm
> >
> > ----- Original Message -----
> > From: "grenoml" <[EMAIL PROTECTED]>
> > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > Sent: Wednesday, March 19, 2003 7:36 AM
> > Subject: Re: jk2 and passing env vars
> >
> >
> > >   Yes, my Apache2 is 2.0.43 and I built mod_jk2.so locally.  BTW,
> > do
> > > you know if there is  bug open on this in bugzilla?  Do you think
> > this
> > > is just a lack of configuration documentation or should this be
> > posted
> > > as a bug?
> > >
> > > Regards,
> > > Gerry
> > >
> > >
> > > --- NormW <[EMAIL PROTECTED]> wrote:
> > > > Good morning.
> > > > If you are using the 2.0.43.dll version of JK2 you are not
> alone.
> > > > N
> > > >
> > > > ----- Original Message -----
> > > > From: "grenoml" <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Wednesday, March 19, 2003 6:14 AM
> > > > Subject: jk2 and passing env vars
> > > >
> > > >
> > > > >   Is the method for passing environment vars between Apache2
> > and
> > > > Tomcat
> > > > > the same for mod_jk and mod_jk2?  I am using jk2 now and when
> I
> > > > tried
> > > > > adding the line: 'JkEnvVar MyEnvVar' to httpd.conf it results
> > in
> > > > this
> > > > > error when starting Apache2:
> > > > > Invalid command 'JkEnvVar', perhaps mis-spelled or defined by
> a
> > > > module
> > > > > not included in the server configuration.
> > > > >   I have the LoadModule directive declared for jk2_module and
> > the
> > > > > connector is working fine otherwise.  Does jk2 not recognize
> > the
> > > > Jk*
> > > > > directives?  It doesn't seem to recognize any of them.
> > > > >
> > > > > Thanks :-)
> > > > >
> > > > >
> > > > >
> > > > > __________________________________________________
> > > > > Do you Yahoo!?
> > > > > Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your
> > > > desktop!
> > > > > http://platinum.yahoo.com
> > > > >
> > > > >
> > > >
> >
> ---------------------------------------------------------------------
> > > > > 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]
> > > >
> > >
> > >
> > > __________________________________________________
> > > Do you Yahoo!?
> > > Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your
> > desktop!
> > > http://platinum.yahoo.com
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> 
=== message truncated ===


__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

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

Reply via email to