From user-return-219242-archive-asf-public=cust-asf.ponee.io@struts.apache.org Thu Jan 31 05:59:28 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 40D85180648 for ; Thu, 31 Jan 2019 06:59:28 +0100 (CET) Received: (qmail 59134 invoked by uid 500); 31 Jan 2019 05:59:22 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 59122 invoked by uid 99); 31 Jan 2019 05:59:21 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jan 2019 05:59:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C1465180A1F for ; Thu, 31 Jan 2019 05:59:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.549 X-Spam-Level: ** X-Spam-Status: No, score=2.549 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, KAM_BADIPHTTP=2, KAM_INFOUSMEBIZ=0.75, KAM_SHORT=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=pdinc.us Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id ZXuApkTrKk9E for ; Thu, 31 Jan 2019 05:59:18 +0000 (UTC) Received: from mail1.pdinc.us (mail.pdinc.us [67.90.184.27]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 45EC75F16A for ; Thu, 31 Jan 2019 05:59:17 +0000 (UTC) Received: from blackfat (five-58.pdinc.us [192.168.5.58]) (authenticated bits=0) by mail1.pdinc.us (8.14.4/8.14.4) with ESMTP id x0V5xFAi003429 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 31 Jan 2019 00:59:15 -0500 DKIM-Filter: OpenDKIM Filter v2.11.0 mail1.pdinc.us x0V5xFAi003429 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pdinc.us; s=default; t=1548914355; bh=VFsaAVW/OlHG9IixCGGo2E5GyynlKRFYdeG7cyVI+UU=; h=From:To:References:In-Reply-To:Subject:Date:From; b=VptRUVMCAIjbyFyB0bGxywXmG7IgQKWFPPljdgj0H+GhKGq/kMIaMsD1FVcHq1WdT en5Y/rXPv2BXZXzLMfaPCLkwKCpdBgThRihpd9tbG4qc4iBrVIbDKIEb0ZLoJIzNvE 5PRG2DYo/3Z1S1zEWD3SUw4d8INB6YPebVxvpD//RXhT7CbwoU+Xcu5jpc7ZBLQQEt 4j4+a7FonRViHWN4DqPJoyFs2LTwFAvveUMncpYmcrjamlLv68kdGASkE2B/erKt8v sdJ3nEWTZygTU0eAlOC6nfR77zLWsqKLUkFS6qR2DWKzi5Nmt+vYH3A30IaWryyIzh 0cpn7yzvePVMA== From: "Jason Pyeron" To: "'Struts Users Mailing List'" References: <039901d4b90a$2bbe72a0$833b57e0$@pdinc.us> <000301d4b910$1d556ce0$580046a0$@pdinc.us> In-Reply-To: <000301d4b910$1d556ce0$580046a0$@pdinc.us> Subject: RE: [struts-user] XML based configuration Date: Thu, 31 Jan 2019 00:59:15 -0500 Organization: PD Inc Message-ID: <001c01d4b92a$19224bb0$4b66e310$@pdinc.us> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQE1Y24YIILSBxwtvMPGL/VTHlAoBAKDLzjapvNwmJA= Content-Language: en-us > -----Original Message----- > From: Jason Pyeron > Sent: Wednesday, January 30, 2019 9:53 PM > > -----Original Message----- > > From: Jason Pyeron > > Sent: Wednesday, January 30, 2019 9:11 PM > > > > It has been 10+ years since I used the XML configuration, so please = bear > > with me. > > > > I am attempting to deploy Apache Roller under a sub context > > (public#roller.war) so the url would be > > http://127.0.0.1:8080/public/roller/roller-ui/login.rol . > > > > When I do so, I get an exception cannot find definition named .Login > > So I think I have narrowed it down. file:/C:/programs.x64/apache-software-foundation/apache-tomcat-7.0.82/web= apps/public#roller/WEB-INF/tiles.xml But when this URL is stored in the = org.apache.tiles.request.ApplicationResource, specifically = org.apache.struts2.tiles.StrutsApplicationResource it is splitting the = URL in two: pathPrefix=3D"/C:/programs.x64/apache-software-foundation/apache-tomcat-7= .0" and suffix=3D".82/webapps/public" If I hack it with the debugger to : pathPrefix=3D"/C:/programs.x64/apache-software-foundation/apache-tomcat-7= .0.82/webapps/public#roller/WEB-INF/tiles.xml" and suffix=3D"" It works until the next restart! --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org