Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 93097 invoked from network); 6 Feb 2007 10:15:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Feb 2007 10:15:25 -0000 Received: (qmail 8313 invoked by uid 500); 6 Feb 2007 10:15:21 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 7759 invoked by uid 500); 6 Feb 2007 10:15:19 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 7748 invoked by uid 99); 6 Feb 2007 10:15:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Feb 2007 02:15:19 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: 24.24.2.57 is neither permitted nor denied by domain of dns4@cornell.edu) Received: from [24.24.2.57] (HELO ms-smtp-03.nyroc.rr.com) (24.24.2.57) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Feb 2007 02:15:09 -0800 Received: from [192.168.5.102] (cpe-24-59-100-145.twcny.res.rr.com [24.59.100.145]) by ms-smtp-03.nyroc.rr.com (8.13.6/8.13.6) with ESMTP id l16AEieT024705 for ; Tue, 6 Feb 2007 05:14:47 -0500 (EST) Message-ID: <45C85514.9010900@cornell.edu> Date: Tue, 06 Feb 2007 05:14:44 -0500 From: David Smith User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: File permission problem not understood References: <200702060747.13453.alan@chandlerfamily.org.uk> In-Reply-To: <200702060747.13453.alan@chandlerfamily.org.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked by ClamAV on apache.org java.security.AccessControlException: access denied (java.io.FilePermission /var/lib/tomcat5.5/webapps/blog/WEB-INF/classes/META-INF/hivemodule.xml read) This line (above) would indicate you have the security manager running. To fix this, you'll need to adjust conf/catalina.policy to allow read access to the file. The OS's file permissions are probably fine. As an aside, META-INF is typically a special folder in jar and war files -- you probably rename this META-INF to something else if for no other reason than to remove some potential confusion. --David Alan Chandler wrote: > I have just upgraded my Debian Etch system from tomcat5 to tomcat5.5 > > Now when I start my applications I am getting the following > > javax.servlet.ServletException: Unable to initialize application > servlet: access denied > (java.io.FilePermission /var/lib/tomcat5.5/webapps/blog/WEB-INF/classes/META-INF/hivemodule.xml > read) > > > the root cause of this is ... > java.security.AccessControlException: access denied > (java.io.FilePermission /var/lib/tomcat5.5/webapps/blog/WEB-INF/classes/META-INF/hivemodule.xml > read) > > > The file refered to exists and is accessable by tomcat > ls -l /var/lib/tomcat5.5/webapps/blog/WEB-INF/classes/META-INF/hivemodule.xml > > gives > > -rw-r--r-- 1 tomcat55 nogroup 1035 2006-01-26 19:13 hivemodule.xml > > so I puzzled as what I need to do to fix it. > > Can anyone help please > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org