If you are using mod_jk and NOT mod_jk2 then this file's content makes no
difference in your configuration.
You need to tell apache to use the workers.properties NOT the
workers2.properties in your httpd.conf file
-Dave
At 11:58 AM 2/10/2004, you wrote:
>But Dave you didn't address this stuff below?
>I think this is where I'm having the most problems.
>
>##=====================================
>##Other needed configuratoin(s)
>##=====================================
>##define the shared memory file
>
>[shm]
>file=/usr/local/tomcat-4.1.24/work/jk2.shm
>file=1048576
>
>## Define the communication channel
>
>[channel.socket:localhost:8009]
>#tomcatId=localhost:8009
>port=8009
>host=127.0.0.1
>
>#define the worker
>[balance_all_workers:localhost:8009]
>channel=channel.socket:localhost:8009
>
>
>
>
>#Uri mapping
>[uri:saturn.temple.edu/examples/*]
>#worker=ajp13:localhost:8009
>worker=balance_all_workers:localhost:8009
>
>[uri:saturn.temple.edu/developers/*]
>#worker=ajp13:localhost:8009
>worker=balance_all_workers:localhost:8009
>
>[uri:saturn.temple.edu/product/*]
>#worker=ajp13:localhost:8010
>worker=balance_all_workers:localhost:8010
>
>[uri:saturn.temple.edu/uPortal/*]
>#worker=ajp13:localhost:8010
>worker=balance_all_workers:localhost:8010
>
>
>#[status:]
>
>#info=Status worker, displays runtime information
>channel=channel.socket:localhost:8009
>
>#[uri:/status/*]
>#worker=status:localhost:8009
>#group=status:
>
>
>David Rees wrote:
>
>>Dwayne Ghant wrote, On 2/9/2004 7:02 PM:
>>
>>>Dave, I have been having semular issues would it be impossible for to
>>>post the four files listed below:
>>>
>>>1. http.conf
>>>2. ssl.conf
>>>3. server.xml
>>>4. workers2.properties
>>
>>
>>Here's a sample for setting up Apache. This will work on either Apache
>>2.0.X or Apache 1.3.X, and mod_jk 1.2.5. Any version of Tomcat will
>>work, use the example connector config included with every default
>>server.xml as it varies a little between Tomcat versions.
>>
>>httpd.conf
>># This only shows the portions relevant to mod_jk, you should stick the
>># lines somewhere in your config file. This config also works for
>># Apache 1.3.X as well as Apache 2.0.X.
>>-------
>>LoadModule jk_module modules/mod_jk.so
>>
>>JkWorkersFile <path-to-apache-conf>/tomcat_workers.properties
>>JkLogFile <path-to-apache-logs>/mod_jk.log
>>JkLogLevel error
>>
>><VirtualHost *:80>
>> ServerName www.example.com
>> JkMount /*.jsp tomcat
>> JkMount /servlet/* tomcat
>></VirtualHost>
>>-------
>>
>><path-to-apache-conf>/tomcat_workers.properties
>>-------
>>worker.list=tomcat
>>worker.tomcat.port=8007
>>worker.tomcat.host=localhost
>>worker.tomcat.type=ajp13
>>-------
>>
>>That's it!
>>
>>-Dave
>> aka the mod_jk "expert"
>> NOT a mod_jk2 "expert"!
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>>For additional commands, e-mail: tomcat-user-help@(protected)
>
>--
>
>Dwayne A. Ghant
>Application Developer
>Temple University
>215.204.5555
>dghant@(protected)
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>For additional commands, e-mail: tomcat-user-help@(protected)
David G. O'Brien
Web Services Coordinator / Systems Administrator
NACCRRA
The Nation's Network of Child Care Resource & Referral
1319 F Street NW, Suite 500
Washington, DC 20004
(202) 393-5501 ext. 113
(202) 393-1109 fax
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)