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

loadClassPathModules() of RepositoryListener in axis2-kernel-1.6.2.jar is not OSGI friendly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.6.2
    • None
    • Addressing, kernel
    • None

    Description

      If the library addressing-1.6.2.jar packaged into an osgi bundle as a bundle-classpath item.

      then after deploy this bundle into an OSGI environment and try to run it, below error will be presented:

      org.apache.axis2.AxisFault: The system is attempting to engage a module that is not available: addressing
      at org.apache.axis2.deployment.URLBasedAxisConfigurator.getAxisConfiguration(URLBasedAxisConfigurator.java:78)
      at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
      at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromURIs(ConfigurationContextFactory.java:220)
      ......

      Workaround:

      includes the file addressing-1.6.2.mar as a bundle-classpath as well to make it work.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gangliu liugang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: