Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-07-2007, 04:24 PM   #1
LQ Newbie
Registered: Sep 2005
Location: London
Posts: 10

Rep: Reputation: 0
Apache2.24-Tomcat6.0.1- JK 1.2.21 how to ??

Hello, not sure if I am posting this thread in the correct place, if not please let me know where to post this type of thread and will move it.

I am new to this... so please be gentle
I am trying to set up Apache/Tomcat using the jk1.2.21 connectors on SUSE linux 10.

I have managed to get Apache, working and Tomcat working without any problems.
I am not sure how to do the connectors part and I cannot find any good material on the web on how to do this.

I have followed the following instructions

1. Download

2. Uncompress it and extract the tar file.

3. cd to

4. chmod u+x configure

5. Run configure with:

./configure \
--with-apxs2=<apache-root-directory>/bin/apxs \
--with-tomcat41=<tomcat-root-directory> \
--with-java-home=<java-root-directory> \
--with-jni \

For example:

./configure --with-apxs2=/usr/local/apache/bin/apxs \
--with-tomcat41=/home/tomcat \
--with-java-home=/usr/java \
--with-jni \

6. Run make

7. The two .so files ( and will be


8. Copy those to files to
<apache-root-directory>/modules with the
proper permissions.

9. Configure Apache and Tomcat

10. Restart and enjoy

I enter the following
./configure --with-apxs=usr/local/apache2/bin/apx
and I get the following errors

no apxs given
no apache given
no netscape given
configure: error: Cannot find the WebServer

Does anyone know why i am getting the above errors ?
Do I need to edit the httpd.conf file ? if so what do I edit/enter ?
Do I need netscape ? I am using Konquerer.
Does anyone know of a good reference site for getting this information, i have tried many but none have really helped.

All help greatly appreciated.

Last edited by Idrisk; 03-07-2007 at 04:28 PM.
Old 03-08-2007, 02:04 AM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,655

Rep: Reputation: 1816Reputation: 1816Reputation: 1816Reputation: 1816Reputation: 1816Reputation: 1816Reputation: 1816Reputation: 1816Reputation: 1816Reputation: 1816Reputation: 1816
You have several errors in your ./configure command. Since you're using apache2 you should use "--with-apxs2" in your ./configure. Also the path is not correct. Try:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --other-options
After compiling mod_jk you should follow the instuctions here to configure apache and tomcat to work together.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache2.0.52, t1lib-5.0.2, php-apache2-5.0.2 wizard7423 Slackware 2 04-04-2011 08:09 PM
Apache2 - how to get rid of apache2-default ozymandias Linux - Server 4 09-12-2008 10:27 AM
SuSe Apache2 error: cannot adjust 'apache2' service sir_shunt SUSE / openSUSE 14 04-18-2006 11:36 AM
Apache2 apache2-common WebDav timgerr Linux - Networking 1 08-25-2005 09:41 PM
how to uninstall apache2 which is installed by emerge apache2 flybirdlong Linux - Software 1 07-17-2004 11:46 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration