Return-Path: Delivered-To: apmail-incubator-jspwiki-user-archive@locus.apache.org Received: (qmail 85344 invoked from network); 22 Nov 2007 02:36:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Nov 2007 02:36:20 -0000 Received: (qmail 11765 invoked by uid 500); 22 Nov 2007 02:36:06 -0000 Delivered-To: apmail-incubator-jspwiki-user-archive@incubator.apache.org Received: (qmail 11755 invoked by uid 500); 22 Nov 2007 02:36:06 -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 11746 invoked by uid 99); 22 Nov 2007 02:36:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Nov 2007 18:36:06 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=HTML_FONT_FACE_BAD,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dogsunited@gmail.com designates 64.233.182.188 as permitted sender) Received: from [64.233.182.188] (HELO nf-out-0910.google.com) (64.233.182.188) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Nov 2007 02:36:09 +0000 Received: by nf-out-0910.google.com with SMTP id k4so2706934nfd for ; Wed, 21 Nov 2007 18:35:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=UKCoQcJxPln8qwQyi37tQZ5RoO9rVW7fB0fn9BHqb4k=; b=j14Fk8TPZA83TYEV5ENlcP4L4HfwsNf0rteq93jD82p78nr8bO1Nho7Eu640IHYrmIMzGn0Ktgkgz5THP4u64k9K0+mrZZXUQFitN3BmUOqt3pYYIxQo2AN+WRKlVNYYnApwYQALdv7GNcC1frQ8Djz2efVjOPvc9L8S7Se5o4U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=IeB5HxnwZVQwMMwpQWajP6yKtu6uP/xSFL/WUArOry0IhCTURZlgVL1OTUcwWMKncHCUvAitKycLHe2y5d9t34gcELU7WW/TIT5KRuBv/QX/OxSC87D+sm8uEPyQEILXCT/UH97ywVTVRQZRoKkp2KLKkS+UK2WszDKKmd0ja0E= Received: by 10.78.172.20 with SMTP id u20mr9132775hue.1195698948333; Wed, 21 Nov 2007 18:35:48 -0800 (PST) Received: by 10.78.35.18 with HTTP; Wed, 21 Nov 2007 18:35:48 -0800 (PST) Message-ID: <5204480b0711211835l6e06a489xfcc6026abaa743f6@mail.gmail.com> Date: Thu, 22 Nov 2007 03:35:48 +0100 From: "Petr Tomasek" To: jspwiki-user@incubator.apache.org Subject: Re: ACL forbids editing In-Reply-To: <474474F3.7030709@net-frame.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_35538_29884299.1195698948318" References: <5204480b0711210350w1e216d22m7b441a0ee61d35ea@mail.gmail.com> <47445FAD.9020906@net-frame.com> <5204480b0711210924j50ae2189od32540e35b49baf1@mail.gmail.com> <474474F3.7030709@net-frame.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_35538_29884299.1195698948318 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks, Terry. I don't understand what the log says: 2007-11-21 21:29:37,575 [TP-Processor8] WARN com.ecyrd.jspwiki.auth.PolicyLoader - You have set your ' java.security.policy' to point at '/usr/local/tomcat/bin/file:/var/www/d/htdocs/wiki/WEB-INF/jspwiki.policy', but that file does not seem to exist. I'll continue anyway, since this may be something specific to your servlet container. Just consider yourself warned. 2007-11-21 21:29:37,575 [TP-Processor8] WARN com.ecyrd.jspwiki.auth.PolicyLoader - I could not locate the JSPWiki keystore ('jspwiki.jks') in the same directory as your jspwiki.policy file. On many servlet containers, such as Tomcat, this needs to be done. If you keep having access right permissions, please try copying your WEB-INF/jspwiki.jks to /usr/local/tomcat/bin/file:/var/www/d/htdocs/wiki/WEB-INF 2007-11-21 21:29:37,706 [TP-Processor8] ERROR com.ecyrd.jspwiki.auth.authorize.XMLGroupDatabase - XML group database property jspwiki.xmlGroupDatabaseFile not found; trying /var/www/d/htdocs/wiki/WEB-INF/groupdatabase.xml 2007-11-21 21:29:37,883 [TP-Processor8] ERROR com.ecyrd.jspwiki.auth.user.AbstractUserDatabase - XML user database property jspwiki.xmlUserDatabaseFile not found; trying /var/www/d/htdocs/wiki/WEB-INF/userdatabase.xml All of the mentioned files (jspwiki.policy, jspwiki.jks, userdatabase.xmland groupdatabase.xml) are present in the WEB-INF directory of the jspwiki web app. Why is jspwiki complaining? What should I correct? Thanks, Petr 2007/11/21, Terry Steichen : > Sure, (1) configure jspwiki.properties by setting > jspwiki.fileSystemProvider.pageDir to wherever you want to put them, (2) > move/copy the page files there (make sure permissions are ok), and (3) > restart JSPWiki. You can/should also set log4j.appender.FileLog.File > (or, whatever other appender identifier you may be using, in > jspwiki.properties) so you have access to the log file as well. > > Petr Tomasek wrote: > > Claudia, Terry, > > > > thanks for your suggestions. I have a big obstacle that prevents me > > from diagnosing and repairing my jspwiki installation. I am running it > > on a hosted server, which means that I can deploy/undeploy, but I have > > no access to the Tomcat's installation directory, i.e. I cannot see > > server logs. > > > > Is there any way of moving the directory with the wiki pages to > > another directory, which I have direct access to? I cannot see the > > pages now via the FTP access I have available... > > > > Thanks, > > > > Petr > > > > 2007/11/21, Terry Steichen : > > > >> You can edit that page directly with an editor to make the desired > >> changes. Or, if you're using JDBC, use raw SQL commands to implement > >> the changes on the page. IOW, bypass JSPWiki to make the fix. > >> > >> Petr Tomasek wrote: > >> > >>> Hi, > >>> > >>> since my jspwiki.policy file doesn't work, I have started using ACL > >>> declarations to control access. My username is Arhus and I am member > >>> of Users group. I have created a page with the following ACL: > >>> > >>> [{ALLOW view Arhus, Users}] > >>> > >>> And now the Edit tab has disappeared and I cannot edit that page. I > >>> even don't know how to remove the ACL, since I cannot edit that page > >>> even if I log in as Administrator. > >>> > >>> Do you know how to recover that page? > >>> > >>> Thanks, > >>> > >>> Petr > >>> > >>> > >>> > > > > > ------=_Part_35538_29884299.1195698948318--