Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-520

Weld SE does not work in OSGI container's classloader and lacks OSGI bundles

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 1.0.1.Final
    • None

      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.

            ajustin@redhat.com Ales Justin
            mmc41 Morten Christensen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: