Comments on Simple Apache 2 Tomcat 5 mod_jk integration
Simple Apache 2 Tomcat 5 mod_jk Integration The whole tutorial is based on many tutorials, but I made a very simple one, with no virtual hosts. The main source of info can be found here: http://www.howtoforge.com/apache2_tomcat5_mod_jk
8 Comment(s)
Comments
If you are looking for a binary distribution of mod_jk for debian: http://objectledge.org/confluence/display/CYKLO2/Installation+Guide. I found that between this site and the one with the binary files I *finally* managed to it going.
Just as a note, you can do the exact same setup for Apache/Tomcat/mod_jk under Windows...
Tomcat and mod_jk for WindowsIn Apache 1.2.26, these instructions need to change slightly to put the JkMount information in the sites-available/default file, as per:
http://marc.info/?l=tomcat-user&m=120164756115289&w=2
Gareth.
Hi!
I followed your tutorial on how to get Tomcat working with Apache2 and it works! I'm so happy :-) Thanx m8!!!
The first part of this tutorial seems to cover not only the installation of Apache 2, but configuring it to serve PHP, too. Why is that? PHP is good, useful, and will probably help the user later. However, it's not necessary for using mod_jk. It makes the tutorial a bit longer and confusing. (At least it's confusing for me, because I can't see why it's included.)
I suggest keeping the tutorial to the topic at hand: installing and configuring mod_jk.
Just used this to integrate Tomcat 5.5.2.7 and Apache 2.2.3 on CentOS5. Thanks.
Hi,
I am not able find the location of mod_jk.so
--------------------------------------------------------------------------------------------------------------------
This is the output after ./buildconf.sh
rm autom4te.cache
libtoolize --force --automake --copy
aclocal
autoheader
automake -a --foreign --copy
autoconf
rm autom4te.cache
--------------------------------------------------------------------------------------------------------------------
This is the output after ./configure --with-apxs=/usr/bin/apxs2
..
building connector for "apache-2.0"
checking for target platform... unix
no apache given
configure: creating ./config.status
config.status: creating Makefile
config.status: creating apache-1.3/Makefile
config.status: creating apache-1.3/Makefile.apxs
config.status: creating apache-2.0/Makefile
config.status: creating apache-2.0/Makefile.apxs
config.status: creating common/Makefile
config.status: creating common/list.mk
config.status: creating jni/Makefile
config.status: creating common/portable.h
config.status: common/portable.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
Hi,
My doubt is , connection between apache2 & tomcat7 . So I installed by using "sudo apt-get install libapache2-mod-jk" command. Right now I am triggering my DNS name over Browser then apache page is showing. but this apache is not hitting with tomcat. So plz help me...!!!!