Return-Path: Delivered-To: apmail-tiles-users-archive@minotaur.apache.org Received: (qmail 54689 invoked from network); 30 Oct 2009 13:29:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Oct 2009 13:29:11 -0000 Received: (qmail 68068 invoked by uid 500); 30 Oct 2009 13:29:11 -0000 Delivered-To: apmail-tiles-users-archive@tiles.apache.org Received: (qmail 67994 invoked by uid 500); 30 Oct 2009 13:29:11 -0000 Mailing-List: contact users-help@tiles.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@tiles.apache.org Delivered-To: mailing list users@tiles.apache.org Received: (qmail 67984 invoked by uid 99); 30 Oct 2009 13:29:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2009 13:29:11 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of verygoofyone@gmail.com designates 209.85.223.198 as permitted sender) Received: from [209.85.223.198] (HELO mail-iw0-f198.google.com) (209.85.223.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2009 13:29:02 +0000 Received: by iwn36 with SMTP id 36so2120261iwn.24 for ; Fri, 30 Oct 2009 06:28:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=QGXLlczp56sUsjR7fxuWDR8sRNyuIs8odDapC6U76cU=; b=vVACte8sID6DU0R8PwNqJ5oq0oduVmNK+31KBcigsunZTG3I1yoyfWGugB9HtCB0I5 PHk9G9TZb8DeKcAthfc5Im5NoRrvtz1vxZQqUeXuLrv3aiNHF84bhMfHeG5OTa08qMDz XEXfj+uuh4JRZx9nIey0GyZybf0uiel9dIQv4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=kffMqBhZXF4m5rl9ZtqHbiD0AmC3iCJc3a2xdjcJc1zy3DlYwnk/ymrQCP/DV+3G0E Jp2wiiOacJW/VdQwJu0KcJ91pRCSuZfFRbRvHzJh16lFq4KYfwaCzzzbcUqIYgC/elQe uBDnXrmANzU1wDi/mE8lM3o9Y7jBZ71rYLLwY= MIME-Version: 1.0 Received: by 10.231.148.135 with SMTP id p7mr4558404ibv.27.1256909321230; Fri, 30 Oct 2009 06:28:41 -0700 (PDT) In-Reply-To: References: Date: Fri, 30 Oct 2009 09:28:41 -0400 Message-ID: Subject: Re: TilesContainer Not Intialized Problem From: Andy T To: users@tiles.apache.org Content-Type: multipart/alternative; boundary=0016e64be2209b9051047727013d X-Virus-Checked: Checked by ClamAV on apache.org --0016e64be2209b9051047727013d Content-Type: text/plain; charset=ISO-8859-1 Hi Brian, I replaced the line as you suggested and restarted Tomcat but unfortunately I still get the same error: log4j:ERROR Could not find value for key log4j.appender.stdout Thanks, Andy On Fri, Oct 30, 2009 at 9:15 AM, Brian Stewart wrote: > Just add ", stdout" to the top line in your log4j.properties file. > > Should look like... > log4j.rootLogger=DEBUG, testAppender, stdout > > Regards, > Brian > mrbcstewart@yahoo.com > > -----Original Message----- > From: Andy T [mailto:verygoofyone@gmail.com] > Sent: Friday, October 30, 2009 8:12 AM > To: users@tiles.apache.org > Subject: Re: TilesContainer Not Intialized Problem > > Hi Antonio, > > Thank you for responding to my question . . . > > I'm new to all this and my logger is not properly configured so I'm working > on this . . . > > Currently, I have a log4j.properties file and logging.properties file in > WEB-INF/Classes Folder. However, I'm not sure what the contents of these > files should be . . . the current contents are shown below: > > **************** log4j.properties ******************** > > log4j.rootLogger=DEBUG, testAppender > > log4j.appender.testAppender= > com.webmethods.sc.logging.log4j.WmDailyFileAppender > > log4j.appender.testAppender.file=log/test1.log > > log4j.appender.testAppender.datePattern='.'yyyy-MM-dd_HH_mm > > log4j.appender.testAppender.Append=false > > log4j.appender.testAppender.layout=com.webmethods.sc.log4j.PatternLayout > > log4j.appender.testAppender.layout.ConversionPattern=%m%n > > log4j.appender.testAppender.stdout.Target=System.out > > > > log4j.rootLogger=warn, stdout > > log4j.logger.org.hibernate=debug > > log4j.logger.org.hibernate.type=info > > log4j.logger.org.hibernate.tool.hbm2ddl=debug > > ****************************** logging.properties > ************************** > > handlers = *org*.*apache*.*juli*.FileHandler, java.*util* > .logging.ConsoleHandler > > ############################################################ > > # Handler specific properties. > > # Describes specific configuration info for Handlers. > > ############################################################ > > org.apache.juli.FileHandler.level = FINE > > org.apache.juli.FileHandler.directory = ${*catalina*.base}/logs > > org.apache.juli.FileHandler.prefix = *servlet*-examples. > > java.util.logging.ConsoleHandler.level = FINE > > java.util.logging.ConsoleHandler.formatter = java.*util* > .logging.SimpleFormatter > > > > I get these messages when I start Tomcat 5.5: > > log4j:ERROR Could not find value for key log4j.appender.stdout > > log4j:ERROR Could not instantiate appender named "stdout". > > log4j:WARN No appenders could be found for logger > (org.apache.commons.digester.Digester). > > log4j:WARN Please initialize the log4j system properly. > > Can you assist me in configuring the logger correctly? > > Thanks, > > Andy > > > > > > > > On Fri, Oct 30, 2009 at 3:55 AM, Antonio Petrelli < > antonio.petrelli@gmail.com> wrote: > > > 2009/10/30 Antonio Petrelli : > > > 2009/10/30 Andy T : > > >> I'm trying to apply Tiles in my Struts application for the first time > > >> and I'm getting this error: "javax.servlet.ServletException: > > >> TilesContainer not initialized" when I execute test.jsp. I'm using > > >> Struts 1.3 and Tiles 2.1.3. Relevant code snippets of various files > > >> are shown below. > > > > > > Please post your log. > > > > I meant the *entire* log, from the start of the webapp to the error. > > > > Antonio > > > This message is confidential, intended only for the named recipient > and may contain information that is privileged or exempt from > disclosure under applicable law. If you are not the intended > recipient, you are notified that the dissemination, distribution or > copying of this message is strictly prohibited. If you receive > this message in error, or are not the named recipient, please > notify the sender at the email address listed above. > > --0016e64be2209b9051047727013d--