Hi Dhaval Are you the same Dhaval Patel from Chico State ilango Dhaval Patel <[EMAIL PROTECTED]> wrote: Thanks again to all of you.
First I was thinking about trying mod_jk via YaST. Then I looked up the version in YaST. It was something like 4.1.30 (mod_jk-ap20), which I wasn't sure whether it is suitable to my setup (Apache 2.0.54 + Tomcat 5.5.12). So I decided to build apache by myself. Few things I like about this. I learned the process. Now my apache files (modules, logs, htdocs, etc.) are in single location. YaST is the best if you want to use default server setup. I still have my old httpd conf files as backup for review. I will read it and try to achive it with my setup. Sometimes I like YaST but sometimes I want to go with hard way. Regards, Dhaval --- George Sexton wrote: > You really did it the hard way. Here are the steps for SuSE: > > 1) Install Apache 2.0 from Yast > 2) Install mod_jk from yast > 3) Add mod_jk to /etc/sysconfig/apache2 modules list > 4) Add mod_jk commands to /etc/apache2/conf.d files, or > /etc/apache2/vhosts.d files > > > George Sexton > MH Software, Inc. > http://www.mhsoftware.com/ > Voice: 303 438 9585 > > > > -----Original Message----- > > From: Dhaval Patel [mailto:[EMAIL PROTECTED] > > Sent: Monday, November 07, 2005 8:49 AM > > To: Tomcat Users List > > Subject: RE: Help configuring mod_jk! Apache 2.0.54 + Tomcat > > 5.5.12 + SuSE Linux 10.0 > > > > 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: > > > > > > modJk="/path/to/mod_jk.so" /> > > > > (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 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] > > > > > > > --------------------------------------------------------------------- > 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] --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click.