Thank all of you for your advice.

I solved the problem by doing following:

(1) Remove previously installed Apache 2.0.54 which I installed using YaST.
(2) Download Apache 2.0.54 from apache.org and configure, make, install.
(3) Verify that it is working. (apachectl -k start)
(4) Download jk-1.2.14_1 source from website.
(5) Configure, make, install for connector jk-1.2.14-1.
(6) Move mod_jk.so into modules.
(7) Configure tomcat and restart it. Add line:
  <Engine ...>
    <Listener className="org.apache.jk.config.ApacheConfig"
modJk="/path/to/mod_jk.so" />
  </Engine>
(8) You should have mod_jk.conf in /path/to/tomcat/conf/auto directory. Add that
path to httpd.conf:
Include /path/to/tomcat/conf/jk/mod_jk.conf
(9) Restart Apache. 
(10) :)

Hope this helps to users.

Regards,
Dhaval

--- George Sexton <[EMAIL PROTECTED]> wrote:

> Well, the easiest thing to do is to install the mod_jk binary that suse
> provides. Once you've done that, edit the /etc/sysconfig/apache2 file and
> add mod_jk to the list of modules.
> 
> George Sexton
> MH Software, Inc.
> http://www.mhsoftware.com/
> Voice: 303 438 9585
>   
> 
> > -----Original Message-----
> > From: Dhaval Patel [mailto:[EMAIL PROTECTED] 
> > Sent: Saturday, November 05, 2005 10:06 PM
> > To: users@tomcat.apache.org
> > Subject: Help configuring mod_jk! Apache 2.0.54 + Tomcat 
> > 5.5.12 + SuSE Linux 10.0
> > 
> > Hello,
> > 
> > I installed SuSE 10.0 via DVD. I have added this mirror
> > (ftp://ftp-linux.cc.gatech.edu/pub/opensuse/distribution/SL-10
> .0-OSS/inst-source)
> > as the installation source in YaST so that I don't need DVD in future.
> > 
> > I installed Apache2 (ver. 2.0.54), apache2-debuginfo, 
> > apache2-devel, apache2-doc,
> > apache2-example-pages, apache2-prefork via YaST. I have 
> > downloaded Tomcat 5.5.12
> > from website. Btw. I am using J2SE 1.5.0_05.
> > 
> > The problem that I have is installing mod_jk with above 
> > configuration. I
> > downloaded the linux binary of Tomcat connector aka mod_jk from
> > http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binarie
> s/linux/jk-1.2.14/jakarta-tomcat-connectors-jk-1.2.14-linux->
> sles9-x86_64-prefork.so
> > . I am assuming that is the correct connector. Then I renamed 
> > it to mod_jk.so. I
> > tried two things:
> > 
> > (A) Installation procedure-1
> > Followed guide from
> > http://www.sitepoint.com/article/jsp-quick-start-guide-linux/4
> >  with mod_jk.so in
> > to /usr/lib/apache2/ directory.
> > 
> > (B) Installation procedure-2
> > Followed guide from 
> > http://tomcat.apache.org/connectors-doc/howto/apache.html
> > with mode_jk.so in /usr/lib/apache2/ directory.
> > 
> > In both procedures, I get following error:
> > Syntax error on line 4 of /usr/local/tomcat/conf/auto/mod_jk.conf:
> > Cannot load /usr/lib/apache2/mod_jk.so into server: 
> > /usr/lib/apache2/mod_jk.so:
> > cannot open shared object file: No such file or directory
> > 
> > I verified that I have file on that location and file has 
> > proper access (chmod)
> > attributes. 
> > 
> > I have tried above procedure with the directory 
> > /usr/lib/apache2-prefork
> > directory. Same thing was repeated.
> > 
> > I am very new to tomcat and apache configuration esp. mod_jk. 
> > This is first time
> > I am installing mod_jk. I have seen it getting installed by 
> > my friends earlier
> > (1-2 years ago). I showed the error to them. But they dont 
> > have any clue. They
> > didnt do such things recently. I tried to search help on web 
> > and but could not
> > find proper answer.
> > 
> > Please help me solving this error.
> > 
> > Thank you very much for your help.
> > 
> > 
> > Regards,
> > Dhaval
> > 
> > 
> >             
> > __________________________________ 
> > Yahoo! FareChase: Search multiple travel sites in one click.
> > http://farechase.yahoo.com
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



        
                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to