-
1. Re: Seam 2.1.2.CR1 - Extending Identity problem
lasansue.jeremy.girard.satives.fr Apr 20, 2009 8:27 AM (in response to lasansue.jeremy.girard.satives.fr)I tried with 2.1.1.GA -> same problem -
2. Re: Seam 2.1.2.CR1 - Extending Identity problem
lasansue.jeremy.girard.satives.fr Apr 21, 2009 6:02 PM (in response to lasansue.jeremy.girard.satives.fr)no idea ?
-
3. Re: Seam 2.1.2.CR1 - Extending Identity problem
lasansue.jeremy.girard.satives.fr Apr 21, 2009 7:02 PM (in response to lasansue.jeremy.girard.satives.fr)I have some more information about my problem.
When debugging my apps i can see in the following seam code
at org.jboss.seam.Component.getInstance(Component.java:2000)this behaviour :
For the webapp 1 : expected component is webapp1.ExtendedIdentityComponent and result componennt is webapp2.ExtendedIdentityComponent so it fail
For the webapp 2 : expected component is webapp2.ExtendedIdentityComponent and result componennt is webapp2.ExtendedIdentityComponent so it's okIt seams that the seam component context is shared between all my ear's webapps so i can't define a custom identity component for each webapp.
The lastest added component wins so in my case extended identity component added by webapp2 in the only one for both webapps.This was working with seam 2.0.2.SP1.
I hope those additional information could help me to find a solution.
Regards,
-
4. Re: Seam 2.1.2.CR1 - Extending Identity problem
lasansue.jeremy.girard.satives.fr Apr 21, 2009 7:33 PM (in response to lasansue.jeremy.girard.satives.fr)When i remove the webapp2.ExtendedIdentityComponent it still does not work
In the org.jboss.seam.Component.getInstance(Component.java:2000) method
component beanClass is webapp1.ExtendedIdentityComponent and result class is org.jboss.seam.security.Identity
ExtendedIdentityComponent extends org.jboss.seam.security.Identity and isInstance fail .....
-
5. Re: Seam 2.1.2.CR1 - Extending Identity problem
lasansue.jeremy.girard.satives.fr Apr 21, 2009 7:36 PM (in response to lasansue.jeremy.girard.satives.fr)To my mind, this is a seam issue .
Does someone can confirm or infirm that ?
Thanks,
Regards,
-
6. Re: Seam 2.1.2.CR1 - Extending Identity problem
brandonsimpson Apr 21, 2009 7:43 PM (in response to lasansue.jeremy.girard.satives.fr)It sounds like a classpath issue to me, but that's just a guess. Maybe try deploying only 1 war at a time and see what happens.
-
7. Re: Seam 2.1.2.CR1 - Extending Identity problem
lasansue.jeremy.girard.satives.fr Apr 21, 2009 8:59 PM (in response to lasansue.jeremy.girard.satives.fr)Well done ....
With one War at a time it works fine.
So how could i report this seam issue, it used to works fine with seam 2.0.x
-
8. Re: Seam 2.1.2.CR1 - Extending Identity problem
brandonsimpson Apr 21, 2009 9:13 PM (in response to lasansue.jeremy.girard.satives.fr)I just came across this post which sounds like the same exact issue. Sounds like a bug report has already been filed.
http://www.seamframework.org/Community/ComponentsxmlNotIsolatedBetweenWarsInEarInSeam210