done did not found a worker 2004-02-10 - By David Rees
Back 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)
|
|