Return-Path: Delivered-To: apmail-tiles-users-archive@minotaur.apache.org Received: (qmail 66510 invoked from network); 30 Oct 2009 13:47:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Oct 2009 13:47:27 -0000 Received: (qmail 97405 invoked by uid 500); 30 Oct 2009 13:47:27 -0000 Delivered-To: apmail-tiles-users-archive@tiles.apache.org Received: (qmail 97360 invoked by uid 500); 30 Oct 2009 13:47:27 -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 97350 invoked by uid 99); 30 Oct 2009 13:47:27 -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:47:27 +0000 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 (nike.apache.org: domain of brian.stewart@ahom.com designates 66.18.123.9 as permitted sender) Received: from [66.18.123.9] (HELO ahom.com) (66.18.123.9) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2009 13:47:18 +0000 Received: from ([10.1.1.206]) by bscf01.ahom.com with ESMTP with TLS id 4CJVGG1.96866945; Fri, 30 Oct 2009 08:35:30 -0500 Received: from MXCLUSTER01.amhome.com ([fe80::b132:fc84:f879:1144]) by BSCNEXCH02.amhome.com ([::1]) with mapi; Fri, 30 Oct 2009 08:44:57 -0500 From: Brian Stewart To: "users@tiles.apache.org" Date: Fri, 30 Oct 2009 08:44:55 -0500 Subject: RE: TilesContainer Not Intialized Problem Thread-Topic: TilesContainer Not Intialized Problem Thread-Index: AcpZZLJQEG9ejlxyQMKbHMnLgpOwOwAAhrtQ Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org My Bad Andy, You also need the configuration for the stdout appender. Here is what I us= e... # configuration for the console appender=20 log4j.appender.stdout=3Dorg.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=3Dorg.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=3D%-5p [%d] (%c:%L) - %m%n Regards, Brian=20 mrbcstewart@yahoo.com -----Original Message----- From: Andy T [mailto:verygoofyone@gmail.com]=20 Sent: Friday, October 30, 2009 8:29 AM To: users@tiles.apache.org Subject: Re: TilesContainer Not Intialized Problem 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 wrot= e: > Just add ", stdout" to the top line in your log4j.properties file. > > Should look like... > log4j.rootLogger=3DDEBUG, 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 worki= ng > 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=3DDEBUG, testAppender > > log4j.appender.testAppender=3D > com.webmethods.sc.logging.log4j.WmDailyFileAppender > > log4j.appender.testAppender.file=3Dlog/test1.log > > log4j.appender.testAppender.datePattern=3D'.'yyyy-MM-dd_HH_mm > > log4j.appender.testAppender.Append=3Dfalse > > log4j.appender.testAppender.layout=3Dcom.webmethods.sc.log4j.PatternLayou= t > > log4j.appender.testAppender.layout.ConversionPattern=3D%m%n > > log4j.appender.testAppender.stdout.Target=3DSystem.out > > > > log4j.rootLogger=3Dwarn, stdout > > log4j.logger.org.hibernate=3Ddebug > > log4j.logger.org.hibernate.type=3Dinfo > > log4j.logger.org.hibernate.tool.hbm2ddl=3Ddebug > > ****************************** logging.properties > ************************** > > handlers =3D *org*.*apache*.*juli*.FileHandler, java.*util* > .logging.ConsoleHandler > > ############################################################ > > # Handler specific properties. > > # Describes specific configuration info for Handlers. > > ############################################################ > > org.apache.juli.FileHandler.level =3D FINE > > org.apache.juli.FileHandler.directory =3D ${*catalina*.base}/logs > > org.apache.juli.FileHandler.prefix =3D *servlet*-examples. > > java.util.logging.ConsoleHandler.level =3D FINE > > java.util.logging.ConsoleHandler.formatter =3D 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 tim= e > > >> 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. > >