• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Apache dies on Tomcat install

H

Hal9000

Guest
When installing the Tomcat packages via ./autoupdater, these errors are spitted out:

Code:
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:
Code:
[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!
 
yeah I got Debian 4.0 as well

Code:
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
 
the support told me plesk 8.2 only supports tomcat 5, but still working on it ...
 
well, i got tomcat 5.0 now, but still its broken.
when trying to start it, apache dies...
hal
 
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 ...
 
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
 
Back
Top