From log4j-user-returnlopezlauren@example.net Thu Jun 01 16:30:37 2006 Return-Path: <log4j-user-returnlopezlauren@example.net> Delivered-To: lopezlauren@example.net Received: (qmail 5623 invoked from network); 1 Jun 2006 16:30:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jun 2006 16:30:36 -0000 Received: (qmail 53038 invoked by uid 500); 1 Jun 2006 16:30:32 -0000 Delivered-To: lopezlauren@example.net Received: (qmail 53006 invoked by uid 500); 1 Jun 2006 16:30:32 -0000 Mailing-List: contact lopezlauren@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:lopezlauren@example.net> List-Help: <mailto:lopezlauren@example.net> List-Post: <mailto:lopezlauren@example.net> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <lopezlauren@example.net> Delivered-To: mailing list lopezlauren@example.net Received: (qmail 52995 invoked by uid 99); 1 Jun 2006 16:30:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jun 2006 09:30:32 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_POST,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO mail-relay.marketpipe.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jun 2006 09:30:30 -0700 Received: from ip-160-79-55-82.autorev.intellispace.net ([83.161.120.155] helo=[83.161.120.155]) by mail-relay.marketpipe.com with esmtp (Exim 4.43) id 1Flpxw-0007t8-IY for lopezlauren@example.net; Thu, 01 Jun 2006 17:24:10 +0100 Message-ID: <lopezlauren@example.net> Date: Thu, 01 Jun 2006 17:30:06 +0100 From: Lance Semmens <lopezlauren@example.net> User-Agent: Thunderbird 83.161.120.155 (Windows/20060308) MIME-Version: 1.0 To: Log4J Users List <lopezlauren@example.net> Subject: Re: Data Recording Type of function References: <lopezlauren@example.net> In-Reply-To: <lopezlauren@example.net> Content-Type: multipart/alternative; boundary="------------020601030102010400080105" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --------------020601030102010400080105 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit You could use the org.apache.log4j.xml.XMLLayout to log to an XML file for later analysis. Rondeau, Tim (Mission Systems) wrote: > > Hi All, > > Looking to use log4j more for recording tool. Meaning what ever data is > spit out, it gets recorded and then it can be analized later. Looking > to make sure not to use to many processes. We are using log4j now as a > debugger. > > Anyone done anything like this using log4j? > > Thanks > > Tim > > --------------------------------------------------------------------- > To unsubscribe, e-mail: lopezlauren@example.net > For additional commands, e-mail: lopezlauren@example.net > > -- Lance Semmens Marketpipe Limited a. 7 Soho Square, London W1D 3QB, UK t. 646.665.3509 f. 646.665.3509 e. lopezlauren@example.net w. www.marketpipe.com --------------020601030102010400080105-- From log4j-user-returnlopezlauren@example.net Thu Jun 01 20:19:10 2006 Return-Path: <log4j-user-returnlopezlauren@example.net> Delivered-To: lopezlauren@example.net Received: (qmail 6071 invoked from network); 1 Jun 2006 20:19:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jun 2006 20:19:10 -0000 Received: (qmail 43102 invoked by uid 500); 1 Jun 2006 20:19:08 -0000 Delivered-To: lopezlauren@example.net Received: (qmail 43072 invoked by uid 500); 1 Jun 2006 20:19:06 -0000 Mailing-List: contact lopezlauren@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:lopezlauren@example.net> List-Help: <mailto:lopezlauren@example.net> List-Post: <mailto:lopezlauren@example.net> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <lopezlauren@example.net> Delivered-To: mailing list lopezlauren@example.net Received: (qmail 43061 invoked by uid 99); 1 Jun 2006 20:19:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jun 2006 13:19:06 -0700 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_10_20,HTML_MESSAGE,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lopezlauren@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nf-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jun 2006 13:19:03 -0700 Received: by nf-out-0910.google.com with SMTP id l35so726968nfa for <lopezlauren@example.net>; Thu, 01 Jun 2006 13:18:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=F5Hrv1MjnnmCMsUFrTLk3kR3QttqhsOCEmntoCmIrll2FKU7S5q7ydbZ4ADKUR6iBkfmZ/mFp+ynitJnawoY4C7COzXEbQZfMOO0K4OcbSkNNnm8quuaqvmzgobBDDJ6peCqmWGLvDSwEbNbgR0HHI7eEnjj+ig6oCOZqgtlFNk= Received: by 83.161.120.155 with SMTP id l9mr1248075nfj; Thu, 01 Jun 2006 13:18:42 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Thu, 1 Jun 2006 13:18:42 -0700 (PDT) Message-ID: <lopezlauren@example.net> Date: Thu, 1 Jun 2006 15:18:42 -0500 From: "naveen kumar" <lopezlauren@example.net> To: lopezlauren@example.net Subject: Rollover for every 15 minutes. In-Reply-To: <lopezlauren@example.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5070_18881861.1149193122148" References: <lopezlauren@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_5070_18881861.1149193122148 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello All, Is it possible to get rollover of log files for every 15 minutes using DailyRollingAppender. Date Pattern in DailyRollingAppender provides rollover for every month,day,hour,minute! Thanks, Kumar. -- Knowledge is learning something every day.Wisdom is letting go of something every day. ------=_Part_5070_18881861.1149193122148-- From log4j-user-returnlopezlauren@example.net Fri Jun 02 01:47:47 2006 Return-Path: <log4j-user-returnlopezlauren@example.net> Delivered-To: lopezlauren@example.net Received: (qmail 20728 invoked from network); 2 Jun 2006 01:47:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jun 2006 01:47:47 -0000 Received: (qmail 68651 invoked by uid 500); 2 Jun 2006 01:47:43 -0000 Delivered-To: lopezlauren@example.net Received: (qmail 68621 invoked by uid 500); 2 Jun 2006 01:47:43 -0000 Mailing-List: contact lopezlauren@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:lopezlauren@example.net> List-Help: <mailto:lopezlauren@example.net> List-Post: <mailto:lopezlauren@example.net> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <lopezlauren@example.net> Delivered-To: mailing list lopezlauren@example.net Received: (qmail 68610 invoked by uid 99); 2 Jun 2006 01:47:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jun 2006 18:47:43 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 83.161.120.155 is neither permitted nor denied by domain of lopezlauren@example.net) Received: from [83.161.120.155] (HELO rwcrmhc14.comcast.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jun 2006 18:47:41 -0700 Received: from nicki.visi.com (c-66-41-141-26.hsd1.mn.comcast.net[83.161.120.155]) by comcast.net (rwcrmhc14) with SMTP id <20060602014719m14009kgmde>; Fri, 2 Jun 2006 01:47:20 +0000 Message-Id: <lopezlauren@example.net> X-Mailer: QUALCOMM Windows Eudora Version 83.161.120.155 Date: Thu, 01 Jun 2006 20:47:20 -0500 To: "Log4J Users List" <lopezlauren@example.net> From: Jacob Kjome <lopezlauren@example.net> Subject: Re: How to configure log4j for multiple webapp in JBoss ? In-Reply-To: <lopezlauren@example.net> References: <lopezlauren@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Relayed-By: GPGrelay Version 0.959 (Win32) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Search Google or this list for the concept of the "repository selector". Also search for "ContextJNDISelector". BTW, do you have log4j.jar in each app's WEB-INF/lib directory? Under a server with parent-last classloading behavior, this would provide behavior similar to using a repository selector. However, under JBoss, with its single classloader concept, I'm not sure if this applies, at least with the default JBoss configuration. Jake At 01:47 AM 6/1/2006, you wrote: >Hello, > >I'm using JBoss-4.0.1sp1, and I have two webapps deployed on it. >I'd like to know how is it possible to configure log4j differently for >each webapp ? >Indeed, when I deploy one webapp with a define Threshold, the >Threshold of the other webapp is not used anymore ? > >Any idea ? > >Thanks in advance... >____________________________ _ _ _ >bgOnline --------------------------------------------------------------------- To unsubscribe, e-mail: lopezlauren@example.net For additional commands, e-mail: lopezlauren@example.net From log4j-user-returnlopezlauren@example.net Fri Jun 02 07:45:59 2006 Return-Path: <log4j-user-returnlopezlauren@example.net> Delivered-To: lopezlauren@example.net Received: (qmail 18006 invoked from network); 2 Jun 2006 07:45:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jun 2006 07:45:59 -0000 Received: (qmail 97881 invoked by uid 500); 2 Jun 2006 07:45:56 -0000 Delivered-To: lopezlauren@example.net Received: (qmail 97849 invoked by uid 500); 2 Jun 2006 07:45:56 -0000 Mailing-List: contact lopezlauren@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:lopezlauren@example.net> List-Help: <mailto:lopezlauren@example.net> List-Post: <mailto:lopezlauren@example.net> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <lopezlauren@example.net> Delivered-To: mailing list lopezlauren@example.net Received: (qmail 97838 invoked by uid 99); 2 Jun 2006 07:45:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jun 2006 00:45:55 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=NO_REAL_NAME,SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO reserv5.univ-lille1.fr) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jun 2006 00:45:54 -0700 Received: from popeye2.univ-lille1.fr (lopezlauren@example.net [83.161.120.155]) by reserv5.univ-lille1.fr (8.13.6/jtpda-5.3.1) with ESMTP id k527jUJf026015 for <lopezlauren@example.net>; Fri, 2 Jun 2006 09:45:30 +0200 Received: from popeye2.univ-lille1.fr (lopezlauren@example.net [83.161.120.155]) by popeye2.univ-lille1.fr (8.13.4/8.13.4/Debian-3) with ESMTP id k527jWVU018931 for <lopezlauren@example.net>; Fri, 2 Jun 2006 09:45:32 +0200 Received: (from www-data@localhost) by popeye2.univ-lille1.fr (8.13.4/8.13.4/Submit) id k527jW4S018930 for lopezlauren@example.net; Fri, 2 Jun 2006 09:45:32 +0200 X-Authentication-Warning: popeye2.univ-lille1.fr: www-data set sender to lopezlauren@example.net using -f Received: from lbns1.cofidis.fr (lbns1.cofidis.fr [83.161.120.155]) by mel.etudiant.univ-lille1.fr (IMP) with HTTP for <lopezlauren@example.net>; Fri, 02 Jun 2006 09:45:32 +0200 Message-ID: <lopezlauren@example.net> Date: Fri, 02 Jun 2006 09:45:32 +0200 From: lopezlauren@example.net To: lopezlauren@example.net Subject: Weblogic - Concurrent access of the same appender by dif. applications MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.6 X-Originating-IP: 83.161.120.155 X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-2.0.2 (reserv5.univ-lille1.fr [83.161.120.155]); Fri, 02 Jun 2006 09:45:30 +0200 (CEST) X-USTL-MailScanner-Information: Please contact the ISP for more information X-USTL-MailScanner: Found to be clean X-USTL-MailScanner-From: lopezlauren@example.net X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello, I'm currently using Weblogic 8.1. On this server, I've deployed two EARs, each of them having packages beginning with prefix empo.* For instance, in EAR #1, I'll have a class called empo.app1.admin.ParseFile and in EAR #2, I'll have a class empo.app2.admin.ParseXML Each EAR has it's own log4j jar file embedded. (I didn't design the way the applications are organized) The log4j.properties file is defined at the domain root (so in the BEA server) and the logs are rather general : log4j.category.empo=DEBUG, APPLI log4j.additivity.empo=false log4j.appender.APPLI=org.apache.log4j.DailyRollingFileAppender log4j.appender.APPLI.File=C:/logs/EMPO_APPLI.log log4j.appender.APPLI.datePattern='.'yyyy-MM-dd'.log' log4j.appender.APPLI.append=true log4j.appender.APPLI.layout=org.apache.log4j.PatternLayout log4j.appender.APPLI.layout.ConversionPattern=<%d> <%-5p> <%C:%L> - %m%n When tested individualy, each application works very fine and is correctly logged. But when I access to both applications, the file is created with the first application and when I access to the second one, it overwrites the file (so the logs of appli1 is lost). The result is impredicatable. My idea is that the LOG4J class from app1 locks the file, then the LOG4J from app2 tries to access it. Anyone has an idea so that the classes in both EARs can share the same log file ? Thanks a lot maxence- ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. --------------------------------------------------------------------- To unsubscribe, e-mail: lopezlauren@example.net For additional commands, e-mail: lopezlauren@example.net From log4j-user-returnlopezlauren@example.net Fri Jun 02 09:45:32 2006 Return-Path: <log4j-user-returnlopezlauren@example.net> Delivered-To: lopezlauren@example.net Received: (qmail 46245 invoked from network); 2 Jun 2006 09:45:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jun 2006 09:45:32 -0000 Received: (qmail 55940 invoked by uid 500); 2 Jun 2006 09:45:29 -0000 Delivered-To: lopezlauren@example.net Received: (qmail 55907 invoked by uid 500); 2 Jun 2006 09:45:29 -0000 Mailing-List: contact lopezlauren@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:lopezlauren@example.net> List-Help: <mailto:lopezlauren@example.net> List-Post: <mailto:lopezlauren@example.net> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <lopezlauren@example.net> Delivered-To: mailing list lopezlauren@example.net Received: (qmail 55896 invoked by uid 99); 2 Jun 2006 09:45:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jun 2006 02:45:28 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lopezlauren@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jun 2006 02:45:26 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Fm6DF-0005Qq-QN for lopezlauren@example.net; Fri, 02 Jun 2006 11:45:02 +0200 Received: from 194-152-216-179.adsl.net.t-com.hr ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <lopezlauren@example.net>; Fri, 02 Jun 2006 11:45:01 +0200 Received: from zimske by 194-152-216-179.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <lopezlauren@example.net>; Fri, 02 Jun 2006 11:45:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: lopezlauren@example.net From: Tomislav <lopezlauren@example.net> Subject: log4j.properties and relative path issues Date: Fri, 2 Jun 2006 09:37:46 +0000 (UTC) Lines: 35 Message-ID: <lopezlauren@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: lopezlauren@example.net X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 83.161.120.155 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:83.161.120.155) Gecko/20060426 Firefox/83.161.120.155) Sender: news <lopezlauren@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello, The problem is simple, not sure about the solution. Here's the thing; I need to define the relative path to configuration file defined in log4j.properties file. Information in this configuration file is then used in the custom appender I wrote. It works fine with absolute paths defined in log4j.properties file, but I'm at a loss as to what to do with this relative path issue. If I wasn't clear enough, here's an example of what I have, and what I'd like to do... Below is a line in log4j.properties file with current setting for the configuration file for my custom appender. This is the way with everything working just fine. log4j.appender.CUSTOM.configurationFile=C:\\workspace\\conf.file However, what I'd like to get is something like this log4j.appender.CUSTOM.configurationFile=conf.file or log4j.appender.CUSTOM.configurationFile=.\\conf.file, or something similar. I've seen some posts, not sure if I got them right though, that in case of use of relative paths in log4j.properties file there needs to be done some additional coding in servlets and so on. In my case, unfortunately, this is not the option. Thank you, Tomislav --------------------------------------------------------------------- To unsubscribe, e-mail: lopezlauren@example.net For additional commands, e-mail: lopezlauren@example.net From log4j-user-returnlopezlauren@example.net Fri Jun 02 09:53:55 2006 Return-Path: <log4j-user-returnlopezlauren@example.net> Delivered-To: lopezlauren@example.net Received: (qmail 48431 invoked from network); 2 Jun 2006 09:53:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jun 2006 09:53:55 -0000 Received: (qmail 72729 invoked by uid 500); 2 Jun 2006 09:53:52 -0000 Delivered-To: lopezlauren@example.net Received: (qmail 72703 invoked by uid 500); 2 Jun 2006 09:53:52 -0000 Mailing-List: contact lopezlauren@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:lopezlauren@example.net> List-Help: <mailto:lopezlauren@example.net> List-Post: <mailto:lopezlauren@example.net> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <lopezlauren@example.net> Delivered-To: mailing list lopezlauren@example.net Received: (qmail 72692 invoked by uid 99); 2 Jun 2006 09:53:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jun 2006 02:53:52 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lopezlauren@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO talk.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jun 2006 02:53:50 -0700 Received: from localhost ([83.161.120.155] helo=talk.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1Fm6LR-00028C-QI for lopezlauren@example.net; Fri, 02 Jun 2006 02:53:29 -0700 Message-ID: <lopezlauren@example.net> Date: Fri, 2 Jun 2006 02:53:29 -0700 (PDT) From: tony k <lopezlauren@example.net> To: lopezlauren@example.net Subject: Re: why would the following result in duplicate log messages? In-Reply-To: <lopezlauren@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-Sender: lopezlauren@example.net X-Nabble-From: tony k <lopezlauren@example.net> References: <lopezlauren@example.net> <lopezlauren@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N cool, that works perfectly and makes sense now that you explained it. thanks a lot paul! -- View this message in context: http://www.nabble.com/why-would-the-following-result-in-duplicate-log-messages--t1714833.html#a4677054 Sent from the Log4j - Users lopezlauren@example.net. --------------------------------------------------------------------- To unsubscribe, e-mail: lopezlauren@example.net For additional commands, e-mail: lopezlauren@example.net From log4j-user-returnlopezlauren@example.net Fri Jun 02 14:40:23 2006 Return-Path: <log4j-user-returnlopezlauren@example.net> Delivered-To: lopezlauren@example.net Received: (qmail 48246 invoked from network); 2 Jun 2006 14:40:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jun 2006 14:40:23 -0000 Received: (qmail 78973 invoked by uid 500); 2 Jun 2006 14:40:19 -0000 Delivered-To: lopezlauren@example.net Received: (qmail 78939 invoked by uid 500); 2 Jun 2006 14:40:19 -0000 Mailing-List: contact lopezlauren@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:lopezlauren@example.net> List-Help: <mailto:lopezlauren@example.net> List-Post: <mailto:lopezlauren@example.net> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <lopezlauren@example.net> Delivered-To: mailing list lopezlauren@example.net Received: (qmail 78923 invoked by uid 99); 2 Jun 2006 14:40:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jun 2006 07:40:18 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lopezlauren@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO cenn.mc.mpls.visi.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jun 2006 07:40:17 -0700 Received: from mahes.visi.com (mahes.visi.com [83.161.120.155]) by cenn.mc.mpls.visi.com (Postfix) with ESMTP id E0574AA11 for <lopezlauren@example.net>; Fri, 2 Jun 2006 09:39:56 -0500 (CDT) Received: by mahes.visi.com (Postfix, from userid 80) id D9584C9CDD; Fri, 2 Jun 2006 09:39:56 -0500 (CDT) Received: from 83.161.120.155 ([83.161.120.155]) by my.visi.com (IMP) with HTTP for <lopezlauren@example.net>; Fri, 2 Jun 2006 09:39:56 -0500 Message-ID: <lopezlauren@example.net> Date: Fri, 2 Jun 2006 09:39:56 -0500 From: Jacob Kjome <lopezlauren@example.net> To: Log4J Users List <lopezlauren@example.net> Subject: Re: log4j.properties and relative path issues References: <lopezlauren@example.net> In-Reply-To: <lopezlauren@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.5 X-Originating-IP: 83.161.120.155 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Relative paths are relative to the directory from which the JVM started. So, if you make sure that you put your "conf.file" in the director where you start the JVM, then you are golden. However, if you would not like to have this burden, you can also define a dynamic path using a System property. For instance... log4j.appender.CUSTOM.configurationFile=${conf.dir}/conf.file Then, make sure you set the system property before Log4j gets configured. You can either do this on the command line that starts the JVM using something like... java MyApp -Dconf.dir=C:/some/dir/path ...or you can perform manual Log4j configuration and set the system variable in code before calling configure("/path/to/log4j.properties"). BTW, don't bother using double backslashes. Just use forward slashes. It's ready properly under both UNIX and Windows and when using a dynamic path, you add no platform specifics by utilizing forward slashes. Jake Quoting Tomislav <lopezlauren@example.net>: > Hello, > > The problem is simple, not sure about the solution. > Here's the thing; I need to define the relative path to configuration file > defined in log4j.properties file. Information in this configuration file is > then > used in the custom appender I wrote. It works fine with absolute paths > defined > in log4j.properties file, but I'm at a loss as to what to do with this > relative > path issue. > > If I wasn't clear enough, here's an example of what I have, and what I'd like > to > do... > > Below is a line in log4j.properties file with current setting for the > configuration file for my custom appender. This is the way with everything > working just fine. > > log4j.appender.CUSTOM.configurationFile=C:\\workspace\\conf.file > > However, what I'd like to get is something like this > > log4j.appender.CUSTOM.configurationFile=conf.file > > or > > log4j.appender.CUSTOM.configurationFile=.\\conf.file, > > or something similar. > > I've seen some posts, not sure if I got them right though, that in case of > use > of relative paths in log4j.properties file there needs to be done some > additional coding in servlets and so on. In my case, unfortunately, this is > not > the option. > > Thank you, > Tomislav > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: lopezlauren@example.net > For additional commands, e-mail: lopezlauren@example.net > --------------------------------------------------------------------- To unsubscribe, e-mail: lopezlauren@example.net For additional commands, e-mail: lopezlauren@example.net From log4j-user-returnlopezlauren@example.net Fri Jun 02 18:06:57 2006 Return-Path: <log4j-user-returnlopezlauren@example.net> Delivered-To: lopezlauren@example.net Received: (qmail 41174 invoked from network); 2 Jun 2006 18:06:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jun 2006 18:06:56 -0000 Received: (qmail 27564 invoked by uid 500); 2 Jun 2006 18:06:52 -0000 Delivered-To: lopezlauren@example.net Received: (qmail 27478 invoked by uid 500); 2 Jun 2006 18:06:51 -0000 Mailing-List: contact lopezlauren@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:lopezlauren@example.net> List-Help: <mailto:lopezlauren@example.net> List-Post: <mailto:lopezlauren@example.net> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <lopezlauren@example.net> Delivered-To: mailing list lopezlauren@example.net Received: (qmail 27459 invoked by uid 99); 2 Jun 2006 18:06:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jun 2006 11:06:51 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO outbound2-res-R.bigfish.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jun 2006 11:06:45 -0700 Received: from outbound2-res.bigfish.com (localhost.localdomain [83.161.120.155]) by outbound2-res-R.bigfish.com (Postfix) with ESMTP id ABC19625F9D for <lopezlauren@example.net>; Fri, 2 Jun 2006 18:06:24 +0000 (UTC) Received: from mail61-res-R.bigfish.com (unknown [83.161.120.155]) by outbound2-res.bigfish.com (Postfix) with ESMTP id A4C8562502A for <lopezlauren@example.net>; Fri, 2 Jun 2006 18:06:24 +0000 (UTC) Received: from mail61-res.bigfish.com (localhost.localdomain [83.161.120.155]) by mail61-res-R.bigfish.com (Postfix) with ESMTP id 971B32719D6 for <lopezlauren@example.net>; Fri, 2 Jun 2006 18:06:24 +0000 (UTC) X-BigFish: VP Received: by mail61-res (MessageSwitch) id 1149271583155504_5592; Fri, 2 Jun 2006 18:06:23 +0000 (UCT) Received: from mail.21st.com (mail.21st.com [83.161.120.155]) by mail61-res.bigfish.com (Postfix) with ESMTP id 96E23271983 for <lopezlauren@example.net>; Fri, 2 Jun 2006 18:06:22 +0000 (UTC) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Subject: log4j and WSAD 5.0 problems Date: Fri, 2 Jun 2006 11:06:22 -0700 Message-ID: <lopezlauren@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: log4j and WSAD 5.0 anomalies and problems Thread-Index: AcaGbIawabX95+7tQn6hMb0o086PFwAACINgAACgvVA= From: "Muthukumarasamy, Shanmugam" <lopezlauren@example.net> To: <lopezlauren@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > Hi, > = > I am getting the following issue, When I try to start my WAS 5.0 Local s= erver in WSAD 5.0.1 Integration Edition. Please let me know if you have any= guess on it. > = > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R log4j:ERROR setFile(n= ull,true) call failed. > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R java.io.FileNotFoundE= xception: /usr/wasapps/css/logs/fnol-log4j-daily.log (The system cannot fin= d the path specified) > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr lopezlauren@example.net= tputStream.openAppend(Native Method) > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr lopezlauren@example.net= tStream.<init>(FileOutputStream.java:114) > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr lopezlauren@example.net.= FileAppender.setFile(FileAppender.java:272) > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr lopezlauren@example.net.= FileAppender.activateOptions(FileAppender.java:151) > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr lopezlauren@example.net.= DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:206)= > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr lopezlauren@example.net.= config.PropertySetter.activate(PropertySetter.java:247) > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr lopezlauren@example.net.= config.PropertySetter.setProperties(PropertySetter.java:123) > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr lopezlauren@example.net.= config.PropertySetter.setProperties(PropertySetter.java:87) > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr lopezlauren@example.net.= PropertyConfigurator.parseAppender(PropertyConfigurator.java:645) > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr lopezlauren@example.net.= PropertyConfigurator.parseCategory(PropertyConfigurator.java:603) > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr lopezlauren@example.net.= PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:500) > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr lopezlauren@example.net.= PropertyConfigurator.doConfigure(PropertyConfigurator.java:406) > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr lopezlauren@example.net.= PropertyConfigurator.configure(PropertyConfigurator.java:340) > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr lopezlauren@example.net= tion.Log4jInitSrvlt.init(Log4jInitSrvlt.java:96) > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr lopezlauren@example.net= ericServlet.init(GenericServlet.java:258) > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr lopezlauren@example.net= tainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:82) > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr lopezlauren@example.net= tainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147= ) > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr lopezlauren@example.net= tainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:= 270) > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr lopezlauren@example.net= tainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113)= > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr lopezlauren@example.net= tainer.servlet.ServletInstance.init(ServletInstance.java:175) > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr lopezlauren@example.net= ericServlet.init(GenericServlet.java:258) > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr lopezlauren@example.net= tainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:761= ) > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr lopezlauren@example.net= tainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:25= 7) > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr lopezlauren@example.net= tainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManage= r.java:453) > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr lopezlauren@example.net= tainer.webapp.WebApp.loadServletManager(WebApp.java:1233)> = > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr lopezlauren@example.net= tainer.webapp.WebApp.init(WebApp.java:273) > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr lopezlauren@example.net= bcontainer.srt.WebGroup.loadWebApp(WebGroup.java:317) > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr lopezlauren@example.net= tainer.srt.WebGroup.init(WebGroup.java:194) > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr lopezlauren@example.net= tainer.WebContainer.addWebApplication(WebContainer.java:950) > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr lopezlauren@example.net= e.component.WebContainerImpl.install(WebContainerImpl.java:133) > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr lopezlauren@example.net= e.component.WebContainerImpl.start(WebContainerImpl.java:360) > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr lopezlauren@example.net= e.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:401) > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr lopezlauren@example.net= e.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplica= tionImpl.java:743) > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr lopezlauren@example.net= e.component.DeployedModuleImpl.start(DeployedModuleImpl.java:337) > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr lopezlauren@example.net= e.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:531)= > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr lopezlauren@example.net= e.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:254= ) > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr lopezlauren@example.net= e.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:232) > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr lopezlauren@example.net= e.component.ContainerImpl.startComponents(ContainerImpl.java:343) > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr lopezlauren@example.net= e.component.ContainerImpl.start(ContainerImpl.java:234) > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr lopezlauren@example.net= e.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117) > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr lopezlauren@example.net= e.component.ContainerImpl.startComponents(ContainerImpl.java:343) > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr lopezlauren@example.net= e.component.ContainerImpl.start(ContainerImpl.java:234) > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr lopezlauren@example.net= e.component.ServerImpl.start(ServerImpl.java:182) > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr lopezlauren@example.net= e.WsServer.start(WsServer.java:135) > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr lopezlauren@example.net= e.WsServer.main(WsServer.java:232) > [6/2/06 10:42:33:620 PDT] 6540e3f1 SystemErr lopezlauren@example.net= .Method.invoke(Native Method) > [6/2/06 10:42:33:620 PDT] 6540e3f1 SystemErr lopezlauren@example.net= rap.WSLauncher.main(WSLauncher.java:94) > [6/2/06 10:42:33:620 PDT] 6540e3f1 SystemErr lopezlauren@example.net= bsphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97) > [6/2/06 10:42:33:620 PDT] 6540e3f1 SystemErr R log4j:ERROR Either Fi= le or DatePattern options are not set for appender [daily]. > = > = > Thanks, > Shan Muthukumarasamy > Information Services > Programmer/Analyst Sr. > Tel : 646.665.3509 > Fax: 646.665.3509 = > lopezlauren@example.net > = > = > = *********************************************************************** This e-mail and any files transmitted with it are intended = solely for the use of the addressee. This e-mail may = contain confidential and/or legally privileged information. = Any review, transmission, disclosure, copying, or any action = taken or not taken, by other than the intended recipient, in = reliance on the information, is prohibited. If you received = this e-mail in error, notify the sender and delete this e-mail = (and any accompanying material) from your computer and network. In addition, please be advised that 21st Century = Insurance Group reserves the right to monitor, access and = review all messages, data and images transmitted through = our electronic mail system. By using our e-mail system, you = consent to this monitoring. = *********************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: lopezlauren@example.net For additional commands, e-mail: lopezlauren@example.net From log4j-user-returnlopezlauren@example.net Fri Jun 02 21:55:12 2006 Return-Path: <log4j-user-returnlopezlauren@example.net> Delivered-To: lopezlauren@example.net Received: (qmail 22275 invoked from network); 2 Jun 2006 21:55:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jun 2006 21:55:12 -0000 Received: (qmail 55227 invoked by uid 500); 2 Jun 2006 21:55:04 -0000 Delivered-To: lopezlauren@example.net Received: (qmail 53004 invoked by uid 500); 2 Jun 2006 21:54:53 -0000 Mailing-List: contact lopezlauren@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:lopezlauren@example.net> List-Help: <mailto:lopezlauren@example.net> List-Post: <mailto:lopezlauren@example.net> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <lopezlauren@example.net> Delivered-To: mailing list lopezlauren@example.net Received: (qmail 49065 invoked by uid 99); 2 Jun 2006 21:54:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jun 2006 14:54:20 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lopezlauren@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO conn.mc.mpls.visi.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jun 2006 14:30:37 -0700 Received: from mahes.visi.com (mahes.visi.com [83.161.120.155]) by conn.mc.mpls.visi.com (Postfix) with ESMTP id 0666B8256 for <lopezlauren@example.net>; Fri, 2 Jun 2006 16:30:17 -0500 (CDT) Received: by mahes.visi.com (Postfix, from userid 80) id EF6D1C9CDD; Fri, 2 Jun 2006 16:30:16 -0500 (CDT) Received: from 83.161.120.155 ([83.161.120.155]) by my.visi.com (IMP) with HTTP for <lopezlauren@example.net>; Fri, 2 Jun 2006 16:30:16 -0500 Message-ID: <lopezlauren@example.net> Date: Fri, 2 Jun 2006 16:30:16 -0500 From: Jacob Kjome <lopezlauren@example.net> To: Log4J Users List <lopezlauren@example.net> Subject: Re: Weblogic - Concurrent access of the same appender by dif. applications References: <lopezlauren@example.net> In-Reply-To: <lopezlauren@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.5 X-Originating-IP: 83.161.120.155 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Are the EAR's both running in the same JVM? Do you have append="true" in the config for the file appenders? I would think it would work you have all this set up correctly. Jake Quoting lopezlauren@example.net: > Hello, > > I'm currently using Weblogic 8.1. > On this server, I've deployed two EARs, each of them having packages > beginning > with prefix empo.* > > For instance, in EAR #1, I'll have a class called empo.app1.admin.ParseFile > and in EAR #2, I'll have a class empo.app2.admin.ParseXML > > Each EAR has it's own log4j jar file embedded. (I didn't design the way the > applications are organized) > > The log4j.properties file is defined at the domain root (so in the BEA > server) > and the logs are rather general : > log4j.category.empo=DEBUG, APPLI > log4j.additivity.empo=false > > log4j.appender.APPLI=org.apache.log4j.DailyRollingFileAppender > log4j.appender.APPLI.File=C:/logs/EMPO_APPLI.log > log4j.appender.APPLI.datePattern='.'yyyy-MM-dd'.log' > log4j.appender.APPLI.append=true > log4j.appender.APPLI.layout=org.apache.log4j.PatternLayout > log4j.appender.APPLI.layout.ConversionPattern=<%d> <%-5p> <%C:%L> - %m%n > > When tested individualy, each application works very fine and is correctly > logged. > > But when I access to both applications, the file is created with the first > application and when I access to the second one, it overwrites the file (so > the > logs of appli1 is lost). The result is impredicatable. > > My idea is that the LOG4J class from app1 locks the file, then the LOG4J from > app2 tries to access it. > > Anyone has an idea so that the classes in both EARs can share the same log > file > ? > > Thanks a lot > > maxence- > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: lopezlauren@example.net > For additional commands, e-mail: lopezlauren@example.net > --------------------------------------------------------------------- To unsubscribe, e-mail: lopezlauren@example.net For additional commands, e-mail: lopezlauren@example.net From log4j-user-returnlopezlauren@example.net Fri Jun 02 21:55:13 2006 Return-Path: <log4j-user-returnlopezlauren@example.net> Delivered-To: lopezlauren@example.net Received: (qmail 22298 invoked from network); 2 Jun 2006 21:55:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jun 2006 21:55:13 -0000 Received: (qmail 51492 invoked by uid 500); 2 Jun 2006 21:54:45 -0000 Delivered-To: lopezlauren@example.net Received: (qmail 50282 invoked by uid 500); 2 Jun 2006 21:54:35 -0000 Mailing-List: contact lopezlauren@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:lopezlauren@example.net> List-Help: <mailto:lopezlauren@example.net> List-Post: <mailto:lopezlauren@example.net> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <lopezlauren@example.net> Delivered-To: mailing list lopezlauren@example.net Received: (qmail 49336 invoked by uid 99); 2 Jun 2006 21:54:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jun 2006 14:54:26 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lopezlauren@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO cenn.mc.mpls.visi.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jun 2006 14:26:21 -0700 Received: from mahes.visi.com (mahes.visi.com [83.161.120.155]) by cenn.mc.mpls.visi.com (Postfix) with ESMTP id 526CA8EB0 for <lopezlauren@example.net>; Fri, 2 Jun 2006 16:26:00 -0500 (CDT) Received: by mahes.visi.com (Postfix, from userid 80) id 2CE01C9CEE; Fri, 2 Jun 2006 16:26:00 -0500 (CDT) Received: from 83.161.120.155 ([83.161.120.155]) by my.visi.com (IMP) with HTTP for <lopezlauren@example.net>; Fri, 2 Jun 2006 16:26:00 -0500 Message-ID: <lopezlauren@example.net> Date: Fri, 2 Jun 2006 16:26:00 -0500 From: Jacob Kjome <lopezlauren@example.net> To: Log4J Users List <lopezlauren@example.net> Subject: Re: log4j and WSAD 5.0 problems References: <lopezlauren@example.net> In-Reply-To: <lopezlauren@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.5 X-Originating-IP: 83.161.120.155 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Does the directory "/usr/wasapps/css/logs/" exist? Log4j won't attempt to create it if it doesn't already exist. You must make sure that the full path exists. If it does, Log4j will write the file there just fine (as long as the user that started the JVM has proper permissions). Otherwise, this error is to be expected. Jake Quoting "Muthukumarasamy, Shanmugam" <lopezlauren@example.net>: > > > Hi, > > > > I am getting the following issue, When I try to start my WAS 5.0 Local > server in WSAD 5.0.1 Integration Edition. Please let me know if you have any > guess on it. > > > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R log4j:ERROR > setFile(null,true) call failed. > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R > java.io.FileNotFoundException: /usr/wasapps/css/logs/fnol-log4j-daily.log > (The system cannot find the path specified) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > java.io.FileOutputStream.openAppend(Native Method) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > java.io.FileOutputStream.<init>(FileOutputStream.java:114) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.FileAppender.setFile(FileAppender.java:272) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:206) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:123) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:645) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:603) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:500) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:406) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:340) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > com.i21.claims.action.Log4jInitSrvlt.init(Log4jInitSrvlt.java:96) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > javax.servlet.GenericServlet.init(GenericServlet.java:258) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:82) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:175) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > javax.servlet.GenericServlet.init(GenericServlet.java:258) > > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:761) > > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:257) > > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:453) > > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1233)> > > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:273) > > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:317) > > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:194) > > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:950) > > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:133) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:360) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:401) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:743) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:337) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:531) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:254) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:232) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:182) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.WsServer.start(WsServer.java:135) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.WsServer.main(WsServer.java:232) > > [6/2/06 10:42:33:620 PDT] 6540e3f1 SystemErr R at > java.lang.reflect.Method.invoke(Native Method) > > [6/2/06 10:42:33:620 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94) > > [6/2/06 10:42:33:620 PDT] 6540e3f1 SystemErr R at > com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97) > > [6/2/06 10:42:33:620 PDT] 6540e3f1 SystemErr R log4j:ERROR Either File > or DatePattern options are not set for appender [daily]. > > > > > > Thanks, > > Shan Muthukumarasamy > > Information Services > > Programmer/Analyst Sr. > > Tel : 646.665.3509 > > Fax: 646.665.3509 > > lopezlauren@example.net > > > > > > > > *********************************************************************** > This e-mail and any files transmitted with it are intended > solely for the use of the addressee. This e-mail may > contain confidential and/or legally privileged information. > Any review, transmission, disclosure, copying, or any action > taken or not taken, by other than the intended recipient, in > reliance on the information, is prohibited. If you received > this e-mail in error, notify the sender and delete this e-mail > (and any accompanying material) from your computer and > network. In addition, please be advised that 21st Century > Insurance Group reserves the right to monitor, access and > review all messages, data and images transmitted through > our electronic mail system. By using our e-mail system, you > consent to this monitoring. > *********************************************************************** > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: lopezlauren@example.net > For additional commands, e-mail: lopezlauren@example.net > --------------------------------------------------------------------- To unsubscribe, e-mail: lopezlauren@example.net For additional commands, e-mail: lopezlauren@example.net From log4j-user-returnlopezlauren@example.net Fri Jun 02 21:58:24 2006 Return-Path: <log4j-user-returnlopezlauren@example.net> Delivered-To: lopezlauren@example.net Received: (qmail 24441 invoked from network); 2 Jun 2006 21:58:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jun 2006 21:58:24 -0000 Received: (qmail 61518 invoked by uid 500); 2 Jun 2006 21:58:21 -0000 Delivered-To: lopezlauren@example.net Received: (qmail 61314 invoked by uid 500); 2 Jun 2006 21:58:20 -0000 Mailing-List: contact lopezlauren@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:lopezlauren@example.net> List-Help: <mailto:lopezlauren@example.net> List-Post: <mailto:lopezlauren@example.net> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <lopezlauren@example.net> Delivered-To: mailing list lopezlauren@example.net Received: (qmail 61303 invoked by uid 99); 2 Jun 2006 21:58:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jun 2006 14:58:20 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO outbound2-fra-R.bigfish.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jun 2006 14:58:19 -0700 Received: from outbound2-fra.bigfish.com (localhost.localdomain [83.161.120.155]) by outbound2-fra-R.bigfish.com (Postfix) with ESMTP id AEF2A532F2A; Fri, 2 Jun 2006 21:57:57 +0000 (UTC) Received: from mail59-fra-R.bigfish.com (unknown [83.161.120.155]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by outbound2-fra.bigfish.com (Postfix) with ESMTP id AC1665330B6; Fri, 2 Jun 2006 21:57:57 +0000 (UTC) Received: from mail59-fra.bigfish.com (localhost.localdomain [83.161.120.155]) by mail59-fra-R.bigfish.com (Postfix) with ESMTP id 902914479BD; Fri, 2 Jun 2006 21:57:57 +0000 (UTC) X-BigFish: VP Received: by mail59-fra (MessageSwitch) id 1149285476908473_32071; Fri, 2 Jun 2006 21:57:56 +0000 (UCT) Received: from mail.21st.com (mail.21st.com [83.161.120.155]) by mail59-fra.bigfish.com (Postfix) with ESMTP id 651FB4472C9; Fri, 2 Jun 2006 21:57:56 +0000 (UTC) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Subject: RE: log4j and WSAD 5.0 problems Date: Fri, 2 Jun 2006 14:57:55 -0700 Message-ID: <lopezlauren@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: log4j and WSAD 5.0 problems Thread-Index: AcaGjy82J/jlw4RdQNmy6yadNV+AtgAAD3Uw From: "Muthukumarasamy, Shanmugam" <lopezlauren@example.net> To: "Log4J Users List" <lopezlauren@example.net> Cc: <lopezlauren@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Yes I do have this folder structure in my C: drive. Also I have enough perm= ission on these. Thanks, Shan = -----Original Message----- From: Jacob Kjome [mailto:lopezlauren@example.net] Sent: Friday, June 02, 2006 2:26 PM To: Log4J Users List Subject: Re: log4j and WSAD 5.0 problems Does the directory "/usr/wasapps/css/logs/" exist? Log4j won't attempt to create it if it doesn't already exist. You must make sure that the full pa= th exists. If it does, Log4j will write the file there just fine (as long as = the user that started the JVM has proper permissions). Otherwise, this error i= s to be expected. Jake Quoting "Muthukumarasamy, Shanmugam" <lopezlauren@example.net>: > > > Hi, > > > > I am getting the following issue, When I try to start my WAS 5.0 Local= > server in WSAD 5.0.1 Integration Edition. Please let me know if you have = any > guess on it. > > > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R log4j:ERROR > setFile(null,true) call failed. > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R > java.io.FileNotFoundException: /usr/wasapps/css/logs/fnol-log4j-daily.log= > (The system cannot find the path specified) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > java.io.FileOutputStream.openAppend(Native Method) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > java.io.FileOutputStream.<init>(FileOutputStream.java:114) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.FileAppender.setFile(FileAppender.java:272) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileA= ppender.java:206) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:= 123) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:= 87) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.ja= va:645) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.ja= va:603) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigu= rator.java:500) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java= :406) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java= :340) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > com.i21.claims.action.Log4jInitSrvlt.init(Log4jInitSrvlt.java:96) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > javax.servlet.GenericServlet.init(GenericServlet.java:258) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletI= nstance.java:82) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycl= eServlet.java:147) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifec= ycleServlet.java:270) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycle= Servlet.java:113) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java= :175) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > javax.servlet.GenericServlet.init(GenericServlet.java:258) > > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServle= tManager.java:761) > > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServl= etManager.java:257) > > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(We= bAppServletManager.java:453) > > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1233= )> > > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:273) > > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:317) > > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:194) > > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:= 950) > > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java= :133) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java= :360) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.ja= va:401) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStar= t(DeployedApplicationImpl.java:743) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.ja= va:337) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicat= ionImpl.java:531) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Applicatio= nMgrImpl.java:254) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.ja= va:232) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.ja= va:343) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerI= mpl.java:117) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.ja= va:343) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:182) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.WsServer.start(WsServer.java:135) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.WsServer.main(WsServer.java:232) > > [6/2/06 10:42:33:620 PDT] 6540e3f1 SystemErr R at > java.lang.reflect.Method.invoke(Native Method) > > [6/2/06 10:42:33:620 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94) > > [6/2/06 10:42:33:620 PDT] 6540e3f1 SystemErr R at > com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunner= V5.java:97) > > [6/2/06 10:42:33:620 PDT] 6540e3f1 SystemErr R log4j:ERROR Either = File > or DatePattern options are not set for appender [daily]. > > > > > > Thanks, > > Shan Muthukumarasamy > > Information Services > > Programmer/Analyst Sr. > > Tel : 646.665.3509 > > Fax: 646.665.3509 > > lopezlauren@example.net > > > > > > > > *********************************************************************** > This e-mail and any files transmitted with it are intended > solely for the use of the addressee. This e-mail may > contain confidential and/or legally privileged information. > Any review, transmission, disclosure, copying, or any action > taken or not taken, by other than the intended recipient, in > reliance on the information, is prohibited. If you received > this e-mail in error, notify the sender and delete this e-mail > (and any accompanying material) from your computer and > network. In addition, please be advised that 21st Century > Insurance Group reserves the right to monitor, access and > review all messages, data and images transmitted through > our electronic mail system. By using our e-mail system, you > consent to this monitoring. > *********************************************************************** > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: lopezlauren@example.net > For additional commands, e-mail: lopezlauren@example.net > --------------------------------------------------------------------- To unsubscribe, e-mail: lopezlauren@example.net For additional commands, e-mail: lopezlauren@example.net *********************************************************************** This e-mail and any files transmitted with it are intended = solely for the use of the addressee. This e-mail may = contain confidential and/or legally privileged information. = Any review, transmission, disclosure, copying, or any action = taken or not taken, by other than the intended recipient, in = reliance on the information, is prohibited. If you received = this e-mail in error, notify the sender and delete this e-mail = (and any accompanying material) from your computer and network. In addition, please be advised that 21st Century = Insurance Group reserves the right to monitor, access and = review all messages, data and images transmitted through = our electronic mail system. By using our e-mail system, you = consent to this monitoring. = *********************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: lopezlauren@example.net For additional commands, e-mail: lopezlauren@example.net From log4j-user-returnlopezlauren@example.net Fri Jun 02 22:52:08 2006 Return-Path: <log4j-user-returnlopezlauren@example.net> Delivered-To: lopezlauren@example.net Received: (qmail 45491 invoked from network); 2 Jun 2006 22:52:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jun 2006 22:52:07 -0000 Received: (qmail 37187 invoked by uid 500); 2 Jun 2006 22:52:02 -0000 Delivered-To: lopezlauren@example.net Received: (qmail 37159 invoked by uid 500); 2 Jun 2006 22:52:01 -0000 Mailing-List: contact lopezlauren@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:lopezlauren@example.net> List-Help: <mailto:lopezlauren@example.net> List-Post: <mailto:lopezlauren@example.net> List-Id: "Log4J Users List" <log4j-user.logging.apache.org> Reply-To: "Log4J Users List" <lopezlauren@example.net> Delivered-To: mailing list lopezlauren@example.net Received: (qmail 37148 invoked by uid 99); 2 Jun 2006 22:52:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jun 2006 15:52:01 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO HKGSMTPGW02.OOCL.COM) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jun 2006 15:51:57 -0700 Received: from vtexchange.tsi.bc.ca ([83.161.120.155]) by HKGSMTPGW02.OOCL.COM with InterScan Message Security Suite; Sat, 03 Jun 2006 06:51:12 +0800 X-MIMEOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [BULK] RE: log4j and WSAD 5.0 problems Date: Fri, 2 Jun 2006 15:46:23 -0700 Message-ID: <lopezlauren@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [BULK] RE: log4j and WSAD 5.0 problems Thread-index: AcaGjy82J/jlw4RdQNmy6yadNV+AtgAAD3UwAAGcMHA= From: "Philip Denno" <lopezlauren@example.net> To: "Log4J Users List" <lopezlauren@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Why do you have a Unix file path on a windows drive? I would think this would cause lots of "unexpected" behaviour. Maybe try changing to something that windows would like more?=0D Say c:\css\logs Cheers, Philip. =0D -----Original Message----- From: Muthukumarasamy, Shanmugam [mailto:lopezlauren@example.net]=0D Sent: Friday, June 02, 2006 2:58 PM To: Log4J Users List Cc: lopezlauren@example.net Subject: [BULK] RE: log4j and WSAD 5.0 problems Importance: Low Yes I do have this folder structure in my C: drive. Also I have enough permission on these. Thanks, Shan=0D -----Original Message----- From: Jacob Kjome [mailto:lopezlauren@example.net] Sent: Friday, June 02, 2006 2:26 PM To: Log4J Users List Subject: Re: log4j and WSAD 5.0 problems Does the directory "/usr/wasapps/css/logs/" exist? Log4j won't attempt to create it if it doesn't already exist. You must make sure that the full path exists. If it does, Log4j will write the file there just fine (as long as the user that started the JVM has proper permissions). Otherwise, this error is to be expected. Jake Quoting "Muthukumarasamy, Shanmugam" <lopezlauren@example.net>: > > > Hi, > > > > I am getting the following issue, When I try to start my WAS 5.0 > > Local > server in WSAD 5.0.1 Integration Edition. Please let me know if you=0D > have any guess on it. > > > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R log4j:ERROR > setFile(null,true) call failed. > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R > java.io.FileNotFoundException:=0D > /usr/wasapps/css/logs/fnol-log4j-daily.log > (The system cannot find the path specified) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > java.io.FileOutputStream.openAppend(Native Method) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > java.io.FileOutputStream.<init>(FileOutputStream.java:114) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.FileAppender.setFile(FileAppender.java:272) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFi leAppender.java:206) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:24 > 7) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.ja > va:123) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.ja > va:87) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator .java:645) > > [6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator .java:603) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConf igurator.java:500) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.j ava:406) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.j > ava:340) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > com.i21.claims.action.Log4jInitSrvlt.init(Log4jInitSrvlt.java:96) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > javax.servlet.GenericServlet.init(GenericServlet.java:258) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServl etInstance.java:82) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifec ycleServlet.java:147) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLi fecycleServlet.java:270) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecy cleServlet.java:113) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.j > ava:175) > > [6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr R at > javax.servlet.GenericServlet.init(GenericServlet.java:258) > > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppSer vletManager.java:761) > > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppSe rvletManager.java:257) > > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets (WebAppServletManager.java:453) > > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1 > 233)> > > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:273) > > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:317) > > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:194) > > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.ja > va:950) > > [6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.j ava:133) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.j > ava:360) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl .java:401) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectS tart(DeployedApplicationImpl.java:743) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl .java:337) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedAppli cationImpl.java:531) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Applica tionMgrImpl.java:254) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl .java:232) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl .java:343) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:23 > 4) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServ erImpl.java:117) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl .java:343) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:23 > 4) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:182) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.WsServer.start(WsServer.java:135) > > [6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.runtime.WsServer.main(WsServer.java:232) > > [6/2/06 10:42:33:620 PDT] 6540e3f1 SystemErr R at > java.lang.reflect.Method.invoke(Native Method) > > [6/2/06 10:42:33:620 PDT] 6540e3f1 SystemErr R at > com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94) > > [6/2/06 10:42:33:620 PDT] 6540e3f1 SystemErr R at > com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRun nerV5.java:97) > > [6/2/06 10:42:33:620
{'source': 'Apache Software Foundation Public Mail Archives'}