You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Santhosh C N <sa...@hotmail.com> on 2002/11/19 15:03:27 UTC

Need help in apache-tomcat integration

Hi All,
I've done the integration of modssl and apache on my Aix 5.1 box as per the 
link:
http://www.modssl.org/source/exp/mod_ssl/pkg.mod_ssl/INSTALL..

After this when I'm trying to integrate the tomcat and Apache, I'm facing 
difficulty in getting my tomcat and Apache integrated. I've got my mod_jk.so 
for Aix from:
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.0/bin/

The Tomcat version is 4.0.6 and Apache is 1.3.27. All the configs and makes 
go thru fine.. And I've inserted the following statements into my 
/usr/local/apache/conf/httpd.conf for the mod_jk to get loaded:

   # The following line instructs Apache to load the jk module
   LoadModule jk_module libexec/mod_jk.so
   <IfModule mod_jk.c>
   JkWorkersFile 
"/var/UDDIPreReq/jakarta-tomcat-4.0.6/conf/workers.properties"
   JkLogFile "/var/UDDIPreReq/jakarta-tomcat-4.0.6/logs/mod_jk.log"
   JkLogLevel error
   </IfModule>

For some reason, when I try to start my apache, I get this error:

aix-2:/usr/local>/usr/local/apache/bin/apachectl startssl
Syntax error on line 1235 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/mod_jk.so into server: No such file or 
dir
ectory
/usr/local/apache/bin/apachectl startssl: httpd could not be started

The line 1235 has the LoadModule command, for which tells a syntax error.. 
Could someone help me to come out of this error? We appreciate any help in 
this regard. Thanks for ur time!

Regards,
Santosh.

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Need help in apache-tomcat integration

Posted by Kent Perrier <kp...@ev1.net>.
On Tue, 2002-11-19 at 08:03, Santhosh C N wrote:
> aix-2:/usr/local>/usr/local/apache/bin/apachectl startssl
> Syntax error on line 1235 of /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/local/apache/libexec/mod_jk.so into server: No such file or 
> dir
> ectory
> /usr/local/apache/bin/apachectl startssl: httpd could not be started
> 
> The line 1235 has the LoadModule command, for which tells a syntax error.. 
> Could someone help me to come out of this error? We appreciate any help in 
> this regard. Thanks for ur time!
> 

Not to sound like a smart ass, but is mod_jk.so in your
/usr/local/apache/libexec directory?  

Kent

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>