Leonid Rozenblyum created AXIS2-6059: ----------------------------------------
Summary: Improve logging by default Key: AXIS2-6059 URL: https://issues.apache.org/jira/browse/AXIS2-6059 Project: Axis2 Issue Type: Improvement Components: kernel Affects Versions: 1.8.2 Reporter: Leonid Rozenblyum In case we instantiate an Axis2 client without the *axis2-jaxws* dependency, we get the warning: {panel:title=Warning} WARNING: Unable to instantiate deployer org.apache.axis2.deployment.ServiceDeployer; see debug logs for more details {panel} It's caused by the block of code (424-451) in org.apache.axis2.deployment.AxisConfigBuilder {code:java} 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; }{code} 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 {code:java} org.apache.axis2.jaxws.framework.JAXWSServiceBuilderExtension{code} It should be explicitly clear that the {code:java} ServiceDeployer {code} is ok. It caused questions like this: [https://stackoverflow.com/questions/55965081/unable-to-instantiate-deployer-org-apache-axis2-deployment-servicedeployer-how-t] -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org