Just a tip...
Did you have any spaces in the directory path to apache.exe? If so - mod_jk.dll would
not load!!
bye
Andreas
-----Urspr�ngliche Nachricht-----
Von: Frederick Aubert [SMTP:[EMAIL PROTECTED]]
Gesendet am: Freitag, 12. Juli 2002 13:44
An: Tomcat Users List
Betreff: Re: Cannot load mod_jk.dll into server!
Hi,
I am experiencing more or less the same problem. I just got an hand on a
mod_jk version (120kb) and Apache is telling me it can't load it properly
(module not found) although the mod_jk.dll is correctly located and the path
is set to match its location...
However a couple of monthes ago, I did succeed with Apache 2.0.35 and Tomcat
4.0.4. But now when I upgraded to Apache 2.0.39 and Tomcat 4.1.7 it doesn't
work anymore. Besides when I am using the mod_jk.dll I used to use (70kb)
then I am being told to check for a newer version of the mod_jk.dll. Does it
make any sense?
If anyone succeeded, or did succeed with any other connector under these
settings, then please write me ;O)
Sincerely, Frederick Aubert
PS: my settings are pretty much the same as the one Jacob's suggested...
> Hi Gunter,
>
> Try the following which I know works (change the paths to suit your
setup)....
>
> put the following in Apache's httpd.conf:
>
> Include "C:/Program Files/Apache
> Group/Jakarta/tomcat-4.1.7/conf/jk/mod_jk.conf"
>
>
> put the following in Tomcat's mod_jk.conf:
>
> <IfModule !mod_jk.c>
> LoadModule jk_module modules/mod_jk.dll
> </IfModule>
>
> JkWorkersFile
> "c:/Progra~1/Apache~1/Jakarta/tomcat-4.1.7/conf/jk/workers.properties"
> JkLogFile "c:/Progra~1/Apache~1/Jakarta/tomcat-4.1.7/logs/mod_jk.log"
>
> JkLogLevel info
>
> <VirtualHost localhost>
> ServerName localhost
>
> JkMount /webdav ajp13
> JkMount /webdav/* ajp13
>
> JkMount /tomcat-docs ajp13
> JkMount /tomcat-docs/* ajp13
>
> JkMount /examples ajp13
> JkMount /examples/* ajp13
>
> JkMount /manager ajp13
> JkMount /manager/* ajp13
> </VirtualHost>
>
>
> Put the following in your workers.properties:
>
> workers.tomcat_home=$(CATALINA_HOME)
> workers.java_home=$(JAVA_HOME)
> ps=\
> worker.list=ajp13, ajp14
> worker.ajp13.port=8009
> worker.ajp13.host=localhost
> worker.ajp13.type=ajp13
> worker.ajp13.lbfactor=1
> worker.ajp13.cachesize=8
> worker.ajp14.port=8011
> worker.ajp14.host=localhost
> worker.ajp14.type=ajp14
> worker.ajp14.secretkey=mysupersecretkey
> worker.ajp14.credentials=mysuperveryrandomentropy
> worker.ajp14.lbfactor=1
> worker.ajp14.cachesize=8
> worker.loadbalancer.type=lb
> worker.loadbalancer.balanced_workers=ajp13
> worker.inprocess.type=jni
>
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)server${ps}lib$(ps)cata
> lina.jar
> worker.inprocess.cmd_line=start
>
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)server$(ps)j
> vm.dll
> worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
> worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr
>
>
> There you go. If that doesn't work, something else is wrong.
>
> Jake
>
>
>
> At 10:28 AM 7/11/2002 +0200, you wrote:
>> I've tried several possible ways of writing C:\Apache\modules\mod_jk.dll but
>> with no luck. But when I check the file properties of the dll then I can see
>> that "Last accessed" is always set to the datetime when I last ran "apache
>> -t" so I think this should mean that apache DOES find the dll but cannot
>> load it properly...
>>
>> Can anybody help me out?
>>
>> Gunter
>>
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED]]On
>> Behalf Of Ralph Einfeldt
>> Sent: donderdag 11 juli 2002 10:08
>> To: Tomcat Users List
>> Subject: AW: Cannot load mod_jk.dll into server!
>>
>>
>> Obviously your mod_jk.conf is found.
>>
>> One guess: Make shure that c:\Apache\modules\mod_jk.dll
>> is exactly equal to the real path (including case), normally
>> windows isn't case sensitive but some applications are.
>> (Can't remember if this is a problem for apache, my last
>> install of apache under windows is to long ago)
>>
>>> -----Urspr�ngliche Nachricht-----
>>> Von: Gunter D'Hondt [mailto:[EMAIL PROTECTED]]
>>> Gesendet: Donnerstag, 11. Juli 2002 09:38
>>> An: 'Tomcat Users List'
>>> Betreff: RE: Cannot load mod_jk.dll into server!
>>>
>>>
>>> <IfModule !mod_jk.c>
>>> LoadModule jk_module c:\Apache\modules\mod_jk.dll
>>> </IfModule>
>>>
>>> JkWorkersFile "c:\progra~1\apache~1.0\conf\jk\workers.properties"
>>> JkLogFile "c:\progra~1\apache~1.0\logs\mod_jk.log"
>>>
>>> JkLogLevel info
>>>
>>> <VirtualHost localhost>
>>> ServerName localhost
>>>
>>> JkMount /webdav ajp13
>>> JkMount /webdav/* ajp13
>>>
>>> JkMount /tomcat-docs ajp13
>>> JkMount /tomcat-docs/* ajp13
>>>
>>> JkMount /examples ajp13
>>> JkMount /examples/* ajp13
>>>
>>> JkMount /manager ajp13
>>> JkMount /manager/* ajp13
>>> </VirtualHost>
>>>
>>>
>>>
>>> Gunter
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: [EMAIL PROTECTED]
>>> [mailto:[EMAIL PROTECTED]]On
>>> Behalf Of Ralph Einfeldt
>>> Sent: donderdag 11 juli 2002 09:33
>>> To: Tomcat Users List
>>> Subject: AW: Cannot load mod_jk.dll into server!
>>>
>>>
>>> Can you show us your LoadModule directive ?
>>>
>>> The log doesn't complain about not finding mod_jk.conf
>>> but mod_jk.dll.
>>>
>>>> -----Urspr�ngliche Nachricht-----
>>>> Von: Gunter D'Hondt [mailto:[EMAIL PROTECTED]]
>>>> Gesendet: Donnerstag, 11. Juli 2002 09:22
>>>> An: 'Tomcat Users List'
>>>> Betreff: Cannot load mod_jk.dll into server!
>>>>
>>>> C:\Apache\bin>apache -t
>>>> Syntax error on line 4 of C:/Program Files/Apache Tomcat
>>>> 4.0/conf/auto/mod_jk.conf:
>>>> Cannot load C:/Apache/modules/mod_jk.dll into server: The
>>>> specified module could not be found.
>>>>
>>>
>>> --
>>> To unsubscribe, e-mail:
>> <mailto:[EMAIL PROTECTED]>
>> For additional commands, e-mail:
>> <mailto:[EMAIL PROTECTED]>
>>
>>
>> --
>> To unsubscribe, e-mail:
>> <mailto:[EMAIL PROTECTED]>
>> For additional commands, e-mail:
>> <mailto:[EMAIL PROTECTED]>
>>
>>
>> --
>> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
>> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
---------------------------------------------------------------
("`-''-/").___..--''"`-._
`6_ 6 ) `-. ( ).`-.__.`) Frederick Aubert
(_Y_.)' ._ ) `._ `. ``-..-'
_..`--'_..-_/ /--'_.' ,' [EMAIL PROTECTED]
(il),-'' (li),' ((!.-'
---------------------------------------------------------------
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>