Use the following to avoid those warnings:

[uri:localhost/*.jsp]
group=ajp13:localhost:8009

mod_jk2 Version 2.0.0 isn't too recent either, try upgrading.

At 09:33 13.07.2003 +0200, you wrote:
That's not the issue!!

1.I add at httpd.conf :JkSet config.file
/full/system/path/to/workers2.properties
2. I receive a message like the following : [notice] uriEnv.setAttribute()
the worker directive is depriciated
    for EVERY Uri mapping ( like [uri:localhost/*.jsp]
                                               worker=ajp13:localhost:8009)
    so the workers2.properties file is read!

bentzy.

My "workers2.properties":

# only at beginnin. In production uncomment it out
[logger.apache2]
level=DEBUG

[shm]
file=/usr/local/apache2/logs/shm.file
size=1048576

[uriMap:]
debug=0

# Example socket channel, override port and host.
[channel.socket:localhost:8009]
debug=0
port=8009
host=127.0.0.1

# define the worker
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

# Uri mapping
#[uri:127.0.0.1:/*.jsp]
[uri:localhost/*.jsp]
worker=ajp13:localhost:8009

#[uri:www.home.net/*.jsp]
#worker=ajp13:localhost:8009

#[uri:www.customer1.it/*.jsp]
#worker=ajp13:localhost:8009

#[uri:www.customer2.net/*.jsp]
#worker=ajp13:localhost:8009

I receive a message like the following :

[Thu Jul 10 16:41:08 2003] [notice] uriEnv.setAttribute() the worker
directive is depriciated

for every  Uri mapping, so the  workers2.properties file is read!
-----Original Message-----
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 2:49 PM
To: Tomcat Users List
Subject: Re: [FAQ] Re: Apache 2.0.43 + mod_jk2 + Tomcat 4.1.24 on LINUX RH8
: (



Sounds good to me.

John

On Thu, 10 Jul 2003 23:10:03 -0400 (EDT), Eric J. Pinnell <[EMAIL PROTECTED]>
wrote:

> I throw this against the wall and see what sticks...
>
> JK2 doesn't seem to be using my settings in my workers2.properties file
> such as creating the shm file or mapping the URIs listed to Tomcat,
> what's
> wrong?
>
> JK2 is not finding your workers2.properties file.  Specify it's location
> in your httpd.conf file by adding:
>
> JkSet config.file /full/system/path/to/workers2.properties
>
> ?????
>
> -e
>
>
> On Thu, 10 Jul 2003, Tim Funk wrote:
>
>> OK - I read the thread. Can someone summarize this one into a question
>> and
>> answer?
>>
>> -Tim
>>
>> Tim Funk wrote:
>> > Duly noted (now I just have to read the what is below (and the rest of
>> > the thread)
>> >
>> > -Tim
>> >
>> > John Turner wrote:
>> >
>> >>
>> >> This should probably go in the FAQ under miscellaneous.
>> >>
>> >> John
>> >>
>> >> On Thu, 10 Jul 2003 11:29:48 -0400 (EDT), Eric J. Pinnell
>> >> <[EMAIL PROTECTED]> wrote:
>> >>
>> >>> Hi,
>> >>>
>> >>> I think we did this last week... with RH8.  The solution was to put
>> >>>
>> >>> JkSet config.file /full/system/path/to/workers2.properties
>> >>>
>> >>> in the httpd.conf file.  Many times JK2 doesn't see your properties
>> file
>> >>> and takes some wierd kind of self initiated defaults.
>> >>>
>> >>> -e
>> >>>
>> >>> On Thu, 10 Jul 2003, Bentzy Sagiv wrote:
>> >>>
>> >>>>
>> >>>> My goal is to setup Apache 2.0.43 + mod_jk2 + Tomcat 4.1.24 on
>> LINUX
>> >>>> RH8
>> >>>>
>> >>>> I'm following the HOWTO at
>> >>>> http://jakarta.apache.org/tomcat/tomcat-4.1-
>> doc/jk2/jk2/vhosthowto.html
>> >>>>
>> >>>> I download mod jk_2 from
>> >>>> http://jakarta.apache.org/builds/jakarta-tomcat-
>> >>>> connectors/jk2/release/v2.0.
>> >>>> 1/bin/linux/i386/mod_jk2-2.0.43.so
>> >>>>
>> >>>> I add to the original httpd.conf file:
>> >>>>
>> >>>>     ServerName 127.0.0.1:80 and
>> >>>>     LoadModule jk2_module modules/mod_jk2.so
>> >>>>
>> >>>> I copy the workers2.properties from the HOWTO as is(just changed
>> >>>> ../apache/.. to ../apache2/.. )
>> >>>>
>> >>>> I start Tomcat,it works and catalina.out looks OK.
>> >>>> I start Apache,it works and error_log looks BAD: caught SIGTERM,
>> >>>> shutting
>> >>>> down :(
>> >>>>
>> >>>> [Thu Jul 10 16:41:02 2003] [notice] caught SIGTERM, shutting down
>> >>>> [Thu Jul 10 16:41:08 2003] [notice] uriEnv.setAttribute() the
>> worker
>> >>>> directive is depriciated
>> >>>> [Thu Jul 10 16:41:08 2003] [notice] uriEnv.setAttribute() the
>> worker
>> >>>> directive is depriciated
>> >>>> [Thu Jul 10 16:41:08 2003] [notice] uriEnv.setAttribute() the
>> worker
>> >>>> directive is depriciated
>> >>>> [Thu Jul 10 16:41:08 2003] [notice] uriEnv.setAttribute() the
>> worker
>> >>>> directive is depriciated
>> >>>> [Thu Jul 10 16:41:08 2003] [notice] Apache/2.0.43 (Unix)
>> mod_jk2/2.0.0
>> >>>> configured -- resuming normal operations
>> >>>> [Thu Jul 10 16:41:08 2003] [notice] workerEnv.init() ok
>> >>>> /usr/local/apache2/conf/workers2.properties
>> >>>> [Thu Jul 10 16:41:08 2003] [notice] mod_jk child init 1 -1
>> >>>> [Thu Jul 10 16:41:08 2003] [notice] workerEnv.init() ok
>> >>>> /usr/local/apache2/conf/workers2.properties
>> >>>> [Thu Jul 10 16:41:08 2003] [notice] mod_jk child init 1 -1
>> >>>> [Thu Jul 10 16:41:08 2003] [notice] workerEnv.init() ok
>> >>>> /usr/local/apache2/conf/workers2.properties
>> >>>> [Thu Jul 10 16:41:08 2003] [notice] mod_jk child init 1 -1
>> >>>> [Thu Jul 10 16:41:08 2003] [notice] workerEnv.init() ok
>> >>>> /usr/local/apache2/conf/workers2.properties
>> >>>> [Thu Jul 10 16:41:08 2003] [notice] mod_jk child init 1 -1
>> >>>> [Thu Jul 10 16:41:08 2003] [notice] workerEnv.init() ok
>> >>>> /usr/local/apache2/conf/workers2.properties
>> >>>> [Thu Jul 10 16:41:08 2003] [notice] mod_jk child init 1 -1
>> >>>> [Thu Jul 10 16:41:26 2003] [notice] workerEnv.init() ok
>> >>>> /usr/local/apache2/conf/workers2.properties
>> >>>> [Thu Jul 10 16:41:26 2003] [notice] mod_jk child init 1 -1
>> >>>>
>> >>>>
>> >>>> What the hell is the problem?
>> >>>>
>> >>>> Please your help!!
>> >>>>
>> >>>> bentzy
>> >>>>
>> >>>>
>> >>>>
>> >>>> --------------------------------------------------------------------
>>
>>
>> -
>> >>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >>>> For additional commands, e-mail: tomcat-user-
>> [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]
>
>



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

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