Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 85082 invoked from network); 24 Apr 2007 03:47:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Apr 2007 03:47:39 -0000 Received: (qmail 11964 invoked by uid 500); 24 Apr 2007 03:47:41 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 11355 invoked by uid 500); 24 Apr 2007 03:47:39 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 11343 invoked by uid 99); 24 Apr 2007 03:47:39 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 20:47:39 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of gcjgu-user@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 20:47:31 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HgBzZ-0001dx-EX for user@geronimo.apache.org; Tue, 24 Apr 2007 05:47:01 +0200 Received: from adsl-144-172-231.rmo.bellsouth.net ([70.144.172.231]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Apr 2007 05:47:01 +0200 Received: from arintejr by adsl-144-172-231.rmo.bellsouth.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Apr 2007 05:47:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: user@geronimo.apache.org From: "Arint�" Subject: Re: Sun Jsf and Geronimo Date: Mon, 23 Apr 2007 23:47:05 -0400 Lines: 55 Message-ID: References: <085E1C12-985A-406F-B66A-384548B96B7C@gmail.com> X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: adsl-144-172-231.rmo.bellsouth.net X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3028 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Sender: news X-Virus-Checked: Checked by ClamAV on apache.org I have tried installing the jsf files through geronimo and including in the war file and they both give the same error. "Paul McMahan" wrote in message news:085E1C12-985A-406F-B66A-384548B96B7C@gmail.com... Hello, How are you trying to use the sun jsf impl? For example are you including it in your WEB-INF/lib? If so then I don't expect that would work since Geronimo filters the jsf classes from a webapps classloader. This is a result of the JSF 1.2 specification 10.2.5 and 10.2.6 which says that webapps should not include the jsf classes in their archive. As we move forward I think it would be a great idea to make the jsf implementation pluggable, but this will probably be done by using Geronimo's plugin system instead of bundling the JSF jars in a webapp's archive due to this language in the specification and because of jsf implementation-specific functionality like resource injection for managed beans. The jsf support in Geronimo 2.0-M4 is more complete so I think you'll have better luck with it. However, that version has not been officially released yet so you will need to build it from svn tag or look in the dev@geronimo archive for the announcement of M4 release candidate binaries. Best wishes, Paul On Apr 23, 2007, at 7:52 AM, Arint� wrote: > I am trying to run sun jsf impl 1.2 on Geronimo, but I keep running into > errors, is it even possible? My current error is this: > javax.servlet.ServletException: > org/apache/commons/lang/builder/HashCodeBuilder > at javax.faces.webapp.FacesServlet.service (FacesServlet.java:152) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter > (ApplicationFilterChain.java:290) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter > (ApplicationFilterChain.java:206) > > Even though I have commons lang in my geronimo.xml. Also, when I export > this project to just plain tomcat 6 it works without me adding the > commons > lang jar file anywhere, meaning I don't think sun uses it, but somehow > myfaces is getting injected in here. > > Any tips or guides on getting this working? I am using Geronimo 2 M3. > Thanks > > >