Your message dated Sun, 5 Feb 2012 17:33:54 -0430
with message-id <[email protected]>
and subject line Bug#644414: fixed in tomcat6 6.0.33-1
has caused the Debian Bug report #644414,
regarding tomcat6: action "start" failed: no JDK found - please set JAVA_HOME
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
644414: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644414
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: tomcat7
Version: 7.0.21-1
Severity: important

root@alice:/# invoke-rc.d tomcat7 start
no JDK found - please set JAVA_HOME ... failed!
invoke-rc.d: initscript tomcat7, action "start" failed.
root@alice:/# 

The recent changes in openjdk-6 that enable support for multi-arch
break default configuration of tomcat7.

Since JAVA_HOME is not set by default, tomcat7 looks for these paths
as JAVA_HOME candidates:

JDK_DIRS="/usr/lib/jvm/java-6-openjdk /usr/lib/jvm/java-6-sun 
/usr/lib/jvm/java-1.5.0-sun /usr/lib/j2sdk1.5-sun /usr/lib/j2sdk1.5-ibm"

In a clean chroot with openjdk-6-jre 6b23~pre10-1 none of those paths are valid.

I'm not sure how to fix this, my questions are:

Should I add /usr/lib/jvm/java-6-openjdk-$(dpkg-architecture -qDEB_HOST_ARCH)
to JDK_DIRS list?

Or should I just add /usr/lib/jvm/default-java to that list?

Thanks,

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (800, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (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 tomcat7 depends on:
ii  adduser                3.113
ii  debconf [debconf-2.0]  1.5.41
ii  tomcat7-common         7.0.21-1
ii  ucf                    3.0025+nmu2

Versions of packages tomcat7 recommends:
pn  authbind  <none>

Versions of packages tomcat7 suggests:
pn  libtcnative-1     <none>
pn  tomcat7-admin     <none>
pn  tomcat7-docs      <none>
pn  tomcat7-examples  <none>
pn  tomcat7-user      <none>

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

-- debconf information:
  tomcat7/groupname: tomcat7
  tomcat7/username: tomcat7
  tomcat7/javaopts: -Djava.awt.headless=true -Xmx128m -XX:+UseConcMarkSweepGC

-- 
Miguel Landaeta, miguel at miguel.cc
secure email with PGP 0x7D8967E9 available at http://keyserver.pgp.com/
"Faith means not wanting to know what is true." -- Nietzsche

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: tomcat6
Source-Version: 6.0.33-1

-- 
Miguel Landaeta, miguel at miguel.cc
secure email with PGP 0x6E608B637D8967E9 available at http://keyserver.pgp.com/
"Faith means not wanting to know what is true." -- Nietzsche

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to