Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 52647D8E9 for ; Mon, 13 Aug 2012 04:29:42 +0000 (UTC) Received: (qmail 96425 invoked by uid 500); 13 Aug 2012 04:29:39 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 96048 invoked by uid 500); 13 Aug 2012 04:29:30 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 95997 invoked by uid 99); 13 Aug 2012 04:29:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2012 04:29:28 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Chuck.Caldarale@unisys.com designates 216.82.241.99 as permitted sender) Received: from [216.82.241.99] (HELO mail51.messagelabs.com) (216.82.241.99) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2012 04:29:18 +0000 X-Env-Sender: Chuck.Caldarale@unisys.com X-Msg-Ref: server-13.tower-51.messagelabs.com!1344832135!13492688!1 X-Originating-IP: [192.61.61.105] X-StarScan-Received: X-StarScan-Version: 6.6.1.2; banners=-,-,- X-VirusChecked: Checked Received: (qmail 26618 invoked from network); 13 Aug 2012 04:28:56 -0000 Received: from naedge.unisys.com (HELO USEA-NAEDGE2.unisys.com) (192.61.61.105) by server-13.tower-51.messagelabs.com with RC4-SHA encrypted SMTP; 13 Aug 2012 04:28:56 -0000 Received: from usea-nahubcas1.na.uis.unisys.com (129.224.76.114) by USEA-NAEDGE2.unisys.com (192.61.61.105) with Microsoft SMTP Server (TLS) id 8.3.83.0; Sun, 12 Aug 2012 23:28:55 -0500 Received: from USEA-EXCH8.na.uis.unisys.com ([129.224.76.41]) by usea-nahubcas1.na.uis.unisys.com ([129.224.76.114]) with mapi; Sun, 12 Aug 2012 23:28:55 -0500 From: "Caldarale, Charles R" To: Tomcat Users List Date: Sun, 12 Aug 2012 23:28:54 -0500 Subject: RE: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl Thread-Topic: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl Thread-Index: Ac1z0JtNeIvaVblFSmuMoOqmCuTa+gFMhXxwAAHky0A= Message-ID: <99C8B2929B39C24493377AC7A121E21FB036521FE1@USEA-EXCH8.na.uis.unisys.com> References: <12552501.130.1344256661440.JavaMail.daniel@cleveland> 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 > From: Dale Ogilvie [mailto:Dale_Ogilvie@trimble.com]=20 > Subject: RE: ClassCastException org.apache.jasper.runtime.ELContextImpl=20 > cannot be cast to org.apache.jasper.el.ELContextImpl > The following class load output excerpt results when I request=20 > a jsp from app1 (wtpwebapps/PromotionCodes/) after both app2=20 > (wtpwebapps/OsirisTest) and app1 have been loaded in Tomcat startup.=20 > [Loaded org.apache.jasper.runtime.JspApplicationContextImpl from=20 > file:/C:/sandpit-28/.metadata/.plugins/org.eclipse.wst.server.core/ > tmp0/wtpwebapps/OsirisTest/WEB-INF/lib/jsp-2.1-6.1.14.jar] > [Loaded org.apache.jasper.runtime.ELContextImpl from=20 > file:/C:/sandpit-28/.metadata/.plugins/org.eclipse.wst.server.core/ > tmp0/wtpwebapps/OsirisTest/WEB-INF/lib/jsp-2.1-6.1.14.jar] The above shows the problem (along with several other classes loaded from t= hat location). Looks like you have some hard-coded links to the local file= system buried inside the webapp's META-INF entries - making the .war file = decidedly non-portable. This doesn't explain why Tomcat isn't protecting i= tself from ill-mannered webapps, but it does indicate that your process for= constructing webapps needs looking into. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MA= TERIAL and is thus for use only by the intended recipient. If you received = this in error, please contact the sender and delete the e-mail and its atta= chments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org