Bug#679012: Please add /usr/lib/jvm/java-7-oracle to /etc/init.d/tomcat7.

Nuno Afonso nuno.afonso at ist.utl.pt
Mon Jun 25 18:00:22 UTC 2012


Package: tomcat7
Version: 7.0.27-1
Severity: normal
Tags: patch


A patch file is also attached.

Best Regards
Nuno Afonso

-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (650, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=locale: Cannot set LC_ALL to default locale: No such file or directory
UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tomcat7 depends on:
ii  adduser                      3.112+nmu2  add and remove users and groups
ii  debconf [debconf-2.0]        1.5.36.1    Debian configuration management sy
ii  tomcat7-common               7.0.27-1    Servlet and JSP engine -- common f
ii  ucf                          3.0025+nmu1 Update Configuration File: preserv

Versions of packages tomcat7 recommends:
pn  authbind                      <none>     (no description available)

Versions of packages tomcat7 suggests:
pn  libtcnative-1                 <none>     (no description available)
pn  tomcat7-admin                 <none>     (no description available)
pn  tomcat7-docs                  <none>     (no description available)
pn  tomcat7-examples              <none>     (no description available)
pn  tomcat7-user                  <none>     (no description available)

-- Configuration Files:
/etc/init.d/tomcat7 changed [not included]
/etc/logrotate.d/tomcat7 changed [not included]

-- debconf information excluded
-------------- next part --------------
--- tomcat7.old	2012-06-25 17:45:40.000000000 +0000
+++ tomcat7	2012-06-25 17:46:36.000000000 +0000
@@ -78,7 +78,7 @@
 find_openjdks
 # The first existing directory is used for JAVA_HOME (if JAVA_HOME is not
 # defined in $DEFAULT)
-JDK_DIRS="/usr/lib/jvm/default-java ${OPENJDKS} /usr/lib/jvm/java-6-openjdk /usr/lib/jvm/java-6-sun"
+JDK_DIRS="/usr/lib/jvm/default-java ${OPENJDKS} /usr/lib/jvm/java-6-openjdk /usr/lib/jvm/java-6-sun /usr/lib/jvm/java-7-oracle"
 
 # Look for the right JVM to use
 for jdir in $JDK_DIRS; do


More information about the pkg-java-maintainers mailing list