Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 38945 invoked from network); 13 Jun 2005 15:04:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Jun 2005 15:04:48 -0000 Received: (qmail 17029 invoked by uid 500); 13 Jun 2005 15:04:32 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 17013 invoked by uid 500); 13 Jun 2005 15:04:32 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 16994 invoked by uid 99); 13 Jun 2005 15:04:32 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.schoenhaber.de (HELO mail.schoenhaber.de) (217.140.77.184) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 13 Jun 2005 08:04:30 -0700 Received: from gimli.schoenhaber.de (gimli.schoenhaber.de [IPv6:2001:4b88:1016:42:20c:76ff:fe20:8e24]) by mail.schoenhaber.de (Postfix) with ESMTP id 31DD9514C146 for ; Mon, 13 Jun 2005 17:03:07 +0200 (CEST) From: Markus =?iso-8859-1?q?Sch=F6nhaber?= Reply-To: tomcat-user@jakarta.apache.org To: "Tomcat Users List" Subject: Re: starting a binary by calling a servlet User-Agent: KMail/1.8.1 References: <200506131601.57880.stalp@imbei.uni-mainz.de> In-Reply-To: <200506131601.57880.stalp@imbei.uni-mainz.de> MIME-Version: 1.0 Content-Disposition: inline X-UID: 514 X-Length: 1684 Date: Mon, 13 Jun 2005 17:03:06 +0200 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Message-Id: <200506131703.06785.mailing-tomcat-user@schoenhaber.de> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Am Montag, 13. Juni 2005 16:01 schrieb Christian Stalp: > > But at the Moment I get an error that this is not allowed for a Servlet > which seems logical to me. So I have to change the catalina.policy. > > The question is now: how? > What I have to do, to enable my servlet to start binarys on my host? Have you even tried to use the policy-entries I posted as an answer to the very same question you asked on pug-talk? If so, what went wrong? ---snip--- Ein grant-Eintrag im Policy-File k�nnte dann so aussehen: grant codeBase "file:${catalina.home}/webapps/my_exec/-" { � � permission java.io.FilePermission "", "execute"; }; Oder wenn Du Deiner WebApp vertraust: grant codeBase "file:${catalina.home}/webapps/my_exec/-" { � � � � permission java.security.AllPermission; }; ---snap--- Regards mks --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org