Return-Path: Delivered-To: apmail-incubator-jspwiki-user-archive@locus.apache.org Received: (qmail 64492 invoked from network); 15 Aug 2008 11:20:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Aug 2008 11:20:19 -0000 Received: (qmail 65415 invoked by uid 500); 15 Aug 2008 11:20:17 -0000 Delivered-To: apmail-incubator-jspwiki-user-archive@incubator.apache.org Received: (qmail 65406 invoked by uid 500); 15 Aug 2008 11:20:17 -0000 Mailing-List: contact jspwiki-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-user@incubator.apache.org Delivered-To: mailing list jspwiki-user@incubator.apache.org Received: (qmail 65395 invoked by uid 99); 15 Aug 2008 11:20:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2008 04:20:17 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.198.243] (HELO rv-out-0708.google.com) (209.85.198.243) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2008 11:19:21 +0000 Received: by rv-out-0708.google.com with SMTP id k29so882640rvb.0 for ; Fri, 15 Aug 2008 04:19:48 -0700 (PDT) Received: by 10.140.132.3 with SMTP id f3mr1402506rvd.71.1218799188770; Fri, 15 Aug 2008 04:19:48 -0700 (PDT) Received: by 10.141.209.17 with HTTP; Fri, 15 Aug 2008 04:19:48 -0700 (PDT) Message-ID: <5898c8010808150419ra49d4d5rff29a70c73912c70@mail.gmail.com> Date: Fri, 15 Aug 2008 08:19:48 -0300 From: "Fabiano Bonin" To: jspwiki-user@incubator.apache.org Subject: Re: Central jspwiki.policy In-Reply-To: <5898c8010808150417r3846c558q94cf2e601dac08f9@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <5898c8010808150352r2ebb7c31w24ed80b50aedb3fe@mail.gmail.com> <20080815105424.GA24687@ecyrd.com> <5898c8010808150417r3846c558q94cf2e601dac08f9@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org This is the default JSPWiki property file: # For users looking to get started quickly, the default settings below # should work fine. In addition to the properties below, you may also # want to set the following JRE runtime properties when running JSPWiki # or the servlet container it runs in: # # java.security.auth.login.config=3D=3D/path-to/jspwiki.jass # java.security.policy=3D/path-to/jspwiki.policy On Fri, Aug 15, 2008 at 8:17 AM, Fabiano Bonin wrote: > Where? > > I tried > > java.security.policy=3D=3D/etc/wiki/jspwiki.policy > > and > > export CATALINA_OPTS=3D"-Djava.security.policy=3D=3D/etc/wiki/jspwiki.pol= icy" > > And both didn=B4t worked... > > On Fri, Aug 15, 2008 at 7:54 AM, Janne Jalkanen w= rote: >> Does using "=3D=3D" instead of "=3D" help? >> >> /Janne >> >> On Fri, Aug 15, 2008 at 07:52:44AM -0300, Fabiano Bonin wrote: >>> Hi all, >>> >>> I'm installing about 5 wikis in a server, and i want them all to use >>> the same jspwiki.policy file, but i'm not getting it to work >>> >>> Env: Apache Tomcat 6.0.18, JPSWiki 2.6.3 >>> >>> My policy file is in: >>> /etc/wiki/jspwiki.policy >>> >>> I'm exporting: >>> export CATALINA_OPTS=3D"-Djava.security.policy=3D/etc/wiki/jspwiki.poli= cy" >>> >>> And i also tried to change the wiki property file to: >>> >>> java.security.policy =3D /etc/wiki/jspwiki.policy >>> >>> But it seems useless. I presume it is still using the jspwiki.policy >>> in "/opt/apache-tomcat-6/webapps//WEB-INF" folder >>> >>> What am i missing? >>> >>> Regards, >>> >>> Fabiano >> >