Return-Path: X-Original-To: apmail-myfaces-users-archive@www.apache.org Delivered-To: apmail-myfaces-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 36E4FF95C for ; Thu, 21 Mar 2013 22:26:16 +0000 (UTC) Received: (qmail 31718 invoked by uid 500); 21 Mar 2013 22:26:15 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 31679 invoked by uid 500); 21 Mar 2013 22:26:15 -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 31666 invoked by uid 99); 21 Mar 2013 22:26:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Mar 2013 22:26:15 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [77.238.189.59] (HELO nm2.bullet.mail.ird.yahoo.com) (77.238.189.59) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 21 Mar 2013 22:26:10 +0000 Received: from [77.238.189.51] by nm2.bullet.mail.ird.yahoo.com with NNFMP; 21 Mar 2013 22:25:47 -0000 Received: from [212.82.98.104] by tm4.bullet.mail.ird.yahoo.com with NNFMP; 21 Mar 2013 22:25:47 -0000 Received: from [127.0.0.1] by omp1041.mail.ir2.yahoo.com with NNFMP; 21 Mar 2013 22:25:47 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 775115.58609.bm@omp1041.mail.ir2.yahoo.com Received: (qmail 55559 invoked by uid 60001); 21 Mar 2013 22:25:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s1024; t=1363904747; bh=TY4OoYhFU10kZl3f5IwAENZtG7kUNTqiTYvxChdqOmg=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=PITPNJ7gSX0USu5DuI2iji0zePIuCScPvvucVHqnI44uvMTRX3EM10Nbd40wVqm7Pfcd+BZXvdmdkhg2/ET7T0XK4N8j3GpEZ1q0u0V8Htu8kp8vhc6ue/Ea8crSpoGebe/RidjZvb6HyjER9x/0hmnGWNbJgXPxPDbvds3+MIg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Y3QcqegltaJ+HUM3qhixURH0gb4vYoOtzwc5DH7ur53zAnLjZMAsnxDkiGlkMhMqphAoZhvQuEwbzr/kHOwE8fg6Ya4axwFtjgQz3zrQGZjkRVv+UD7jArrz7z0YiQCzlT1fCW5zW57e7TG5m9s7A5eOoBr+bMqfonQlT1hP6eI=; X-YMail-OSG: PcTJpi0VM1nyr7VDemHYDXHBB8LUOD7b2lGqAD5Wy0JneWC Pr8BGZx0Lvhm9DADfkUsgceOLkSCI73wPisBTe4F0j7rPlhWaVWfxub9t8Zq awv57j5WANYFIndUAnt9rwYtVdiyPVLpWAsHCE_HnAfiFekFV9UqYIGTIw.k n.MVDXWDPUTjKNXjEQA4h7qViMsHnPRo6brWQ1xOuPnG09VLNrDj6yZvK4Zo gmbMuxYjdPFe0Xd5xOBDuz1i.Q56ATzrlQftaKKM6AyTh7lbat_Fq4U7ed.C WumBWYjLhHCepf8QwHAcDSLUIc5JVSkw5F3ykGG3OAN5yWuW2VoH7AtGwptl 9xhdGKJzUs2ruKuo5xLcS5qG1zegeiPkPCRf0N6lnftTDElQeJbhIcfkoN6U gcBSuJ3kOpreEsJPOCMk0me6EyXkCwHkgyeYY9ALwL5CbfSMi1EQF8aFZbBA 5jj.p8mjLz7PAr.cbc3cUrucotJ6x9BiocMnODaqJzcxbDjK4f5.n4g.PLIC _cSCntosDlUo1rK_S.AZQKiLZ_JmDkxWOR6_56YV1f32tkSpetDLFtaqo.9e Nxh6SdwELf7YKBbXA5Zds7o87 Received: from [82.228.226.42] by web172405.mail.ir2.yahoo.com via HTTP; Thu, 21 Mar 2013 22:25:46 GMT X-Rocket-MIMEInfo: 002.001,SGkgTWFyaywKCkkgZmluZCBDT0RJIHJlYWxseSB1c2VmdWxsIC0gZ3JlYXQgbGlicmFyeSAoSU1PIHRoZcKgSlNGIHNjb3BlcyBhcmUgYSBtdXN0LWhhdmUgZm9yIGFueSBKU0YgYXBwbGljYXRpb24pLgpJJ2xsIHRlc3QgdGhlIHBhdGNoIG9uIG1vbmRheSBvbiB3ZWJzcGhlcmUgd2l0aCBDTEFTU0xPQURFUiBTSU5HTEUgYW5kIE1VTFRJUExFIGFuZCB3YWl0IGZvcsKgQWxla3NleSBmZWVkYmFja8KgYmVmb3JlIG9wZW5pbmcgdGhlIEpJUkEuCgoKQmVzdCByZWdhcmRzLAoKQWRyaWFuCgpQLlMuwqBQbGVhc2UBMAEBAQE- X-Mailer: YahooMailWebService/0.8.138.524 References: <1363887495.96880.YahooMailNeo@web172404.mail.ir2.yahoo.com> <1363899710.62724.YahooMailNeo@web28901.mail.ir2.yahoo.com> Message-ID: <1363904746.52900.YahooMailNeo@web172405.mail.ir2.yahoo.com> Date: Thu, 21 Mar 2013 22:25:46 +0000 (GMT) From: Adrian Gonzalez Reply-To: Adrian Gonzalez Subject: Re: CODI ViewAccessScoped issue with EAR on JBoss 7.1.x To: MyFaces Discussion , Mark Struberg In-Reply-To: <1363899710.62724.YahooMailNeo@web28901.mail.ir2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Mark,=0A=0AI find CODI really usefull - great library (IMO the=C2=A0JSF = scopes are a must-have for any JSF application).=0AI'll test the patch on m= onday on websphere with CLASSLOADER SINGLE and MULTIPLE and wait for=C2=A0A= leksey feedback=C2=A0before opening the JIRA.=0A=0A=0ABest regards,=0A=0AAd= rian=0A=0AP.S.=C2=A0Please note that the patch doesn't solve all the proble= ms (i.e. for multiple wars in the same ear all @JsfPhaseListener will be ex= ecuted - even if one of them is only defined in one ear).=0AI don't know ho= w to fully resolve this CDI / EAR / WAR / Classloading issue, not sure it's= even doable for now.=0A=0A=0A----- Mail original -----=0ADe=C2=A0: Mark St= ruberg =0A=C3=80=C2=A0: MyFaces Discussion ; Adrian Gonzalez =0ACc=C2=A0: =0AEnvoy= =C3=A9 le : Jeudi 21 mars 2013 22h01=0AObjet=C2=A0: Re: CODI ViewAccessScop= ed issue with EAR on JBoss 7.1.x=0A=0AHi folks!=0A=0Aa.) I hope you find CO= DI useful nontheless ;)=0Ab.) if this fix solves the problems, can you plea= se open a JIRA for the EXTCDI project and attach the patch?=0A=0Atxs and Li= eGrue,=0Astrub=0A=0A=0A=0A=0A----- Original Message -----=0A> From: =D0=9F= =D0=B5=D1=81=D1=82=D0=BE=D0=B2 =D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9 <= pestov.alexey@gmail.com>=0A> To: MyFaces Discussion ; Adrian Gonzalez =0A> Cc: =0A> Sent: Thursday, M= arch 21, 2013 8:38 PM=0A> Subject: Re: CODI ViewAccessScoped issue with EAR= on JBoss 7.1.x=0A> =0A> Adrian, thank you very much for quick response!=0A= > =0A> I'll try to apply your patch.=0A> =0A> =0A> On Thu, Mar 21, 2013 at = 9:38 PM, Adrian Gonzalez =0A> wrote:=0A> =0A>>=C2=A0= Hi Aleksey,=0A>> =0A>>=C2=A0 Here's the patch file (my first one with git)= .=0A>>=C2=A0 I've obtained it executing [1]=0A>> =0A>>=C2=A0 I've changed C= ODI version from 1.0.5 to 1.0.5.nxs1-SNAPSHOT in the same=0A>>=C2=A0 commit= (so sorry, you have this modification with this patch).=0A>> =0A>> =0A>>= =C2=A0 Hope this helps,=0A>> =0A>>=C2=A0 [1] execute the following line aft= er cloning=0A>>=C2=A0 https://github.com/gonzalad/myfaces-extcdi=0A>>=C2=A0= git diff d141ac555cb263c6413c6f4ddebbd41bd4768eac^=0A>>=C2=A0 d141ac555cb2= 63c6413c6f4ddebbd41bd4768eac on my=0A>> =0A>> =0A>> =0A>> =0A>>=C2=A0 -----= Mail original -----=0A>>=C2=A0 De : =D0=9F=D0=B5=D1=81=D1=82=D0=BE=D0=B2 = =D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9 =0A>>= =C2=A0 =C3=80 : users@myfaces.apache.org=0A>>=C2=A0 Cc :=0A>>=C2=A0 Envoy= =C3=A9 le : Jeudi 21 mars 2013 18h22=0A>>=C2=A0 Objet : Re: CODI ViewAccess= Scoped issue with EAR on JBoss 7.1.x=0A>> =0A>>=C2=A0 Hello. Today I decide= d to use it and got the same problem. This does not=0A>>=C2=A0 work in the = EAR to JBoss 7.1.1.=0A>> =0A>>=C2=A0 Adrian, could you please make a patch = (*.diff) with your solution?=0A>> =0A>>=C2=A0 I would also like to know abo= ut your option 2)=0A>> =0A>>=C2=A0 >>2. remove @JsfPhaseListener and rely o= n classic phaseListeners =0A> configured=0A>>=C2=A0 with faces-config.xml= =0A>> =0A>>=C2=A0 Can do this in faces-config.xml of my application, not in= =0A>>=C2=A0 myfaces-extcdi-bundle-jsf20-1.0.5.jar=0A>>=C2=A0 ?=0A>> =0A>>= =C2=A0 Best regards,=0A>> =0A>>=C2=A0 Aleksey=0A>> =0A> =0A> =0A> =0A> -- = =0A> =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC,=0A> =D0= =90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9 =D0=9F=D0=B5=D1=81=D1=82=D0=BE=D0= =B2=0A> =D1=82=D0=B5=D0=BB. +7 (925) 067-32-13=0A>=0A