Your message dated Wed, 6 Jun 2007 18:36:17 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#427816: tomcat 5.5 init script don't detect sun-java6-jdk
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: tomcat5.5
Version: 5.5.20-2
Severity: important

Hi, installing tomcat 5.5 on a debian etch with sun-java6 installed fails like 
this:
S'està configurant tomcat5.5 (5.5.20-2) ...
* Not starting Tomcat: no Java Development Kit found.
invoke-rc.d: initscript tomcat5.5, action "start" failed.
dpkg: s'ha produït un error en processar tomcat5.5 (--configure):

I've looked at init script and there is a list of JDK paths to try:

# The first existing directory is used for JAVA_HOME (if JAVA_HOME is not
# defined in $DEFAULT)
JDK_DIRS="/usr/lib/jvm/java-1.5.0-sun /usr/lib/j2sdk1.4-sun 
/usr/lib/j2sdk1.4-blackdown /usr/lib/j2se/1.4 /usr/lib/j2sdk1.5-sun 
/usr/lib/j2sdk1.3-sun /usr/lib/j2sdk1.3-blackdown /usr/lib/j2sdk1.5-ibm 
/usr/lib/j2sdk1.4-ibm /usr/lib/jvm/java-gcj /usr/lib/kaffe"

If I manually add the sun-java6-jdk path to the list:
"/usr/lib/jvm/java-6-sun"
then it can start again.

So this is a workaround...
Should sun-java6-home define $JAVA_HOME ?

Thanks in advance!

- --- System information. ---
Architecture: i386
Kernel:       Linux 2.6.18-4-k7

Debian Release: lenny/sid
  990 testing         snapshot.debian.net 
  990 testing         security.debian.org 
  990 testing         ftp.sunet.se 
  990 testing         ftp.rediris.es 
  500 unstable        www.in.fh-merseburg.de 
  500 etch            debian.beryl-project.org 
  300 unstable        ftp.rediris.es 

- --- Package information. ---
Depends                       (Version) | Installed
=======================================-+-================
java-gcj-compat-dev      (>= 1.0.30-5)  | 
 OR kaffe               (>= 2:1.1.6-3)  | 
 OR java2-runtime                       | 
libtomcat5.5-java         (>= 5.5.20-2) | 5.5.20-2
adduser                       (>= 3.34) | 3.102
apache2-utils                           | 2.2.3-4
 OR apache-utils                        | 
 OR apache2.2-common                    | 2.2.3-4
ecj-bootstrap                           | 3.2.1-6


- -- 
*--------------------------------------------------------------------*
| Pau Tallada Crespí                        GNU/Linux User : #345498 |
| SIP URL : sip:pautallada AT ekiga.net       GnuPG Key : 0xC2E6DD29 |
| Mail : pau_tallada AT telefonica DOT net                           |
*--------------------------------------------------------------------*
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGZtvDnplnCMLm3SkRAoBQAJwKDMBIpd4B70r+F6d3v0qnvKxGHACeMnJH
JNYANcwIO9A0chboJocfczY=
=2IkH
-----END PGP SIGNATURE-----


--- End Message ---
--- Begin Message ---
Version: 5.5.20-5

> Hi, installing tomcat 5.5 on a debian etch with sun-java6 installed fails
> like this:

This is fixed in unstable.

Marcus

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---
_______________________________________________
pkg-java-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

Reply via email to