liugang created AXIS2-5642:
------------------------------
Summary: loadClassPathModules() of RepositoryListener in
axis2-kernel-1.6.2.jar is not OSGI friendly
Key: AXIS2-5642
URL: https://issues.apache.org/jira/browse/AXIS2-5642
Project: Axis2
Issue Type: Bug
Components: Addressing, kernel
Affects Versions: 1.6.2
Reporter: liugang
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:
{code}
Exception in component tMicrosoftCrmInput_1
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)
......
{code}
Workaround
bq. includes the file *addressing-1.6.2.mar* as a bundle-classpath as well to
make it work.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]