Return-Path: Delivered-To: apmail-tiles-users-archive@minotaur.apache.org Received: (qmail 53902 invoked from network); 25 Jan 2010 15:19:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Jan 2010 15:19:02 -0000 Received: (qmail 42009 invoked by uid 500); 25 Jan 2010 15:19:02 -0000 Delivered-To: apmail-tiles-users-archive@tiles.apache.org Received: (qmail 41958 invoked by uid 500); 25 Jan 2010 15:19:02 -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 41948 invoked by uid 99); 25 Jan 2010 15:19:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jan 2010 15:19:01 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=MSGID_MULTIPLE_AT,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [200.40.173.210] (HELO mail.manentiasoftware.com) (200.40.173.210) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jan 2010 15:18:55 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.manentiasoftware.com (Postfix) with ESMTP id 1013D2B231 for ; Mon, 25 Jan 2010 13:14:25 -0200 (UYST) X-Virus-Scanned: amavisd-new at manentiasoftware.com Received: from mail.manentiasoftware.com ([127.0.0.1]) by localhost (mail.manentiasoftware.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CwMWx2vUCOjY for ; Mon, 25 Jan 2010 13:14:24 -0200 (UYST) Received: from nbrzuasti (nb-rzuasti.uy.manentiasoftware.com [192.168.0.108]) by mail.manentiasoftware.com (Postfix) with ESMTP id B212C26D1B for ; Mon, 25 Jan 2010 13:14:24 -0200 (UYST) From: "Ricardo Zuasti" To: References: <5626225125034742110@unknownmsgid> In-Reply-To: Subject: RE: Tiles 2.1, Struts 2 and Tomcat 6 - Portlet exception Date: Mon, 25 Jan 2010 13:18:32 -0200 Message-ID: <001e01ca9dd1$a7b604d0$f7220e70$@zuasti@manentiasoftware.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 thread-index: Acqdy9dTJhFa6pgtTkOc9DozTj4JbAABY7nQ Content-Language: en-us Antonio, thanks for your answer. I'm using Tiles 2.1.4, and the log was indeed set to debug. I changed it to warn and now the exception isn't visible. I'm still getting some warnings while starting tomcat: WARN org.apache.tiles.context.ChainedTilesApplicationContextFactory - Cannot find TilesContextFactory class org.apache.tiles.portlet.context.PortletTilesApplicationContextFactory It's not a big deal, but imho it should not be printed as a warning = since I'm purposely not using portlets. Cheers, Ricardo -----Original Message----- From: Antonio Petrelli [mailto:antonio.petrelli@gmail.com]=20 Sent: Monday, January 25, 2010 12:40 PM To: users@tiles.apache.org Subject: Re: Tiles 2.1, Struts 2 and Tomcat 6 - Portlet exception 2010/1/25 Ricardo Zuasti : > Hi, I'm trying to use Tiles 2.1 in a web app deployed in a Tomcat 6.0 > environment. > > Everything is working just fine, but I keep getting an exception = during > tomcats startup: > > > > java.lang.ClassNotFoundException: > org.apache.tiles.portlet.context.PortletTilesApplicationContextFactory > > =A0 =A0 =A0 =A0at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.= jav > a:1360) > > =A0 =A0 =A0 =A0at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.= jav > a:1206) > > =A0 =A0 =A0 =A0at = java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) > > =A0 =A0 =A0 =A0at java.lang.Class.forName0(Native Method) > > =A0 =A0 =A0 =A0at java.lang.Class.forName(Class.java:247) > > =A0 =A0 =A0 =A0at = org.apache.tiles.reflect.ClassUtil.getClass(ClassUtil.java:60) > > =A0 =A0 =A0 =A0at > org.apache.tiles.context.ChainedTilesApplicationContextFactory.init(Chain= edT > ilesApplicationContextFactory.java:98) Either you are using Tiles 2.0.x prior to 2.0.5, or you set DEBUG level to Tiles classes logging. Here is the related issue: http://issues.apache.org/struts/browse/TILES-180 Antonio