![]() |
newbie's question for Configuring Tomcat5 and Apache2 with Virtual Hosts using mod_jk
Hi, all
I'm so newbie on Debian box. I have been following Popplewell's tutorial for configuring Apache and Tomcat with mod_jk. As a newbie, a tiny problem can make me frustrated. If anyone remember your newbie's sad memory, please help me. I got errors while I tried to do following steps: ================================================== ===== root@myLinux:/usr/src/jakarta-tomcat-connectors-1.2.15-src/jk/native# ./buildconf.sh rm autom4te.cache libtoolize --force --automake --copy ./buildconf.sh: line 7: libtoolize: command not found aclocal ./buildconf.sh: line 11: aclocal: command not found autoheader ./buildconf.sh: line 13: autoheader: command not found automake -a --foreign --copy ./buildconf.sh: line 15: automake: command not found autoconf ./buildconf.sh: line 17: autoconf: command not found rm autom4te.cache ============================================= Can anyone help me out? In order to create the custom configure file, what do I have to install on my Debian box before excuting "./buildconf.sh" ? Popplewell's tutorial url is: http://www.howtoforge.com/apache2_tomcat5_mod_jk_p2 Thank you in advance. |
Quote:
|
Thank you, Falko.
But I have installed gcc and other development tools. Anyway, after I posted, I figured out. After install apache2-threaded-dev package, there was no problem. Thank you. |
This is an excellent "how-to" - quite possibly the best one available.
As far as configuring Tomcat virtual hosts goes, is it possible to configure a "catch all" in the host field? This would be similar to the Apache <VirtualHost> directive in which one can create a wildcard in the domain, such as *.whatever.com to point to the same document base. Is such a configuration available for Tomcat? |
Tomcat requests hang
Hi,
I'm not sure if anyone's still watching this thread but I'd really appreciate any help you can give me with this setup. I followed all the instructions yet any jsp or servlet requests hang. The Java process sits at about 80-100% CPU consumption so I know it's doing something but I can't find anything in the logs. /usr/tomcat/default/conf/server.xml Code:
<Server port="8005" shutdown="SHUTDOWN">/etc/apache2/sites-available/default Code:
NameVirtualHost 123.45.67.89I have changed the real public IP to 123.45.67.89 and the domain name to maskeddom.co.uk Thanks, Niall |
Problem sorted
Hi,
I've been playing around with the server since my post and I've managed to get things working. I toyed around with the apache2 virtualhosts and restarted the java services and things seem to be ok now. Thanks anyways, Niall |
| All times are GMT +2. The time now is 11:50. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.