You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by grenoml <gr...@yahoo.com> on 2003/03/18 20:14:43 UTC

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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: jk2 and passing env vars

Posted by NormW <no...@bocnet.com.au>.
G'day (Short)
Thnk U 4 msg.
Sent a msg re list format.
Will C apr13+? doc myself.
Norm

----- Original Message -----
From: "Chris Dodunski" <Ch...@btw.co.nz>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Wednesday, March 19, 2003 12:24 PM
Subject: RE: jk2 and passing env vars


> 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:grenoml@yahoo.com]
> 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 <no...@bocnet.com.au> 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" <gr...@yahoo.com>
> > To: "Tomcat Users List" <to...@jakarta.apache.org>
> > 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 <no...@bocnet.com.au> wrote:
> > > > Good morning.
> > > > If you are using the 2.0.43.dll version of JK2 you are not alone.
> > > > N
> > > >
> > > > ----- Original Message -----
> > > > From: "grenoml" <gr...@yahoo.com>
> > > > To: <to...@jakarta.apache.org>
> > > > 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:
> > tomcat-user-unsubscribe@jakarta.apache.org
> > > > > For additional commands, e-mail:
> > > > tomcat-user-help@jakarta.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > tomcat-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail:
> > tomcat-user-help@jakarta.apache.org
> > > >
> > >
> > >
> > > __________________________________________________
> > > Do you Yahoo!?
> > > Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your
> > desktop!
> > > http://platinum.yahoo.com
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> > tomcat-user-help@jakarta.apache.org
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
> http://platinum.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: JK2 for Linux

Posted by grenoml <gr...@yahoo.com>.
Chris,
  I just downloaded 2.0.2 src to my Linux box and built locally.

Gerry

--- Chris Dodunski <Ch...@btw.co.nz> wrote:
> Hi,
> 
> Apache.org download page for JK2 2.0.1 reports that it is "initial
> release
> quality code", and the JK2 2.0.2 page has no download for Linux.  Is
> there a
> 2.0.2 version for Linux, and if so what is its status regarding
> testing/release?
> 
> Thanks,
> 
> Chris.
> 
> 
>
<<<http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2
> .0.1/>>>
> 
> This is the 2.0.1 release of JK2
> 
> The JK2 should be considered initial-release quality code. It has not
> been
> subjected to the same stresses on its stability and security that the
> mod_jk
> releases have enjoyed, so there is a greater possibility of
> undiscovered
> vulnerabilities to stability or security.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 


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

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


JK2 for Linux

Posted by Chris Dodunski <Ch...@btw.co.nz>.
Hi,

Apache.org download page for JK2 2.0.1 reports that it is "initial release
quality code", and the JK2 2.0.2 page has no download for Linux.  Is there a
2.0.2 version for Linux, and if so what is its status regarding
testing/release?

Thanks,

Chris.


<<<http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2
.0.1/>>>

This is the 2.0.1 release of JK2

The JK2 should be considered initial-release quality code. It has not been
subjected to the same stresses on its stability and security that the mod_jk
releases have enjoyed, so there is a greater possibility of undiscovered
vulnerabilities to stability or security.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: jk2 and passing env vars

Posted by grenoml <gr...@yahoo.com>.
  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 <Ch...@btw.co.nz> 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:grenoml@yahoo.com]
> 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 <no...@bocnet.com.au> 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" <gr...@yahoo.com>
> > To: "Tomcat Users List" <to...@jakarta.apache.org>
> > 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 <no...@bocnet.com.au> wrote:
> > > > Good morning.
> > > > If you are using the 2.0.43.dll version of JK2 you are not
> alone.
> > > > N
> > > >
> > > > ----- Original Message -----
> > > > From: "grenoml" <gr...@yahoo.com>
> > > > To: <to...@jakarta.apache.org>
> > > > 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:
> > tomcat-user-unsubscribe@jakarta.apache.org
> > > > > For additional commands, e-mail:
> > > > tomcat-user-help@jakarta.apache.org
> > > > >
> > > > >
> > > >
> > > >
> >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > tomcat-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail:
> > tomcat-user-help@jakarta.apache.org
> > > >
> > >
> > >
> > > __________________________________________________
> > > Do you Yahoo!?
> > > Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your
> > desktop!
> > > http://platinum.yahoo.com
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> > tomcat-user-help@jakarta.apache.org
> > >
> > >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> 
=== message truncated ===


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

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: jk2 and passing env vars

Posted by Chris Dodunski <Ch...@btw.co.nz>.
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:grenoml@yahoo.com]
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 <no...@bocnet.com.au> 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" <gr...@yahoo.com>
> To: "Tomcat Users List" <to...@jakarta.apache.org>
> 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 <no...@bocnet.com.au> wrote:
> > > Good morning.
> > > If you are using the 2.0.43.dll version of JK2 you are not alone.
> > > N
> > >
> > > ----- Original Message -----
> > > From: "grenoml" <gr...@yahoo.com>
> > > To: <to...@jakarta.apache.org>
> > > 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:
> tomcat-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail:
> > > tomcat-user-help@jakarta.apache.org
> > > >
> > > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> > >
> >
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your
> desktop!
> > http://platinum.yahoo.com
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


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

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: jk2 and passing env vars

Posted by grenoml <gr...@yahoo.com>.
  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 <no...@bocnet.com.au> 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" <gr...@yahoo.com>
> To: "Tomcat Users List" <to...@jakarta.apache.org>
> 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 <no...@bocnet.com.au> wrote:
> > > Good morning.
> > > If you are using the 2.0.43.dll version of JK2 you are not alone.
> > > N
> > >
> > > ----- Original Message -----
> > > From: "grenoml" <gr...@yahoo.com>
> > > To: <to...@jakarta.apache.org>
> > > 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:
> tomcat-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail:
> > > tomcat-user-help@jakarta.apache.org
> > > >
> > > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> > >
> >
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your
> desktop!
> > http://platinum.yahoo.com
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 


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

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: jk2 and passing env vars

Posted by NormW <no...@bocnet.com.au>.
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" <gr...@yahoo.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
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 <no...@bocnet.com.au> wrote:
> > Good morning.
> > If you are using the 2.0.43.dll version of JK2 you are not alone.
> > N
> >
> > ----- Original Message -----
> > From: "grenoml" <gr...@yahoo.com>
> > To: <to...@jakarta.apache.org>
> > 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: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> > tomcat-user-help@jakarta.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
> http://platinum.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: jk2 and passing env vars

Posted by grenoml <gr...@yahoo.com>.
  I opened a bug on this in apache bugzilla: bug 18126.  Please add any
comments to the bug that may be relevant to your observations.

Regards,
Gerry
  
--- grenoml <gr...@yahoo.com> wrote:
>   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 <no...@bocnet.com.au> wrote:
> > Good morning.
> > If you are using the 2.0.43.dll version of JK2 you are not alone.
> > N
> > 
> > ----- Original Message ----- 
> > From: "grenoml" <gr...@yahoo.com>
> > To: <to...@jakarta.apache.org>
> > 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:
> tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> > tomcat-user-help@jakarta.apache.org
> > > 
> > > 
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> > 
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your
> desktop!
> http://platinum.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 


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

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: jk2 and passing env vars

Posted by grenoml <gr...@yahoo.com>.
  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 <no...@bocnet.com.au> wrote:
> Good morning.
> If you are using the 2.0.43.dll version of JK2 you are not alone.
> N
> 
> ----- Original Message ----- 
> From: "grenoml" <gr...@yahoo.com>
> To: <to...@jakarta.apache.org>
> 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: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 


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

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: jk2 and passing env vars

Posted by NormW <no...@bocnet.com.au>.
Good morning.
If you are using the 2.0.43.dll version of JK2 you are not alone.
N

----- Original Message ----- 
From: "grenoml" <gr...@yahoo.com>
To: <to...@jakarta.apache.org>
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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org