MyFaces CODI
  1. MyFaces CODI
  2. EXTCDI-74

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.9.1
    • Component/s: Core
    • Labels:
      None
    • Environment:
      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}
      1. extcdi-74.patch
        2 kB
        Rudy De Busscher

        Activity

        Rudy De Busscher created issue -
        Rudy De Busscher made changes -
        Field Original Value New Value
        Attachment extcdi-74.patch [ 12459354 ]
        Gerhard Petracek made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 0.9.1 [ 12315555 ]
        Resolution Fixed [ 1 ]
        Gerhard Petracek made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Rudy De Busscher
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development