Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 769 invoked from network); 13 Apr 2011 21:57:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Apr 2011 21:57:22 -0000 Received: (qmail 7507 invoked by uid 500); 13 Apr 2011 21:57:21 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 7469 invoked by uid 500); 13 Apr 2011 21:57:21 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 7461 invoked by uid 99); 13 Apr 2011 21:57:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 21:57:21 +0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [205.188.105.145] (HELO imr-da03.mx.aol.com) (205.188.105.145) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 21:57:13 +0000 Received: from imo-ma02.mx.aol.com (imo-ma02.mx.aol.com [64.12.78.137]) by imr-da03.mx.aol.com (8.14.1/8.14.1) with ESMTP id p3DLuUGU020368 for ; Wed, 13 Apr 2011 17:56:30 -0400 Received: from julian.osorio@linuxmail.org by imo-ma02.mx.aol.com (mail_out_v42.9.) id 9.df1.13a66192 (45482) for ; Wed, 13 Apr 2011 17:56:26 -0400 (EDT) Received: from smtprly-dc01.mx.aol.com (smtprly-dc01.mx.aol.com [205.188.170.1]) by cia-mc07.mx.aol.com (v129.9) with ESMTP id MAILCIAMC071-d1c14da61c041cc; Wed, 13 Apr 2011 17:56:26 -0400 Received: from web-mmc-d02 (web-mmc-d02.sim.aol.com [205.188.103.68]) by smtprly-dc01.mx.aol.com (v129.9) with ESMTP id MAILSMTPRLYDC012-d1c14da61c041cc; Wed, 13 Apr 2011 17:56:20 -0400 References: <8CDC80D5A1CC8C1-18FC-E123@web-mmc-m02.sysops.aol.com> <4DA60280.8080409@gmail.com> <8CDC8315B4BFD3A-1360-ADA0@web-mmc-d02.sysops.aol.com> <4DA60E47.2090601@gmail.com> To: users@myfaces.apache.org Subject: Re: Problems with myfaces trinidad configuration in jsf 1.2 project Date: Wed, 13 Apr 2011 17:56:19 -0400 X-AOL-IP: 190.144.114.170 In-Reply-To: <4DA60E47.2090601@gmail.com> X-MB-Message-Source: WebUI MIME-Version: 1.0 From: Julian Osorio Amaya X-MB-Message-Type: User Content-Type: multipart/alternative; boundary="--------MB_8CDC83CC189EF7A_1360_175CF_web-mmc-d02.sysops.aol.com" X-Mailer: Mail.com Webmail 33490-STANDARD Received: from 190.144.114.170 by web-mmc-d02.sysops.aol.com (205.188.103.68) with HTTP (WebMailUI); Wed, 13 Apr 2011 17:56:19 -0400 Message-Id: <8CDC83CBC7FC63A-1360-B2C7@web-mmc-d02.sysops.aol.com> X-AOL-SENDER: julian.osorio@linuxmail.org X-Old-Spam-Flag: NO ----------MB_8CDC83CC189EF7A_1360_175CF_web-mmc-d02.sysops.aol.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" Julian Osorio Amaya -----Original Message----- From: Scott O'Bryan To: users@myfaces.apache.org Sent: Wed, Apr 13, 2011 3:57 pm Subject: Re: Problems with myfaces trinidad configuration in jsf 1.2 proje= ct I would look at getting JSF configured without Trinidad first. In that st= ack trace I don't see the Trinidad filter like I would "typically" expect= and it seems to me that this is an issue with your base JSF configuration= since the stacktrace only contains one Trinidad file and that delegates= to a myfaces impl.=20 =20 Basically,=20 =20 getResponseOutputWriter=20 =20 is failing with an unsupported operation exception and, since that's a pre= tty simple class, I'm not even sure what would cause that..=20 =20 I will say though that I think Glassfish has JSF built in, does it not?=20 =20 Scott=20 On 04/13/2011 02:34 PM, Julian Osorio Amaya wrote:=20 >=20 >=20 > -----Original Message-----=20 > From: Scott O'Bryan=20 > To: users@myfaces.apache.org=20 > Sent: Wed, Apr 13, 2011 3:07 pm=20 > Subject: Re: Problems with myfaces trinidad configuration in jsf 1.2 pro= ject=20 >=20 >=20 > Why do you have both JSF and Myfaces in your classpath?=20 >=20 > On 04/13/2011 10:17 AM, Julian Osorio Amaya wrote:=20 >> Greetings=20 >>=20 >>=20 >> I'm having problems with myfaces trinidad configuration in a jsf 1.2 pr= oject=20 >> The project has the following libraries=20 >>=20 >>=20 >> myfaces-api-1.2.8.jar=20 >> myfaces-impl-1.2.8.jar=20 >> jsf-api.jar=20 >> jsf-impl.jar=20 >> tomahawk-1.1.9.jar=20 >> trinidad-api-1.2.14.jar=20 >> trinidad-impl-1.2.14.jar=20 >>=20 >>=20 >> The next link shows the project's configuration files=20 >>=20 >>=20 >>=20 >> http://pastebin.com/iJTATDiD=20 >>=20 >>=20 >> Thanks for your time=20 >>=20 >>=20 >> Julian Osorio Amaya=20 >>=20 >>=20 >=20 >=20 >=20 >=20 > Thanks for your answer=20 >=20 >=20 > I've removed myfaces JSF implementation but it's throwing the same excep= tion=20 >=20 >=20 > I'm using Netbeans 6.8 and GF v3=20 >=20 >=20 >=20 > ADVERTENCIA: StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.servi= ce() for servlet Faces Servlet threw exception=20 > java.lang.UnsupportedOperationException=20 > at javax.faces.context.ExternalContext.getResponseOutputWriter(= ExternalContext.java:1228)=20 > at com.sun.faces.application.view.JspViewHandlingStrategy.rende= rView(JspViewHandlingStrategy.java:182)=20 > at com.sun.faces.application.view.MultiViewHandler.renderView(M= ultiViewHandler.java:126)=20 > at javax.faces.application.ViewHandlerWrapper.renderView(ViewHa= ndlerWrapper.java:273)=20 > at org.apache.myfaces.trinidadinternal.application.ViewHandlerI= mpl.renderView(ViewHandlerImpl.java:193)=20 > at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderRe= sponsePhase.java:127)=20 > at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)=20 > at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.j= ava:139)=20 > at javax.faces.webapp.FacesServlet.service(FacesServlet.java:31= 3)=20 > at org.apache.catalina.core.StandardWrapper.service(StandardWra= pper.java:1523)=20 > at org.apache.catalina.core.ApplicationFilterChain.internalDoFi= lter(ApplicationFilterChain.java:343)=20 > at org.apache.catalina.core.ApplicationFilterChain.doFilter(App= licationFilterChain.java:215)=20 > at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(E= xtensionsFilter.java:341)=20 > at org.apache.catalina.core.ApplicationFilterChain.internalDoFi= lter(ApplicationFilterChain.java:256)=20 > at org.apache.catalina.core.ApplicationFilterChain.doFilter(App= licationFilterChain.java:215)=20 > at co.com.inif.seguridad.filter.SeguridadFilter.doFilter(Seguri= dadFilter.java:72)=20 > at org.apache.catalina.core.ApplicationFilterChain.internalDoFi= lter(ApplicationFilterChain.java:256)=20 > at org.apache.catalina.core.ApplicationFilterChain.doFilter(App= licationFilterChain.java:215)=20 > at org.apache.catalina.core.StandardWrapperValve.invoke(Standar= dWrapperValve.java:277)=20 > at org.apache.catalina.core.StandardContextValve.invoke(Standar= dContextValve.java:188)=20 > at org.apache.catalina.core.StandardPipeline.invoke(StandardPip= eline.java:641)=20 > at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:9= 7)=20 > at com.sun.enterprise.web.PESessionLockingStandardPipeline.invo= ke(PESessionLockingStandardPipeline.java:85)=20 > at org.apache.catalina.core.StandardHostValve.invoke(StandardHo= stValve.java:185)=20 > at org.apache.catalina.connector.CoyoteAdapter.doService(Coyote= Adapter.java:332)=20 > at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd= apter.java:233)=20 > at com.sun.enterprise.v3.services.impl.ContainerMapper.service(= ContainerMapper.java:165)=20 > at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTa= sk.java:791)=20 > at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.j= ava:693)=20 > at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.jav= a:954)=20 > at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultPr= otocolFilter.java:170)=20 > at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(D= efaultProtocolChain.java:135)=20 > at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocol= Chain.java:102)=20 > at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocol= Chain.java:88)=20 > at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolC= hain.java:76)=20 > at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChai= nContextTask.java:53)=20 > at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyCon= textTask.java:57)=20 > at com.sun.grizzly.ContextTask.run(ContextTask.java:69)=20 > at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(Abstra= ctThreadPool.java:330)=20 > at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractT= hreadPool.java:309)=20 > at java.lang.Thread.run(Thread.java:662)=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 =20 Actually the project is running without problems while it uses myfaces tom= ahawk, so the JSF configuration it's ok And yes, GF has the JSF 1.2 and 2.0 libraries but the project uses JSF 1.2 =20 ----------MB_8CDC83CC189EF7A_1360_175CF_web-mmc-d02.sysops.aol.com--