glassfish
  1. glassfish
  2. GLASSFISH-17404

Custom classloader can't load classes from Servlet Listener using Embedded

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.1.2_dev, 4.0
    • Component/s: embedded
    • Labels:
      None

      Description

      When using a custom classloader via WebContainer.createContext(File docRoot, ClassLoader classLoader), the custom classloader cannot load classes from Servlet Listener during load phase. Servlet is able to load classes previously loaded using the custom classloader after deployment but not during load (from Servlet Listener).

      1. 17404.final.patch
        51 kB
        Amy Roh
      2. Test_cacao.java
        2 kB
        Amy Roh

        Activity

        Hide
        Amy Roh added a comment -

        3.1.1 patch

        Show
        Amy Roh added a comment - 3.1.1 patch
        Hide
        Amy Roh added a comment -

        Fixed in trunk (svn 50281) and 3.1.2 (svn 50283)

        Show
        Amy Roh added a comment - Fixed in trunk (svn 50281) and 3.1.2 (svn 50283)

          People

          • Assignee:
            Amy Roh
            Reporter:
            Amy Roh
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: