Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4833

Modules not getting loaded from classpath in Oracle WebLogic 10.x

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.1, 1.6.2
    • Fix Version/s: 1.7.9
    • Component/s: deployment
    • Labels:
      None
    • Environment:
      JDK 1.6.0_14, Oracle WebLogic Application Server 10.3, Solaris SunOS 5.10

      Description

      I've tried to loading the logging-module from the classpath which did not work on a BEA Weblogic 10.3 (causing a NullPointerException in RepositoryListener, Method loadClassPathModules().
      The problem is similar to AXIS2-4258 (Fix for the WebSphere AppServer) because the BEA container uses a different protocol, too.

      In my case the logging module (named axis2-log-module.jar) is included within EAR-File and the returned URL from the ClassLoader to this resource is:
      zip:/projects/projectname/weblogic10.3/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/_appsdir_AppName_ear/jpclyk/axis2-log-module.jar!/META-INF/module.xml

      I'm not sure if this might be a problem of the BEA ClassLoader (weblogic.utils.classloader.ChangeAwareClassloader) but the returned Scheme is null, which causes a NullPointerException when checking the scheme is not "file".
      Code line 137: if (!moduleURI.getScheme().equals("file")).

      Regards,
      Joerg

        Attachments

        1. AXIS2-4833.patch
          0.8 kB
          Rogier Enders
        2. bug_4833_pic2.jpg
          351 kB
          Joerg
        3. bug_4833_pic1.jpg
          289 kB
          Joerg

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                joergsp Joerg
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: