Fwd: jakarta-tomcatX: different behaviour between port and package

Ernst de Haan ernst.dehaan at nl.wanadoo.com
Thu Sep 25 06:07:36 PDT 2003


See below,

Does anyone have time to write patches for this problem? I know the 
pkg-plist should be changed to replace the functionality that is now in 
post-install.

Ernst

----------  Forwarded Message  ----------

Subject: jakarta-tomcatX: different behaviour between port and package
Date: woensdag 24 september 2003 20:35
From: Angelo Turetta <aturetta at commit.it>
To: ports at FreeBSD.org
Cc: liukang at bjpu.edu.cn

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 at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"

-------------------------------------------------------



More information about the freebsd-java mailing list