Return-Path: X-Original-To: apmail-jspwiki-user-archive@www.apache.org Delivered-To: apmail-jspwiki-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7783811A34 for ; Sat, 3 May 2014 11:26:03 +0000 (UTC) Received: (qmail 12349 invoked by uid 500); 3 May 2014 11:26:03 -0000 Delivered-To: apmail-jspwiki-user-archive@jspwiki.apache.org Received: (qmail 12342 invoked by uid 500); 3 May 2014 11:26:02 -0000 Mailing-List: contact user-help@jspwiki.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@jspwiki.apache.org Delivered-To: mailing list user@jspwiki.apache.org Received: (qmail 12333 invoked by uid 99); 3 May 2014 11:26:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 May 2014 11:26:01 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jim@willeke.com designates 209.85.216.176 as permitted sender) Received: from [209.85.216.176] (HELO mail-qc0-f176.google.com) (209.85.216.176) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 May 2014 11:25:58 +0000 Received: by mail-qc0-f176.google.com with SMTP id x13so5861216qcv.7 for ; Sat, 03 May 2014 04:25:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=7DKDZKa8G3mdzgIlH5xGtpWTWFHME+o25u7GbgucTxg=; b=f1Hf/pw5/1IcDwH2W9HmaWwhNnA8asq5vJ7SvjRHYHRHZlwMS6klAHbXujlkwhaAH6 ZmJAcpXesEo7LT6zKzp+Qh6T8XMUKL0gJks90Ikk2ZP+hIPYL5b2t8VSQrzu6c+kq3Es AkesUGl7dFCzwS2F3tu5p8jcIFjoKVifUIKqhqW+XLBZ1R6LE4TExAN2nGWh01wfucMF T1E8gY/yQhjGkEa9B/zrF5YON7dIBEMM0/kIFJglIGAzb37xyTK0NxUWzDCQ1vlDYRup TUTDUUMb0TVcNvnmH1TuBUtvIhOy+y8EM8lLuWvTs9hF2Azg/0ezAtks32p1LQFOW2mJ LodQ== X-Gm-Message-State: ALoCoQnuWGB7Oy8lM7vv0rYApJgi/r1KQ/Q2jfNhKyPaIf4bise5d52jGRH1SHIvKTleWruAnJuc MIME-Version: 1.0 X-Received: by 10.140.81.197 with SMTP id f63mr27676679qgd.114.1399116334694; Sat, 03 May 2014 04:25:34 -0700 (PDT) Received: by 10.140.89.231 with HTTP; Sat, 3 May 2014 04:25:34 -0700 (PDT) In-Reply-To: References: Date: Sat, 3 May 2014 07:25:34 -0400 Message-ID: Subject: Re: JSPWiki will not Start From: Jim Willeke To: JSPWiki User List Content-Type: multipart/alternative; boundary=001a11c129be211aec04f87d2882 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c129be211aec04f87d2882 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Creating a creating a log4j.properties in tomcat7/webapps/ldapwiki/WEB-INF/= lib does not work. log4j:WARN No appenders could be found for logger (org.apache.wiki.util.PropertyReader). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: jspwiki.log (Permission denied) or creating jspwiki-custom.properties file =E1=90=A7 -- -jim Jim Willeke On Sat, May 3, 2014 at 5:22 AM, Harry Metske wrote= : > Jim, > > a vanilla JSPWiki will use the log4j settings from ini/jspwiki.properties= , > this file is "hidden" inside the WEB-INF/lib/jspwiki.jar file. > The default location for the logfile is jspwiki.log, which means the > current directory. > What the current directory is, depends on how you startup your tomcat. > For example, if you start tomcat from a shell, it will try to log to the > current directory (of your shell). > If you start it from the init.d script, it depends on how the init.d scri= pt > handles it. > In any case, in your situation, the current directory cannot be written t= o. > You can also solve the logging issue by creating a log4j.properties file = in > the tomcat lib directory, see #1 for an example. > > regards, > Harry > #1 - > > https://jspwiki-wiki.apache.org/Wiki.jsp?page=3DDocumentation#section-Doc= umentation-ConfigurationAndAdministration > > > > > > On 3 May 2014 10:01, Jim Willeke wrote: > > > New server on "Debian GNU/Linux 7 (wheezy)" > > Apache Tomcat/7.0.28 JDK 1.7.0_25-b30 > > Deployed JSPWiki.jar from Tomcat Manager. > > > > > > May 02, 2014 2:13:28 PM org.apache.catalina.startup.HostConfig deployWA= R > > INFO: Deploying web application archive > /var/lib/tomcat7/webapps/mywiki.war > > log4j:WARN No appenders could be found for logger > > (org.apache.wiki.util.PropertyReader). > > log4j:WARN Please initialize the log4j system properly. > > log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig fo= r > > more info. > > log4j:ERROR setFile(null,true) call failed. > > java.io.FileNotFoundException: jspwiki.log (Permission denied) > > > > Not sure where it might be trying to write the file to but even did a > touch > > and set to user running tomcat for > > /var/lib/tomcat7/logs > > With the same results. > > > > Which contained all the other log files. > > > > Any ideas what to look into? > > > > Thanks > > > > -- > > -jim > > Jim Willeke > > > --001a11c129be211aec04f87d2882--