Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.8.2
-
None
-
None
Description
In case we instantiate an Axis2 client without the axis2-jaxws dependency, we get the warning:
WARNING: Unable to instantiate deployer org.apache.axis2.deployment.ServiceDeployer; see debug logs for more details
It's caused by the block of code (424-451) in org.apache.axis2.deployment.AxisConfigBuilder
for (Iterator<OMElement> itr = element.getChildrenWithName(new QName( TAG_SERVICE_BUILDER_EXTENSION)); itr.hasNext() { ... catch (Throwable e) { log.warn("Unable to instantiate deployer " + deployerClassName + "; see debug logs for more details"); log.debug(e.getMessage(), e); continue; }
and is confusing: actually we were able to instantiate the deployer, we just were unable to load an extension for it.
The actual extension not being found is
org.apache.axis2.jaxws.framework.JAXWSServiceBuilderExtension
It should be explicitly clear that the
ServiceDeployer
is ok.
It caused questions like this: https://stackoverflow.com/questions/55965081/unable-to-instantiate-deployer-org-apache-axis2-deployment-servicedeployer-how-t