Package: tomcat6 Version: 6.0.24-2 Severity: grave Justification: renders package unusable
Hi, After todays upgrade to v6.0.24-2 due to migration to 'testing' the tomcat6 service doesn't start anymore. I've tried a fresh install and there is no difference. I see that 'jscv' is no longer used and 'authbind' is disabled by default, thus 'catalina.sh' upstream script is used instead. I believe this is a major regression since 'jsvc' is the only alternative for running a java-baser program as a service. The upstream 'catalina.sh' shell script doesn't make use of 'jsvc' because it is not available on all platforms, this script is meant to be portable on all Linux/ UNIX hosts. Another issue is that the execution of 'catalina.sh' should also be redirected to STDOUT/STDERR to avoid these informative lines: | Starting Tomcat servlet engine: tomcat6Using CATALINA_BASE: /var/lib/tomcat6 | Using CATALINA_HOME: /usr/share/tomcat6 | Using CATALINA_TMPDIR: /tmp/tomcat6-tmp | Using JRE_HOME: /usr/lib/jvm/java-6-openjdk | Using CLASSPATH: /usr/share/tomcat6/bin/bootstrap.jar | failed! | invoke-rc.d: initscript tomcat6, action "start" failed. Thanks -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.32-2-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages tomcat6 depends on: ii adduser 3.112 add and remove users and groups ii tomcat6-common 6.0.24-2 Servlet and JSP engine -- common f Versions of packages tomcat6 recommends: ii authbind 1.2.0 Allows non-root programs to bind() Versions of packages tomcat6 suggests: pn tomcat6-admin <none> (no description available) pn tomcat6-docs <none> (no description available) pn tomcat6-examples <none> (no description available) pn tomcat6-user <none> (no description available) -- no debconf information
frost:~# apt install tomcat6 Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: authbind libcommons-collections-java libcommons-dbcp-java libcommons-pool-java libecj-java libservlet2.5-java libtomcat6-java tomcat6-common Suggested packages: glassfish-javaee ecj ant libecj-java-gcj tomcat6-docs tomcat6-admin tomcat6-examples tomcat6-user The following NEW packages will be installed: authbind libcommons-collections-java libcommons-dbcp-java libcommons-pool-java libecj-java libservlet2.5-java libtomcat6-java tomcat6 tomcat6-common 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. Need to get 1,814kB/5,102kB of archives. After this operation, 8,463kB of additional disk space will be used. Do you want to continue [Y/n]? Get:1 http://ftp.ro.debian.org sid/main libcommons-collections-java 2.1.1-9 [335kB] Get:2 http://ftp.ro.debian.org squeeze/main libcommons-pool-java 1.5.4-1 [89.8kB] Get:3 http://ftp.ro.debian.org squeeze/main libcommons-dbcp-java 1.3~svn828639-1 [155kB] Get:4 http://ftp.ro.debian.org sid/main libecj-java 3.5.1-1 [1,234kB] Fetched 1,814kB in 1s (1,212kB/s) Reading package fields... Done Reading package status... Done Retrieving bug reports... Done Parsing Found/Fixed information... Done Selecting previously deselected package authbind. (Reading database ... 159768 files and directories currently installed.) Unpacking authbind (from .../authbind_1.2.0_i386.deb) ... Selecting previously deselected package libcommons-collections-java. Unpacking libcommons-collections-java (from .../libcommons-collections-java_2.1.1-9_all.deb) ... Selecting previously deselected package libcommons-pool-java. Unpacking libcommons-pool-java (from .../libcommons-pool-java_1.5.4-1_all.deb) ... Selecting previously deselected package libcommons-dbcp-java. Unpacking libcommons-dbcp-java (from .../libcommons-dbcp-java_1.3~svn828639-1_all.deb) ... Selecting previously deselected package libecj-java. Unpacking libecj-java (from .../libecj-java_3.5.1-1_all.deb) ... Selecting previously deselected package libservlet2.5-java. Unpacking libservlet2.5-java (from .../libservlet2.5-java_6.0.24-2_all.deb) ... Selecting previously deselected package libtomcat6-java. Unpacking libtomcat6-java (from .../libtomcat6-java_6.0.24-2_all.deb) ... Selecting previously deselected package tomcat6-common. Unpacking tomcat6-common (from .../tomcat6-common_6.0.24-2_all.deb) ... Selecting previously deselected package tomcat6. Unpacking tomcat6 (from .../tomcat6_6.0.24-2_all.deb) ... Processing triggers for man-db ... Setting up authbind (1.2.0) ... Setting up libcommons-collections-java (2.1.1-9) ... Setting up libcommons-pool-java (1.5.4-1) ... Setting up libcommons-dbcp-java (1.3~svn828639-1) ... Setting up libecj-java (3.5.1-1) ... Setting up libservlet2.5-java (6.0.24-2) ... Setting up libtomcat6-java (6.0.24-2) ... Setting up tomcat6-common (6.0.24-2) ... Setting up tomcat6 (6.0.24-2) ... Adding system user `tomcat6' (UID 110) ... Adding new group `tomcat6' (GID 119) ... Adding new user `tomcat6' (UID 110) with group `tomcat6' ... Not creating home directory `/usr/share/tomcat6'. Starting Tomcat servlet engine: tomcat6Using CATALINA_BASE: /var/lib/tomcat6 Using CATALINA_HOME: /usr/share/tomcat6 Using CATALINA_TMPDIR: /tmp/tomcat6-tmp Using JRE_HOME: /usr/lib/jvm/java-6-openjdk Using CLASSPATH: /usr/share/tomcat6/bin/bootstrap.jar failed! invoke-rc.d: initscript tomcat6, action "start" failed. frost:~#