Uploaded image for project: 'MyFaces CODI'
  1. MyFaces CODI
  2. EXTCDI-74

On Jboss 6 the BeanManagerProvider doesn't return the BeanManager due to classLoader differences

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.9.0
    • 0.9.1
    • Core
    • None
    • JBoss M4

    Description

      The method ClassUtils.getClassLoader(null) returns another ClassLoader during extension initialization then during use of the class through a BeanManagerProvider.getInstance().getBeanManager().

      during initialization
      cl =

      {org.jboss.classloader.spi.base.BaseClassLoader@17200}

      "BaseClassLoader@b14a51

      {vfs:///D:/3E/code/web/trunk/war/target/synaptiq.war}

      "

      during retrival
      cl =

      {org.jboss.web.tomcat.service.WebCtxLoader$ENCLoader@19651}

      Attachments

        1. extcdi-74.patch
          2 kB
          Rudy De Busscher

        Activity

          People

            Unassigned Unassigned
            rdebusscher Rudy De Busscher
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: