From owner-freebsd-ports@FreeBSD.ORG Fri Sep 26 01:49:00 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02E1416A4B3; Fri, 26 Sep 2003 01:49:00 -0700 (PDT) Received: from smtp1.euronet.nl (smtp1.euronet.nl [194.134.35.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11D5844042; Fri, 26 Sep 2003 01:48:59 -0700 (PDT) (envelope-from ernst.dehaan@nl.wanadoo.com) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by smtp1.euronet.nl (Postfix) with ESMTP id 1B55467277; Fri, 26 Sep 2003 10:48:56 +0200 (MEST) From: Ernst de Haan Organization: Wanadoo Nederland B.V. To: Angelo Turetta Date: Fri, 26 Sep 2003 10:48:58 +0200 User-Agent: KMail/1.5.2 References: <3F71E405.2080308@commit.it> In-Reply-To: <3F71E405.2080308@commit.it> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200309261048.58802.ernst.dehaan@nl.wanadoo.com> cc: ports@FreeBSD.org cc: Daichi GOTO cc: liukang@bjpu.edu.cn Subject: Re: jakarta-tomcatX: different behaviour between port and package X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2003 08:49:00 -0000 Angelo, Kang Liu produced a fix for the problem for all Tomcat releases in ports (3.x, 4.0.x, 4.1.x, 5.0.x). Daichi GOTO already committed the fixes for Tomcat 5.0.x and I'm working on committing the other ones. See: http://www.freebsd.org/cgi/query-pr.cgi?pr=java/57234 http://www.freebsd.org/cgi/query-pr.cgi?pr=java/57235 Ernst On woensdag 24 september 2003 20:35, Angelo Turetta wrote: > Installing a package built from the jakarta-tomcat{41|5} ports, results > in the installation directories created with owner:group of the user > running pkg_add. > > After installing the port itself, instead, those same directories have > the correct owner:group of www:www. > > That behaviour of the packages breaks tomcat, because it needs write > permission to create temporary files & dirs. > > The simptom is that on first run you get the following error in > logs/stdout.log > > WARNING: Unexpected exception resolving reference > java.io.FileNotFoundException: > /usr/local/jakarta-tomcat5.0/conf/tomcat-users.xml.new (Permission > denied) (catalina stack trace follows) > > Angelo Turetta > Commit > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"