View Full Version : Apache dies on Tomcat install
Hal9000
17th July 2007, 05:18 AM
When installing the Tomcat packages via ./autoupdater, these errors are spitted out:
Module webapp does not exist!
Shared object mod_jk2.so not found in /usr/lib/apache2/modules...skipped.
and apache dies, i need to start it manually.
the apach log says just this:
[Tue Jul 17 11:08:10 2007] [notice] caught SIGTERM, shutting down
tomcat appears not to be running in plesk. whenever i try to start it, apache dies.
what can i do?
thanks!
danliker
17th July 2007, 06:55 AM
same problem here with debian 4.0, waiting for the swsoft support ...
Hal9000
19th July 2007, 03:35 AM
yeah I got Debian 4.0 as well
root@fonzie:~# dpkg -l | grep tomcat
ii libtomcat5-java 5.0.30-12 Java Servlet engine -- core libraries
ii psa-tomcat-configurator 8.2.0-debian4.0.build82070706.15 tomcat configurator is simple script, that a
ii tomcat5 5.0.30-12 Java Servlet 2.4 engine with JSP 2.0 support
ii tomcat5-admin 5.0.30-12 Java Servlet engine -- admin web interfaces
ii tomcat5-webapps 5.0.30-12 Java Servlet engine -- documentation and exa
I upgraded to Tomcat 5.5 after dist-upgrade, maybe I screwed something up there? Dunno, anyhow neither version works now...
Please let me know what SWSoft will tell you :)
hal
danliker
19th July 2007, 06:42 AM
the support told me plesk 8.2 only supports tomcat 5, but still working on it ...
Hal9000
19th July 2007, 06:55 AM
well, i got tomcat 5.0 now, but still its broken.
when trying to start it, apache dies...
hal
danliker
19th July 2007, 07:07 AM
yes, thats it, the support still searching the problem ...
danliker
20th July 2007, 04:09 AM
support is very slow this days ....
i found this:
ally:~# apt-get install psa-tomcat-configurator
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
psa-tomcat-configurator
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/21.5kB of archives.
After unpacking 123kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
psa-tomcat-configurator
Install these packages without verification [y/N]? y
Selecting previously deselected package psa-tomcat-configurator.
(Reading database ... 97151 files and directories currently installed.)
Unpacking psa-tomcat-configurator (from
.../psa-tomcat-configurator_8.2.0-debian4.0.build82070706.15_i386.deb) ...
Setting up psa-tomcat-configurator (8.2.0-debian4.0.build82070706.15) ...
Trying to establish test connection... connected
done
Checking for the system groups and users necessary for Tomcat...
Checking for the group 'tomcat'...
Group 'tomcat' already exists
Checking for the user 'tomcat'...
User 'tomcat' already exists
Making chown and chmod under JDK stuff
Trying to set up Tomcat permissions... done
Module webapp does not exist!
Shared object mod_jk2.so not found in /usr/lib/apache2/modules...skipped.
i think this could be a problem there is no mod_jk2 on debian 4.0 as i know ...
pedropadron
16th August 2007, 01:53 AM
I had a similar problem in my Ubuntu6.06
I wanted to run my tomcat apps throught port 80. When the WAR archive was uploaded, Plesk added the following into my httpd.include file:
<IfModule mod_jk2.c>
<Location "/sample">
RemoveHandler .jsp .jws .cfm .cfml .cfc
JkUriSet worker ajp13:localhost:9008
</Location>
</IfModule>
The problem was that mod_jk2.so wasn't installed...
And wasn't even available on default apt sources.
I found out this:
http://wiki.nerdylorrin.net/wiki/Wiki.jsp?page=TomcatApacheConnector
mod_jk2 has been discontinued in 2004
So I downloaded and installed the .deb package:
http://www.mirrorservice.org/sites/ftp.debian.org/debian/pool/main/liba/libapache2-mod-jk2/
I hope this helps someone out there
see ya,
Pedro Padron
vBulletin® v3.6.12, Copyright ©2000-2008, Jelsoft Enterprises Ltd.