Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 748 invoked from network); 7 Jan 2010 23:14:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Jan 2010 23:14:01 -0000 Received: (qmail 14741 invoked by uid 500); 7 Jan 2010 23:13:57 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 14659 invoked by uid 500); 7 Jan 2010 23:13:57 -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 14648 invoked by uid 99); 7 Jan 2010 23:13:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jan 2010 23:13:57 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of zacheuszs@gmail.com designates 209.85.219.220 as permitted sender) Received: from [209.85.219.220] (HELO mail-ew0-f220.google.com) (209.85.219.220) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jan 2010 23:13:50 +0000 Received: by ewy20 with SMTP id 20so7673916ewy.0 for ; Thu, 07 Jan 2010 15:13:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=409bj7mPG0FKGcXDGDQI3NHKQj7fejsDXKjkaumQxeo=; b=tgjjdbd6XxcuBcxGwOz/D5wHrWJpRygJbCoSDtVkouO0l7D4nNhDZfmKQ9MGfs5I3G HyPaHIPOR3iovYbMR+UF8E6U3ICwQJVKL7dYycDXZnNu30KaUlr/L5pczr6TTMkk4J2Y ABIXx+iuTXhoSKvyqK3oqpOibI/QAIkpV/2J4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=f667M0IDs73bFzMCoS7fJNXqvRF7cPFEB/Z7XGysvd6TOpWSTe1Bgv/S99mExu6IQB zK6BwsXXP/3ykd33/5pCk9d36Nwu68D3awWuq8tTpW42ZQHiAdTAOTuRUYU4EAo31zDC wUYOYHEpoSm38ATOOS2RjhjurnWcmA6wM92LU= MIME-Version: 1.0 Received: by 10.213.15.19 with SMTP id i19mr179868eba.65.1262906008848; Thu, 07 Jan 2010 15:13:28 -0800 (PST) In-Reply-To: <6cd207e10912190103g614d6f2mf9a8a24ce5f8cbd0@mail.gmail.com> References: <6cd207e10912121335y28d7018dqf999e081697ca00b@mail.gmail.com> <6cd207e10912151800i6a0e60dcl5745387a54959043@mail.gmail.com> <99C8B2929B39C24493377AC7A121E21F9680850CCB@USEA-EXCH8.na.uis.unisys.com> <6cd207e10912190103g614d6f2mf9a8a24ce5f8cbd0@mail.gmail.com> Date: Fri, 8 Jan 2010 00:13:28 +0100 Message-ID: <6cd207e11001071513v7f2869ffv4f9a349abff0b6f3@mail.gmail.com> Subject: Re: How to JSF 2.0 (Mojarra-2.0.2) with Facelets on Tomcat? From: Zacheusz Siedlecki To: Tomcat Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable It's not a problem exactly with Mojarra. It's a conflict between new EL JARs (el-api-1.1.jar, el-impl-1.1.jar) and Tomcat's el jars (el-impl.jar in Tomcat 6 and commons-el.jar in 5.5). The problem is that Tomcat's jars are required by Jasper and I need JSP implementation as well. When I add EL JARs to WEB-INF\lib I get this exception: javax.servlet.ServletException: java.lang.LinkageError: loader constraint violation: when resolving interface method "javax.servlet.jsp.JspApplicationContext.getExpressionFactory()Ljavax/el/Ex= pressionFactory;" the class loader (instance of org/apache/jasper/servlet/JasperLoader) of the current class, org/apache/jsp/index_jsp, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for resolved class, javax/servlet/jsp/JspApplicationContext, have different Class objects for the type javax/el/ExpressionFactory used in the signature org.apache.jasper.servlet.JspServlet.service(JspServlet.java:275) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) root cause: java.lang.LinkageError: loader constraint violation: when resolving interface method "javax.servlet.jsp.JspApplicationContext.getExpressionFactory()Ljavax/el/Ex= pressionFactory;" the class loader (instance of org/apache/jasper/servlet/JasperLoader) of the current class, org/apache/jsp/index_jsp, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for resolved class, javax/servlet/jsp/JspApplicationContext, have different Class objects for the type javax/el/ExpressionFactory used in the signature org.apache.jsp.index_jsp._jspInit(index_jsp.java:22) org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52) org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.j= ava:159) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java= :329) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) Can You help with this? Regards, Zacheusz On Sat, Dec 19, 2009 at 10:03 AM, Zacheusz Siedlecki wrote: > First of all thanks for your replay. I hoped that there is known > problem with Tomcat and Mojjara 2.0.2. I tried on Tomcat 6.0.20 but > target Tomcat version should be 5.5. Java: HotSpot 1.6.0_16 OS: > Windows 2003 Server. > =A0 =A0 =A0 =A0 =A0 Regards, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Zacheusz > > On Wed, Dec 16, 2009 at 3:51 AM, Caldarale, Charles R > wrote: >>> From: zacheuszs@gmail.com [mailto:zacheuszs@gmail.com] >>> On Behalf Of Zacheusz Siedlecki >>> Subject: Re: How to JSF 2.0 (Mojarra-2.0.2) with Facelets on Tomcat? >>> >>> Nobody knows? >> >> Probably not, since you got zero responses to your original query - but = then it contained pretty much zero useful information. >> >> Looks like a configuration error in Mojarra, but that's just a guess. >> >> If you want help with the Tomcat aspects, you'll need to supply at least= the basics: Tomcat version, JVM version, platform you're on, your server.x= ml, the web.xml for Mojarra, and its element (if it has one). >> >> =A0- Chuck >> >> >> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY= MATERIAL and is thus for use only by the intended recipient. If you receiv= ed this in error, please contact the sender and delete the e-mail and its a= ttachments from all computers. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: users-help@tomcat.apache.org >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org