Re: cvs commit: jakarta-tomcat-connectors/jk/xdocs/jk2 configwebcom.xml

2004-04-15 Thread NormW
10,000 apologies!
There should be a law against operating a computer while under the influence
of haste.
But discern you knew who I meant even if I didn't actually type it and
I've been on the end of similar typo's myself, so know where you are coming
from.
Nrom

- Original Message - 
From: "Angus Mezick" <[EMAIL PROTECTED]>
To: "Tomcat Developers List" <[EMAIL PROTECTED]>
Sent: Thursday, April 15, 2004 11:09 PM
Subject: RE: cvs commit: jakarta-tomcat-connectors/jk/xdocs/jk2
configwebcom.xml


AHH NO NOT AGNUS!!!  Sigh, such is my life :)

--aNGus

> -Original Message-
> From: NormW [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 15, 2004 5:18 AM
> To: Tomcat Developers List
> Subject: Re: cvs commit:
> jakarta-tomcat-connectors/jk/xdocs/jk2 configwebcom.xml
>
>
> Good evening... and rats...(kind of).
> I'd just started putting jk2_get_most_suitable_worker() into
> pseudocode
> myself, but glad that it has finally been done in any case.
> For those that
> haven't looked at the code, it will come as a surprise to learn the
> magnitude of the decision making process.
> Thanks to you and Angus.
> Norm
>
> - Original Message - 
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, April 15, 2004 4:32 PM
> Subject: cvs commit: jakarta-tomcat-connectors/jk/xdocs/jk2
> configwebcom.xml
>
>
> > mturk   2004/04/14 23:32:33
> >
> >   Modified:jk/xdocs/jk2 configwebcom.xml
> >   Log:
> >   Update few missing docs. Thanks to Agnus Mezick.

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



RE: cvs commit: jakarta-tomcat-connectors/jk/xdocs/jk2 configwebcom.xml

2004-04-15 Thread Angus Mezick
AHH NO NOT AGNUS!!!  Sigh, such is my life :)

--aNGus

> -Original Message-
> From: NormW [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, April 15, 2004 5:18 AM
> To: Tomcat Developers List
> Subject: Re: cvs commit: 
> jakarta-tomcat-connectors/jk/xdocs/jk2 configwebcom.xml
> 
> 
> Good evening... and rats...(kind of).
> I'd just started putting jk2_get_most_suitable_worker() into 
> pseudocode
> myself, but glad that it has finally been done in any case. 
> For those that
> haven't looked at the code, it will come as a surprise to learn the
> magnitude of the decision making process.
> Thanks to you and Angus.
> Norm
> 
> - Original Message - 
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, April 15, 2004 4:32 PM
> Subject: cvs commit: jakarta-tomcat-connectors/jk/xdocs/jk2 
> configwebcom.xml
> 
> 
> > mturk   2004/04/14 23:32:33
> >
> >   Modified:jk/xdocs/jk2 configwebcom.xml
> >   Log:
> >   Update few missing docs. Thanks to Agnus Mezick.

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



Re: cvs commit: jakarta-tomcat-connectors/jk/xdocs/jk2 configwebcom.xml

2004-04-15 Thread NormW
Good evening... and rats...(kind of).
I'd just started putting jk2_get_most_suitable_worker() into pseudocode
myself, but glad that it has finally been done in any case. For those that
haven't looked at the code, it will come as a surprise to learn the
magnitude of the decision making process.
Thanks to you and Angus.
Norm

- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 15, 2004 4:32 PM
Subject: cvs commit: jakarta-tomcat-connectors/jk/xdocs/jk2 configwebcom.xml


> mturk   2004/04/14 23:32:33
>
>   Modified:jk/xdocs/jk2 configwebcom.xml
>   Log:
>   Update few missing docs. Thanks to Agnus Mezick.
>
>   Revision  ChangesPath
>   1.17  +109 -37
jakarta-tomcat-connectors/jk/xdocs/jk2/configwebcom.xml
>
>   Index: configwebcom.xml
>   ===
>   RCS file:
/home/cvs/jakarta-tomcat-connectors/jk/xdocs/jk2/configwebcom.xml,v
>   retrieving revision 1.16
>   retrieving revision 1.17
>   diff -u -r1.16 -r1.17
>   --- configwebcom.xml 13 Mar 2004 07:33:24 - 1.16
>   +++ configwebcom.xml 15 Apr 2004 06:32:33 - 1.17
>   @@ -156,26 +156,26 @@
>Default
>Description
>
>   -
>   -file
>   -No default value
>   -Name of the file that will be mmapped to
use as shared memory, If set to 'anonymous' use the anonymous shered
memory
>   -
>   -
>   -size
>   -No default value
>   -Deprecated. Size of the file.
>   -
>   -
>   -slots
>   -256
>   -Number of shared memory slots. Set to the
number of child processes
>   -
>   -
>   -useMemory
>   -0
>   -Use process memory instead of shared
memory. Useful for single child mpm's
>   -
>   +
>   +file
>   +No default value
>   +Name of the file that will be mmapped to
use as shared memory, If set to 'anonymous' use the anonymous shered
memory
>   +
>   +
>   +size
>   +No default value
>   +Deprecated. Size of the file.
>   +
>   +
>   +slots
>   +256
>   +Number of shared memory slots. Set to the
number of child processes
>   +
>   +
>   +useMemory
>   +0
>   +Use process memory instead of shared
memory. Useful for single child mpm's
>   +
>
>
>
>   @@ -346,10 +346,18 @@
>
>lb_factor
>1
>   -
>   -Load balancing factor to use. At this moment, it'll be set on the
worker,
>   -but in future it should be possible to use lb on a channel level.
>   -  
>   +Load balancing factor to use. The lower
the lb_factor the more often that tomcat will get requests but see
>   +"level" below.
>   +
>   +
>   +level
>   +1
>   +Worker Priority.  Valid values are 0-3.
The functioning workers with the lowest level
>   +will be checked for the lowest
lb_value, and if found will be run.  The upper level workers are
>   +only checked upon failure of all
workers on ALL of the levels below them.  This is very
>   +useful for implementing failover
withing a cluster.  You could set the tomcat server local
>   +on the same machine as the apache
instance to level 0 and all of the other workers to level 1.
>   +This would cause apache to only use the
external tomcats when the local tomcat is down.
>
>
>group
>   @@ -359,8 +367,13 @@
>
>tomcatId
>Automatically set to the localname (
host:port )
>   -Must match the JVM route on tomcat
Engine, for load balancing
>   +M

Re: Re: cvs commit: jakarta-tomcat-connectors/jk/xdocs/jk2 configwebcom.xml

2004-03-14 Thread Guenter Knauf
Oh, how I love this: 
the one idiot's virus replies to the other idiot's virus or something like that!!
VERY GREAT! Well, one more, and I (and probably 20 more) unsubscribe! That makes no 
fun anymore here on the list!!!
now since the viruses reply to each other anyway no real human poster is necessary any 
more to keep traffic on the list.

> --- [EMAIL PROTECTED] wrote:
>> This account does not exist
>>
>>
>>
>>
> -
>> To unsubscribe, e-mail:
>> [EMAIL PROTECTED]
>> For additional commands, e-mail:
>> [EMAIL PROTECTED]
>>


> __
> Do you Yahoo!?
> Yahoo! Mail - More reliable, more storage, less spam
> http://mail.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]



Re: Re: cvs commit: jakarta-tomcat-connectors/jk/xdocs/jk2 configwebcom.xml

2004-03-14 Thread Lee

--- [EMAIL PROTECTED] wrote:
> This account does not exist
> 
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com

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



Re: cvs commit: jakarta-tomcat-connectors/jk/xdocs/jk2 configwebcom.xml

2004-03-14 Thread Lee

--- NormW <[EMAIL PROTECTED]> wrote:
> Good day, or it will be for you in about 6 hours or
> so (we're +10 GMT)
> 
> >
> >
> > > From: NormW
> > >
> > > >
> > > > Perhaps in 2.0.5
> > > * Suggested mainly for consistency with most of
> the other
> > > objects, but it also now has enough properties
> that could
> > > appear in a qry= dump.
> >
> > Well, you may always make a patch :-).
> Okay, it seems a useful challenge; I'll see what I
> can pull together
> 
> > > And lastly, the configwebcom.xml indicates the
> default value
> > > for "slots" is 256, but the program
> > > if (!shm->slotMaxCount)
> > > shm->slotMaxCount = 1;
> > > suggests rather that it is 1, AFAICT.
> > >
> >
> > No, It's a sanity check if someone puts solts=0 in
> config, and for
> potential
> > settings from server side.
> > The default value is defined by
> DEFAULT_SLOT_COUNT, and it is set when the
> > shm object is created.
> * Checking for sanity should be done more often.
>  :-)
> 
> > > Thanks again, and will now have to focus on
> Novell.
> > > Have a Good Morning && Good Day && Good Evening
> && Good Night!
> > > Norm
> > >
> >
> > I'm from Croatia (GMT+1) :-)
> >
> > MT.
> >
> Thanks for taking the time to reply. Will be back
> with a patch 'soon', but
> don't wait for me...
> Norm
> 
> >
>
-
> > 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! Mail - More reliable, more storage, less spam
http://mail.yahoo.com

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



Re: Re: cvs commit: jakarta-tomcat-connectors/jk/xdocs/jk2 configwebcom.xml

2004-03-14 Thread ax
This account does not exist



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



Re: cvs commit: jakarta-tomcat-connectors/jk/xdocs/jk2 configwebcom.xml

2004-03-14 Thread NormW
Good day, or it will be for you in about 6 hours or so (we're +10 GMT)

>
>
> > From: NormW
> >
> > >
> > > Perhaps in 2.0.5
> > * Suggested mainly for consistency with most of the other
> > objects, but it also now has enough properties that could
> > appear in a qry= dump.
>
> Well, you may always make a patch :-).
Okay, it seems a useful challenge; I'll see what I can pull together

> > And lastly, the configwebcom.xml indicates the default value
> > for "slots" is 256, but the program
> > if (!shm->slotMaxCount)
> > shm->slotMaxCount = 1;
> > suggests rather that it is 1, AFAICT.
> >
>
> No, It's a sanity check if someone puts solts=0 in config, and for
potential
> settings from server side.
> The default value is defined by DEFAULT_SLOT_COUNT, and it is set when the
> shm object is created.
* Checking for sanity should be done more often.  :-)

> > Thanks again, and will now have to focus on Novell.
> > Have a Good Morning && Good Day && Good Evening && Good Night!
> > Norm
> >
>
> I'm from Croatia (GMT+1) :-)
>
> MT.
>
Thanks for taking the time to reply. Will be back with a patch 'soon', but
don't wait for me...
Norm

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



RE: cvs commit: jakarta-tomcat-connectors/jk/xdocs/jk2 configwebcom.xml

2004-03-13 Thread Mladen Turk
 

> From: NormW
> 
> >
> > Perhaps in 2.0.5
> * Suggested mainly for consistency with most of the other 
> objects, but it also now has enough properties that could 
> appear in a qry= dump.

Well, you may always make a patch :-).

> And lastly, the configwebcom.xml indicates the default value 
> for "slots" is 256, but the program
> if (!shm->slotMaxCount)
> shm->slotMaxCount = 1;
> suggests rather that it is 1, AFAICT.
> 

No, It's a sanity check if someone puts solts=0 in config, and for potential
settings from server side.
The default value is defined by DEFAULT_SLOT_COUNT, and it is set when the
shm object is created.

> Thanks again, and will now have to focus on Novell.
> Have a Good Morning && Good Day && Good Evening && Good Night!
> Norm
> 

I'm from Croatia (GMT+1) :-)

MT.


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



Re: Re: cvs commit: jakarta-tomcat-connectors/jk/xdocs/jk2 configwebcom.xml

2004-03-13 Thread ax
This account does not exist



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



Re: cvs commit: jakarta-tomcat-connectors/jk/xdocs/jk2 configwebcom.xml

2004-03-13 Thread NormW
Good... what ever part of the day pleases... :-)

Another look at the new shm.c and would comment on a design point, perhaps
to consider for 2.0.5.

The setAttributes() list for shm.c includes a 'resetEndpointStats' element,
which is not a 'property' of shm but a means to reset its counters as
such it is actually closer to a method for the shm object. It is a matter of
design interpretation, but I see setAttributes() as a mechanism for setting
the value of a property rather than an alternate means to call local object
functions.

My $0.02.
Norm

> Hi,
>
> > -Original Message-
> > From: NormW
> > jakarta-tomcat-connectors/jk/xdocs/jk2 configwebcom.xml
> >
> > Good morning.
>
> It depends where :-)
>
> > In looking at the new shm, note the following:
> >
> > 1. SHM no longer works on NetWare with either file option.
> > ... will have to look into that.
> >
>
> Good. It shouldn't, cause shm is not officially supported on Netware.
> That's why I've added the memory (changed to useMemory) option, where the
> mapping is done using plain allocated memory.
> That enables to use the stats and lb factors consistently.
> If you wish that useMemory will be the default behavior disable the apr's
> APR_HAS_SHARED_MEMORY flag.
>
> Since you have only single child process shm is not needed after all.
> I think that shm was planned to be the communication channel too, but that
> was never implemented.
>
> > 2. Is it possible to have a 'slots' 'auto' option that gets
> > the value from either the platform or the build rather than a
> > hard coded 256?
> >
>
> Perhaps in 2.0.5
> But I'll see if I can put that to workerEnv
>
> > 3. Can the shm 'memory' option be changed to 'memoryType' so
> > that it more self-explanatory. [memory=0 isn't.]
> >
>
> Changed to useMemory.
>
> > 4. The fourth line added should read "...memory. If set to
> > 'anonymous' use the anonymous shared memory".
> >
> > 5. The second last line added should read "Use the process
> > memory..." I think.
> >
> > 6. Can the size, file, slots and memory[Type] properties be
> > added to a shm getAttribute method?
> >
>
> Perhaps in 2.0.5
>
> > Thanks for any feedback,
> > Norm
> >
>
>
> -
> 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]



Re: Re: cvs commit: jakarta-tomcat-connectors/jk/xdocs/jk2 configwebcom.xml

2004-03-13 Thread ax
This account does not exist



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



Re: cvs commit: jakarta-tomcat-connectors/jk/xdocs/jk2 configwebcom.xml

2004-03-13 Thread NormW
Good morning Mladen.
Okay, a little bluff. The sun isn't quite up but the sky is clear. The Good
morning is as much to indicate that this project is a global thing as it is
a social sense.
Thanks for the time and consideration given the 'ideas' sent.

> Hi,
>
> > -Original Message-
> > From: NormW
> > jakarta-tomcat-connectors/jk/xdocs/jk2 configwebcom.xml
> >
> > Good morning.
>
> It depends where :-)
* True, but one can only describe their experience and regards.

> > In looking at the new shm, note the following:
> >
> > 1. SHM no longer works on NetWare with either file option.
> > ... will have to look into that.
> >
>
> Good. It shouldn't, cause shm is not officially supported on Netware.
> That's why I've added the memory (changed to useMemory) option, where the
> mapping is done using plain allocated memory.
> That enables to use the stats and lb factors consistently.
> If you wish that useMemory will be the default behavior disable the apr's
> APR_HAS_SHARED_MEMORY flag.
>
> Since you have only single child process shm is not needed after all.
> I think that shm was planned to be the communication channel too, but that
> was never implemented.
* Sniff... we had it for a while, and now it's gone again, but that might be
the basis to prod Novell's own developers.

> > 2. Is it possible to have a 'slots' 'auto' option that gets
> > the value from either the platform or the build rather than a
> > hard coded 256?
> >
>
> Perhaps in 2.0.5
> But I'll see if I can put that to workerEnv

> > 3. Can the shm 'memory' option be changed to 'memoryType' so
> > that it more self-explanatory. [memory=0 isn't.]
> >
>
> Changed to useMemory.
* Thanks.

> > 4. The fourth line added should read "...memory. If set to
> > 'anonymous' use the anonymous shared memory".
> >
> > 5. The second last line added should read "Use the process
> > memory..." I think.
> >
> > 6. Can the size, file, slots and memory[Type] properties be
> > added to a shm getAttribute method?
> >
>
> Perhaps in 2.0.5
* Suggested mainly for consistency with most of the other objects, but it
also now has enough properties that could appear in a qry= dump.
> > Thanks for any feedback,
> > Norm
> >
And lastly, the configwebcom.xml indicates the default value for "slots" is
256, but the program
if (!shm->slotMaxCount)
shm->slotMaxCount = 1;
suggests rather that it is 1, AFAICT.

Thanks again, and will now have to focus on Novell.
Have a Good Morning && Good Day && Good Evening && Good Night!
Norm

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



RE: cvs commit: jakarta-tomcat-connectors/jk/xdocs/jk2 configwebcom.xml

2004-03-12 Thread Mladen Turk
 Hi,

> -Original Message-
> From: NormW
> jakarta-tomcat-connectors/jk/xdocs/jk2 configwebcom.xml
> 
> Good morning.

It depends where :-)

> In looking at the new shm, note the following:
> 
> 1. SHM no longer works on NetWare with either file option. 
> ... will have to look into that.
> 

Good. It shouldn't, cause shm is not officially supported on Netware.
That's why I've added the memory (changed to useMemory) option, where the
mapping is done using plain allocated memory.
That enables to use the stats and lb factors consistently.
If you wish that useMemory will be the default behavior disable the apr's
APR_HAS_SHARED_MEMORY flag.

Since you have only single child process shm is not needed after all.
I think that shm was planned to be the communication channel too, but that
was never implemented.

> 2. Is it possible to have a 'slots' 'auto' option that gets 
> the value from either the platform or the build rather than a 
> hard coded 256?
> 

Perhaps in 2.0.5
But I'll see if I can put that to workerEnv

> 3. Can the shm 'memory' option be changed to 'memoryType' so 
> that it more self-explanatory. [memory=0 isn't.]
> 

Changed to useMemory.

> 4. The fourth line added should read "...memory. If set to 
> 'anonymous' use the anonymous shared memory".
> 
> 5. The second last line added should read "Use the process 
> memory..." I think.
> 
> 6. Can the size, file, slots and memory[Type] properties be 
> added to a shm getAttribute method?
> 

Perhaps in 2.0.5

> Thanks for any feedback,
> Norm
> 


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



Re: cvs commit: jakarta-tomcat-connectors/jk/xdocs/jk2 configwebcom.xml

2004-03-12 Thread NormW
Good morning.
In looking at the new shm, note the following:

1. SHM no longer works on NetWare with either file option. ... will have to
look into that.

2. Is it possible to have a 'slots' 'auto' option that gets the value from
either the platform or the build rather than a hard coded 256?

3. Can the shm 'memory' option be changed to 'memoryType' so that it more
self-explanatory. [memory=0 isn't.]

4. The fourth line added should read "...memory. If set to 'anonymous' use
the anonymous shared memory".

5. The second last line added should read "Use the process memory..." I
think.

6. Can the size, file, slots and memory[Type] properties be added to a shm
getAttribute method?

Thanks for any feedback,
Norm


- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 13, 2004 6:33 AM
Subject: cvs commit: jakarta-tomcat-connectors/jk/xdocs/jk2 configwebcom.xml


> mturk   2004/03/12 11:33:24
>
>   Modified:jk/xdocs/jk2 configwebcom.xml
>   Log:
>   Some docs about new shm directives.
>
>   Revision  ChangesPath
>   1.15  +21 -11
jakarta-tomcat-connectors/jk/xdocs/jk2/configwebcom.xml
>
>   Index: configwebcom.xml
>   ===
>   RCS file:
/home/cvs/jakarta-tomcat-connectors/jk/xdocs/jk2/configwebcom.xml,v
>   retrieving revision 1.14
>   retrieving revision 1.15
>   diff -u -r1.14 -r1.15
>   --- configwebcom.xml 10 Mar 2004 09:36:39 - 1.14
>   +++ configwebcom.xml 12 Mar 2004 19:33:24 - 1.15
>   @@ -156,16 +156,26 @@
>Default
>Description
>
>   -
>   -file
>   -No default value
>   -Name of the file that will be mmapped to
use as shared memory.
>   -
>   -
>   -size
>   -No default value
>   -Size of the file.
>   -
>   +
>   +file
>   +No default value
>   +Name of the file that will be mmapped to
use as shared memory, if set to 'anonymous' use the anonymous shered
memory
>   +
>   +
>   +size
>   +No default value
>   +Deprecated. Size of the file.
>   +
>   +
>   +slots
>   +256
>   +Number of shared memory slots. Set to the
number of child processes
>   +
>   +
>   +memory
>   +0
>   +Use the precess memory instead of shared
memory. Useful for single child mpm's
>   +
>
>
>
>
>
>
>
> -
> 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]



Re: cvs commit: jakarta-tomcat-connectors/jk/xdocs/jk2 configwebcom.xml

2004-03-10 Thread ax
This account does not exist



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