Bug#292720: tomcat4: Tomcat4 does not start because coyote apparently fails

Thomas Lamy Thomas Lamy <thomas.lamy@in-online.net>, 292720@bugs.debian.org
Mon Jan 31 13:40:15 2005


Package: tomcat4
Version: 4.1.31-2
Severity: grave
Justification: renders package unusable

After upgrading to the latest "Sarge" package tomcat4 no longer starts.
I already googled, but 
1) "example webapps not installed" does not apply here (umm, they're
   installed but commented in server.xml)
2) "Check server.xml and web.xml validity" - I don't know how to do
   that. shouldn't there be some parse errors in the log if that
   applies?

Sorry if this is not a package but a user bug, but I'm clueless now...


Thanks for any response!
   Thomas



>From the log (w/ line wraps intentionally removed):

Using CATALINA_BASE:   /var/lib/tomcat4
Using CATALINA_HOME:   /usr/share/tomcat4
Using CATALINA_TMPDIR: /var/lib/tomcat4/temp
Using JAVA_HOME:       /usr/lib/j2sdk1.4

29.01.2005 02:07:44 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8180
Starting service Tomcat-Standalone
Apache Tomcat/4.1
Catalina.start: LifecycleException:  Context startup failed due to
previous errors
LifecycleException:  Context startup failed due to previous errors
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:3578)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:707)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:316)
        at org.apache.catalina.core.StandardService.start(StandardService.java:450)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:2143)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:463)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)
Stopping service Tomcat-Standalone
Catalina.stop: LifecycleException:  Coyote connector has not been started
LifecycleException:  Coyote connector has not been started
        at org.apache.coyote.tomcat4.CoyoteConnector.stop(CoyoteConnector.java:1296)
        at org.apache.catalina.core.StandardService.stop(StandardService.java:499)
        at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2178)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:494)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.21-4-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages tomcat4 depends on:
ii  adduser                      3.59        Add and remove users and groups
ii  apache-utils                 1.3.33-3    utility programs for webservers
ii  j2re1.3 [java-virtual-machin 1.3.1.02b-2 Blackdown Java(TM) 2 Runtime Envir
ii  j2sdk1.3 [java-compiler]     1.3.1.02b-2 Blackdown Java(TM) 2 SDK, Standard
ii  java-virtual-machine-dummy [ 0.3         Dummy Java virtual machine
ii  libtomcat4-java              4.1.31-2    Java Servlet engine -- core librar

-- no debconf information