You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Brad O'Hearne <br...@neurofire.com> on 2006/02/21 21:35:52 UTC

Does mod_jk work with Tomcat 5.5?

I downloaded the mod_jk binary for my distribution, and the filename was:

jakarta-tomcat-connectors-jk-1.2.14-linux-sles9-x86_64-worker.so

I placed the file in the httpd modules subdirectory, I then added the 
load directive in my httpd.conf file using the following line:

LoadModule mod_jk 
modules/jakarta-tomcat-connectors-jk-1.2.14-linux-sles9-x86_64-worker.so

When I restarted apache, I received the following output:

Starting httpd: Syntax error on line 207 of /etc/httpd/conf/httpd.conf:
Cannot load 
/etc/httpd/modules/jakarta-tomcat-connectors-jk-1.2.14-linux-sles9-x
86_64-worker.so into server: 
/etc/httpd/modules/jakarta-tomcat-connectors-jk-1.2
.14-linux-sles9-x86_64-worker.so: cannot open shared object file: No 
such file o
r directory

Any ideas? Does mod_jk work with Tomcat 5.5?

Thanks....

Brad



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Does mod_jk work with Tomcat 5.5?

Posted by Francis Galiegue <fg...@gmail.com>.
2006/2/21, Brad O'Hearne <br...@neurofire.com>:
> Francis,
>
> That's just it though. The file *is* there, named exactly right, is has
> the same permissions and is owned by the same owner as all the other
> modules.
>
> Is there something else, perhaps another file, that its looking for?
>

Your worker.properties, maybe? I think you've done it already, though...

Try and ldd the module in question: does it show a missing link?

--
Francis Galiegue, fgaliegue@gmail.com, fg@one2team.com, fg6@wanadoo.fr
One2team - 12bis rue de la Pierre Levée, 75011 Paris - 0143381980
"When it comes to performance, weight is everything" - Tiff Needell

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Does mod_jk work with Tomcat 5.5?

Posted by Brad O'Hearne <br...@neurofire.com>.
Francis,

That's just it though. The file *is* there, named exactly right, is has 
the same permissions and is owned by the same owner as all the other 
modules.

Is there something else, perhaps another file, that its looking for?

Brad

Francis Galiegue wrote:

>2006/2/21, Brad O'Hearne <br...@neurofire.com>:
>[...]
>
>mod_jk does work with tomcat5, we've been using it here for at least 8
>months. Anyway, this error:
>
>  
>
>>Syntax error on line 207 of /etc/httpd/conf/httpd.conf:
>>Cannot load
>>/etc/httpd/modules/jakarta-tomcat-connectors-jk-1.2.14-linux-sles9-x
>>86_64-worker.so into server:
>>/etc/httpd/modules/jakarta-tomcat-connectors-jk-1.2
>>.14-linux-sles9-x86_64-worker.so: cannot open shared object file:
>>---> No such file or directory <---
>>
>>    
>>
>
>... just tells what's wrong: the file is not there. It's probably
>installed somewhere else, just locate it and update the path.
>
>--
>Francis Galiegue, fgaliegue@gmail.com, fg@one2team.com, fg6@wanadoo.fr
>One2team - 12bis rue de la Pierre Levée, 75011 Paris - 0143381980
>"When it comes to performance, weight is everything" - Tiff Needell
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Does mod_jk work with Tomcat 5.5?

Posted by Francis Galiegue <fg...@gmail.com>.
2006/2/21, Brad O'Hearne <br...@neurofire.com>:
[...]

mod_jk does work with tomcat5, we've been using it here for at least 8
months. Anyway, this error:

> Syntax error on line 207 of /etc/httpd/conf/httpd.conf:
> Cannot load
> /etc/httpd/modules/jakarta-tomcat-connectors-jk-1.2.14-linux-sles9-x
> 86_64-worker.so into server:
> /etc/httpd/modules/jakarta-tomcat-connectors-jk-1.2
> .14-linux-sles9-x86_64-worker.so: cannot open shared object file:
> ---> No such file or directory <---
>

... just tells what's wrong: the file is not there. It's probably
installed somewhere else, just locate it and update the path.

--
Francis Galiegue, fgaliegue@gmail.com, fg@one2team.com, fg6@wanadoo.fr
One2team - 12bis rue de la Pierre Levée, 75011 Paris - 0143381980
"When it comes to performance, weight is everything" - Tiff Needell

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org