You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Yann Sagon <ys...@hasa.ch> on 2001/08/14 18:46:07 UTC
mod_jk.so + apache
Hi,
I'm very new to tomcat + apache.
I've dowmloaded tomcat 3.2.3 and mod_jk.so (eapi)
I'v installed tomcat as a standalone version without problem.
Now, I want to use it with apache and some virtual hosts.
I have a probleme with the configuration of apache (I guess).
I have mod_jk.so in /etc/httpd/libexec/mod_jk.so
in my httpd.conf:
...
nb: those lines comes before mod_rewrite.so
LoadModule jk_module libexec/mod_jk.so
AddModule mod_jk.c
##Configuration de mod_jk.c
JkWorkersFile /usr/local/tomcat-3.2.3/conf/workers.properties
JkLogFile /usr/local/apache/logs/mod_jk.log
JkLogLevel info
...
and then, some virtual hosts:
...
<VirtualHost 192.168.100.50:80>
DocumentRoot /raid/ysagon/web
ServerName yanndev.local.hasa.ch
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
</VirtualHost>
...
My probleme:
when I try to start apache:
#apachectl start
Starting httpd: Syntax error on line 774 of /etc/httpd/conf/httpd.conf:
Invalid command 'JkMount', perhaps mis-spelled or defined by a module
not included in the server configuration
[FAILED]
Thank you
Yann Sagon
Re: mod_jk.so + apache
Posted by "Bernard T. Higonnet" <hi...@world.std.com>.
Yann Sagon wrote:
> Hi,
>
> I'm very new to tomcat + apache.
>
> I've dowmloaded tomcat 3.2.3 and mod_jk.so (eapi)
> I'v installed tomcat as a standalone version without problem.
>
> Now, I want to use it with apache and some virtual hosts.
In case you aren't a French native speaker, write back for a translation!
Moi j'ai installé mod_jk.so (trouvé suite à votre indication) dans un
serveur Apache 1.3.19 avec deux serveurs virtuels.
J'ai utilisé le mod_jk.conf-auto produit par Tomcat, et après avoir
pataugé un peu pour donner de bonnes valeurs à "Alias" pour définir la
racine de la zone servlets j'ai pu exécuter les exemples,
ostensiblement sans problème à travers Apache.
Chose curieuse, mod_jk.conf-auto ne comporte pas de ligne "AddModule
mod_jk.c".....
Hope this helps, and thanks for your previous answer.
BTH
--
BT Higonnet
22 rue Nicolo
75116 Paris
Re: mod_jk.so + apache
Posted by Yann Sagon <ys...@hasa.ch>.
matt a écrit :
>
> how did you know you wanted the eapi mod_jk rather than non?
I didn't know.
I've tried with both of them.
With the noeapi, apache don't start.
I'm using Mandrake, so I guess that they use an enhanced version of
apache.
Yann Sagon
Re: mod_jk.so + apache
Posted by matt <ma...@paycom.net>.
how did you know you wanted the eapi mod_jk rather than non?
Re: mod_jk.so + apache
Posted by Yann Sagon <ys...@hasa.ch>.
Jonathon Wallen a écrit :
>
> >
> >My probleme:
Thanks but no, it doesn't change something.
> you have this line in your httpd.conf -
> LoadModule jk_module libexec/mod_jk.so
>
> maybe it should be -
> LoadModule jk_module /etc/httpd/libexec/mod_jk.so
>
> I'm just as new to this as you are so I'm probably wrong :)
Re: mod_jk.so + apache
Posted by Yann Sagon <yp...@hasa.ch>.
Le Mercredi 15 Août 2001 22:47, vous avez écrit :
> I place mod_jk.so in my /etc/httpd/modules directory and then used
> LoadModule jk_module modules/mod_jk.so
>
> in httpd.conf. Either case, check where your mod_jk.so file is and set the
> LoadModule directive to it. Either absolute or relative path to /etc/httpd
> should work.
>
> I'm also on a Mandrake 8 box, so individual OS and/or Apache install
> mileage may very.
>
Hi,
Yes, I've checked it. If I give a wrong path, apache complains about it. So
it doesn't seems to be that.
Yann Sagon
Re: mod_jk.so + apache
Posted by David Smith <dn...@cornell.edu>.
I place mod_jk.so in my /etc/httpd/modules directory and then used
LoadModule jk_module modules/mod_jk.so
in httpd.conf. Either case, check where your mod_jk.so file is and set the
LoadModule directive to it. Either absolute or relative path to /etc/httpd
should work.
I'm also on a Mandrake 8 box, so individual OS and/or Apache install mileage
may very.
--David Smith
On Tuesday 14 August 2001 09:09 pm, you wrote:
> >My probleme:
> >when I try to start apache:
> >
> >#apachectl start
> >Starting httpd: Syntax error on line 774 of /etc/httpd/conf/httpd.conf:
> >Invalid command 'JkMount', perhaps mis-spelled or defined by a module
> >not included in the server configuration
> > [FAILED]
> >
> >Thank you
> >
> >Yann Sagon
>
> you have this line in your httpd.conf -
> LoadModule jk_module libexec/mod_jk.so
>
> maybe it should be -
> LoadModule jk_module /etc/httpd/libexec/mod_jk.so
>
> I'm just as new to this as you are so I'm probably wrong :)
Re: mod_jk.so + apache
Posted by Jonathon Wallen <z2...@student.unsw.edu.au>.
>
>My probleme:
>when I try to start apache:
>
>#apachectl start
>Starting httpd: Syntax error on line 774 of /etc/httpd/conf/httpd.conf:
>Invalid command 'JkMount', perhaps mis-spelled or defined by a module
>not included in the server configuration
> [FAILED]
>
>Thank you
>
>Yann Sagon
you have this line in your httpd.conf -
LoadModule jk_module libexec/mod_jk.so
maybe it should be -
LoadModule jk_module /etc/httpd/libexec/mod_jk.so
I'm just as new to this as you are so I'm probably wrong :)
--
- ____________________________
- Jonathon Wallen
- B,DES College of Fine Arts, UNSW
- z2213441@student.unsw.edu.au
- jwal707@cse.unsw.edu.au
- jonathon@fridge.unsw.edu.au
- ____________________________