Bug#291237: marked as done (tomcat4-admin: admin context does not work because it has symlinked jar files)

Debian Bug Tracking System owner@bugs.debian.org
Wed Jan 19 15:40:04 2005


Your message dated Wed, 19 Jan 2005 23:28:39 +0100
with message-id <87r7khxdd4.fsf@oz.fapse.ulg.ac.be>
and subject line Bug#291237: Problem solved...
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 19 Jan 2005 15:34:36 +0000
>From alex@nibbles.it Wed Jan 19 07:34:35 2005
Return-path: <alex@nibbles.it>
Received: from (nibby.nibbles.it) [62.101.86.146] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CrHqt-0008Br-00; Wed, 19 Jan 2005 07:34:35 -0800
Received: from localhost (nibby [127.0.0.1])
	by nibby.nibbles.it (Postfix) with ESMTP id BA0285E2A8;
	Wed, 19 Jan 2005 16:34:33 +0100 (CET)
Received: from nibby.nibbles.it ([127.0.0.1])
	by localhost (nibby [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
	id 12071-06; Wed, 19 Jan 2005 16:34:33 +0100 (CET)
Received: by nibby.nibbles.it (Postfix, from userid 0)
	id 9A9455E2B8; Wed, 19 Jan 2005 16:34:33 +0100 (CET)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Alessandro Polverini <alex@nibbles.it>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: tomcat4-admin: admin context does not work because it has symlinked jar files
X-Mailer: reportbug 3.2
Date: Wed, 19 Jan 2005 16:34:33 +0100
Message-Id: <20050119153433.9A9455E2B8@nibby.nibbles.it>
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at nibbles.it
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: tomcat4-admin
Version: 4.1.31-2
Severity: grave
Justification: renders package unusable

The struts.jar in /usr/share/tomcat4/server/webapps/admin/WEB-INF/lib
directory is symlinked to the jar /usr/share/struts1.1/struts.jar of the
package libstruts1.1-java.

This makes the admin context not work because tomcat is unable to use
jar files symlinked to other locations.

The solution is to copy the real jar in WEB-INF/lib instead to use a
symlink.

Of course if it would be possible to tell tomcat to follow symbolic
links it would be much better, but I don't know if this is possible.

Alex

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages tomcat4-admin depends on:
ii  libstruts1.1-java             1.1-2      Java Framework for MVC web applica
ii  tomcat4                       4.1.31-2   Java Servlet 2.3 engine with JSP 1

-- no debconf information

---------------------------------------
Received: (at 291237-done) by bugs.debian.org; 19 Jan 2005 22:29:19 +0000
>From avdyk@debian.org Wed Jan 19 14:29:19 2005
Return-path: <avdyk@debian.org>
Received: from serv54.segi.ulg.ac.be [139.165.32.99] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CrOKE-0001my-00; Wed, 19 Jan 2005 14:29:19 -0800
Received: (qmail 20271 invoked by uid 510); 19 Jan 2005 23:28:47 +0100
Received: from 139.165.201.14 by serv54.segi.ulg.ac.be (envelope-from <avdyk@debian.org>, uid 501) with qmail-scanner-1.23 
 (drweb: 4. spamassassin: 2.64.  
 Clear:RC:1(139.165.201.14):. 
 Processed in 0.186408 secs); 19 Jan 2005 22:28:47 -0000
Received: from cm-201-014.dialup.ulg.ac.be (HELO edev.localhost) ([139.165.201.14])
          (envelope-sender <avdyk@debian.org>)
          by serv54.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
          for <alex@nibbles.it>; 19 Jan 2005 23:28:46 +0100
Received: from arnaud by edev.localhost with local (Exim 4.34)
	id 1CrOJb-00029r-Ls; Wed, 19 Jan 2005 23:28:39 +0100
To: Alessandro Polverini <alex@nibbles.it>
Cc: 291237-done@bugs.debian.org
Subject: Re: Bug#291237: Problem solved...
References: <1106152785.10589.33.camel@japot>
From: Arnaud Vandyck <avdyk@debian.org>
X-Home-Page: http://people.debian.org/~avdyk
Date: Wed, 19 Jan 2005 23:28:39 +0100
In-Reply-To: <1106152785.10589.33.camel@japot> (Alessandro Polverini's
 message of "Wed, 19 Jan 2005 17:39:45 +0100")
Message-ID: <87r7khxdd4.fsf@oz.fapse.ulg.ac.be>
User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: 291237-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Wed, 19 Jan 2005 17:39:45 +0100, 
Alessandro Polverini <alex@nibbles.it> wrote: 

> Responding to myself.
> I didn't knew that using :
>
> <Resources className="org.apache.naming.resources.FileDirContext"
> allowLinking="true" />
>
> inside the admin context could solve the problem also for jars.
>
> Please close the bug since it's not relevant any more.
>
> Sorry,

No problem, thanks for your interest in Debian and Tomcat and Java ;-)

-- 
  .''`. 
 : :' :rnaud
 `. `'  
   `-