[seam-issues] [JBoss JIRA] Commented: (SEAMFACES-50) Extra BeanManagerProviders in service file results in no BM found on beta-1

Lincoln Baxter III (JIRA) jira-events at lists.jboss.org
Tue Sep 7 10:40:52 EDT 2010


    [ https://jira.jboss.org/browse/SEAMFACES-50?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12549444#action_12549444 ] 

Lincoln Baxter III commented on SEAMFACES-50:
---------------------------------------------

I believe doing that was a temporary hack to get things working on a prior version of AS. I never got around to re-testing/removing them, which can probably happen at this point (and sounds like it certainly should.)

But if the class is registered as an extension twice using the service provider interface, shouldn't the system be able to recover from that and do the right thing? Or are there technical ordering / loading issues that complicate things.... Anyway, this is probably something people will try doing at some point.

> Extra BeanManagerProviders in service file results in no BM found on beta-1
> ---------------------------------------------------------------------------
>
>                 Key: SEAMFACES-50
>                 URL: https://jira.jboss.org/browse/SEAMFACES-50
>             Project: Seam Faces
>          Issue Type: Bug
>          Components: Build & Distribution
>    Affects Versions: 3.0.0.Alpha3
>            Reporter: Nicklas Karlsson
>
> The faces modules contains the service file for BeanManagerProvider that has
> org.jboss.weld.extensions.beanManager.DefaultJndiBeanManagerProvider
> org.jboss.weld.extensions.beanManager.JBossJndiBeanManagerProvider
> in addition to it's own 
> org.jboss.seam.faces.beanManager.FacesServletContextBeanManagerProvider
> Since the weld extensions also carry the Default/JBoss JNDI providers we end up with 5 providers for that dependency combination. For some reason (classloading?), in the beta1-AS Pete provided this is a problem - resulting in *no* BeanManagers being found (which results in a crash when the faces module SeamExternalContext is set up for the first time)
> Removing the JNDI based BeanManagerProviders from faces appears to help the issue itself but it leaves the faces module completely dependent on other modules for BM access

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list