Return-Path: X-Original-To: apmail-tiles-users-archive@minotaur.apache.org Delivered-To: apmail-tiles-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4641B7ED0 for ; Mon, 15 Aug 2011 20:05:51 +0000 (UTC) Received: (qmail 19218 invoked by uid 500); 15 Aug 2011 20:05:51 -0000 Delivered-To: apmail-tiles-users-archive@tiles.apache.org Received: (qmail 19056 invoked by uid 500); 15 Aug 2011 20:05:50 -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 19047 invoked by uid 99); 15 Aug 2011 20:05:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Aug 2011 20:05:50 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of adi.saraf@gmail.com designates 209.85.220.173 as permitted sender) Received: from [209.85.220.173] (HELO mail-vx0-f173.google.com) (209.85.220.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Aug 2011 20:05:42 +0000 Received: by vxi32 with SMTP id 32so5161117vxi.32 for ; Mon, 15 Aug 2011 13:05:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=4F/yKBtdkSw9HcYKE51zNAsQVbmaRGiCycxVf0Snki4=; b=MIFtqGNR00xTBOw9/DfwJOjDVLJxHa5fn2q2fLvnPZv482+4HObLsetKpKb7jg0QyN 6WvDITgJtdflD8REoz/B6NQnvwbuRzwjkkw2FDsIyKcSV01WBEbXQor3OjH97UYJ2NK8 aYZbozT/ddOICX0dxSrMtpB3nvmixGPW4wQ9Y= MIME-Version: 1.0 Received: by 10.52.175.35 with SMTP id bx3mr3983296vdc.2.1313438721233; Mon, 15 Aug 2011 13:05:21 -0700 (PDT) Received: by 10.52.166.198 with HTTP; Mon, 15 Aug 2011 13:05:21 -0700 (PDT) In-Reply-To: References: Date: Mon, 15 Aug 2011 16:05:21 -0400 Message-ID: Subject: Re: Tiles Context not being published. From: Aditya Saraf To: users@tiles.apache.org Content-Type: multipart/alternative; boundary=bcaec51a7a8669d2b204aa90c8f5 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec51a7a8669d2b204aa90c8f5 Content-Type: text/plain; charset=ISO-8859-1 Also, my web.xml is configured with the following. tiles org.apache.tiles.web.startup.simple.SimpleTilesInitializerServlet 1 Which means that I just need a tiles.xml in my WEB-INF directory. Thanks, Adi Saraf On Mon, Aug 15, 2011 at 4:02 PM, Aditya Saraf wrote: > Hi, > > When starting the tomcat server, I should be seeing something like this. > > Publishing TilesContext for context: > org.apache.tiles.servlet.context.ServletTilesApplicationContext > But I don't see anything like this, and hence none of my pages are showing > and throwing the following exception. > > org.apache.tiles.definition.NoSuchDefinitionException: contactus.homepage > at > org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:625) > at > org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:321) > at > org.apache.tiles.template.InsertDefinitionModel.end(InsertDefinitionModel.java:104) > at > org.apache.tiles.jsp.taglib.InsertDefinitionTag.doTag(InsertDefinitionTag.java:278) > at > org.apache.jsp.contactus_jsp._jspx_meth_tiles_005finsertDefinition_005f0(contactus_jsp.java:64) > at org.apache.jsp.contactus_jsp._jspService(contactus_jsp.java:42) > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) > > Can someone help? My web application has been deployed as the root. > > Thanks, > Adi Saraf > -- Adi Saraf --bcaec51a7a8669d2b204aa90c8f5--