← Back to team overview

openjdk team mailing list archive

[Bug 288616] Re: Tomcat 6 fails to start during install

 

This bug was fixed in the package openjdk-6 - 6b14-0ubuntu3

---------------
openjdk-6 (6b14-0ubuntu3) jaunty; urgency=low

  * Update IcedTea build infrastructure (20081217).
  * Add support for PARISC.
  * Use a default jvm.cfg if the jvm.cfg doesn't yet exist after unpacking
    the runtime package. LP: #288616.

 -- Matthias Klose <doko@xxxxxxxxxx>   Wed, 17 Dec 2008 09:58:26 +0100

** Changed in: openjdk-6 (Ubuntu)
       Status: New => Fix Released

-- 
Tomcat 6 fails to start during install
https://bugs.launchpad.net/bugs/288616
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “java-common” source package in Ubuntu: New
Status in “openjdk-6” source package in Ubuntu: Fix Released
Status in “tomcat6” source package in Ubuntu: New
Status in java-common in Ubuntu Intrepid: New
Status in openjdk-6 in Ubuntu Intrepid: New
Status in tomcat6 in Ubuntu Intrepid: New

Bug description:
Binary package hint: tomcat6

In some cases  Tomcat 6 fails to successfully start *during install*. This doesn't prevent the installation from succeeding and you can still run "sudo service tomcat6 start" to start it once it is installed.

If a JRE is not completely configured by the time Tomcat is started, Tomcat will fail to start. This can happen in some installation scenarios as Tomcat 6 doesn't formally "pre-depend" on a JRE.

For example, on a minimal system, the packages seem to be configured in that order (some lines removed for clarity):
$ sudo apt-get install tomcat6 tomcat6-examples tomcat6-admin tomcat6-user
Setting up default-jre-headless (1.6-30ubuntu3) ...
Setting up openjdk-6-jre-lib (6b12-0ubuntu4) ...
Setting up tomcat6 (6.0.18-0ubuntu3) ...
 * Starting Tomcat servlet engine tomcat6  ...fail!
Setting up openjdk-6-jre-headless (6b12-0ubuntu4) ...

However if you run:
$ sudo apt-get install tomcat6
Setting up openjdk-6-jre-lib (6b12-0ubuntu4) ...
Setting up default-jre-headless (1.6-30ubuntu3) ...
Setting up openjdk-6-jre-headless (6b12-0ubuntu4) ...
Setting up tomcat6 (6.0.18-0ubuntu3) ...
 * Starting Tomcat servlet engine tomcat6  [OK]