I have added this to my http.conf 
LoadModule jk_module modules/mod_jk.so
JkWorkersFile /workers.properties
JkLogFile C:/Program Files/Apache Software Foundation/Tomcat 
6.0/logs/mod_jk.log 
JkLogLevel debug
Alias /examples C:/Program Files/Apache Software Foundation/Tomcat 
6.0/webapps/examples
JkMount /examples/servlet/* testWorker 
JkMount /examples/*.jsp testWorker
<location "/examples/web-inf/">
AllowOverride None 
deny from all 
</location>

The problem is the directory for my workers file is 
c:/Program Files/Apache Software Foundation/Tomcat 6.0/conf
Error message: JKWorkersFile take one arguement.
It seems as though its only read as far as /Apache due to the space between 
Apache and Software.  Is this correct?

Richard.


----- Original Message ----
From: Rainer Jung <[EMAIL PROTECTED]>
To: Tomcat Users List <users@tomcat.apache.org>
Sent: Tuesday, December 18, 2007 4:33:44 PM
Subject: Re: apache and tomcat

You only need to download one of the three files mod_jk-X.Y.Z.so from
the download. X.Y are either 1.3, 2.0 or 2.2, depending on the version
of httpd you want to use.

You put the one file into your modules directory of httpd. You might
want to rename to mod_jk.so if you like.

You add a LoadModule directive

LoadModule jk_module modules/mod_jk.so

to your httpd.conf using the final file name you have chosen /instead of
the example mod_jk.so given here).

Apache httpd will automatically load the module file as a shared
library, because it got configured that way. The file doesn't have to
end in ".dll".

I see no mod_jk-1.3.27.dll come into play if you are using Apache httpd
2.0 or 2.2.

Regards,

Rainer

Richard Dunne schrieb:
> If mod_jk is downloaded a .so as a shared file and placed in the
> modules dir, where does the mod_jk-1.3.27.dll file come from.  This
> is what I am missing.  Should it go in the Apache2 /lib directory?
> 
> Richard.
> 
> 
> ----- Original Message ---- From: Rainer Jung
> <[EMAIL PROTECTED]> To: Tomcat Users List
> <users@tomcat.apache.org> Sent: Tuesday, December 18, 2007 4:08:53 PM
>  Subject: Re: apache and tomcat
> 
> Richard Dunne schrieb:
>> I downloaded mod_jk-apache-1.3.27.so from
> 
> Note: 1.3.27. For Apache 2.0.x you need to use the file 
> mod_jk-apache-2.0.59.so, for 2.2.x the file mod_jk-apache-2.2.4.so. 
> Apache httpd version 1.3.x, 2.0.x and 2.2.x need different module
> files.
> 
>> http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.25/
>>  as suggested.  Renamed the file mod_jk.so and copied the file to
>> my Apache2 modules directory.  When I rebooted and tried to start
>> the server I got a message saying c:/Program Files/Apache 
>> Group/Apache2/modules/mod_jk-1.3.26.dll could not be loaded, module
>>  could not be found.  I thought that is what I just downloaded!
>> Can anyone advise?
> 
> After you downloaded the correct file, it isn't really important,
> which name you give it. mod_jk.so is just convention. What is
> important though, that you use the same file name in your LoadLibrary
>  configuration diretive in httpd.conf. So if you rename to mod_jk.so 
> that's fine, but then you shouldn't use the file name
> mod_jk-1.3.26.dll in the httpd configuration.
> 
>> Richard.
> 
> Regards,
> 
> Rainer

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

Reply via email to