[weld-issues] [JBoss JIRA] Updated: (WELD-520) Weld does not work in OSGI container's classloader (and lacks OSGI bundles by the way)

Pete Muir (JIRA) jira-events at lists.jboss.org
Sun May 9 09:04:05 EDT 2010


     [ https://jira.jboss.org/jira/browse/WELD-520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir updated WELD-520:
---------------------------

    Priority: Major  (was: Critical)


> Weld does not work in OSGI container's classloader (and lacks OSGI bundles by the way)
> --------------------------------------------------------------------------------------
>
>                 Key: WELD-520
>                 URL: https://jira.jboss.org/jira/browse/WELD-520
>             Project: Weld
>          Issue Type: Bug
>          Components: OSGi support
>    Affects Versions: 1.0.1.Final
>         Environment: Java SE, Weld 1.01 SE, Felix 2.02
>            Reporter: Morten Christensen
>
> Weld SE will does not work inside an OSGI bundle. If you try to start WeldSE from within a OSGI bundle, you will get.
> Error loading Weld bootstrap, check that Weld is on the classpath
> 	at org.jboss.weld.environment.se.Weld.<init>(Weld.java:59)
> Looking at the cause, it seems org.jboss.weld.environment.se.util.Reflections only works with Thread context classloaders and plain Class.forname both of which are NO-NO in osgi.

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

        


More information about the weld-issues mailing list