[ https://issues.apache.org/jira/browse/AXIS2-6059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17926593#comment-17926593 ]
Robert Lazarski commented on AXIS2-6059: ---------------------------------------- Thanks for letting us know. I committed some better logging below that will go out very soon with 2.0.0 https://github.com/apache/axis-axis2-java-core/commit/44ab9d80a0909f7a531e7ee6a62fa7e4a41e13e4 > 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 > Assignee: Robert Lazarski > Priority: Major > Fix For: 2.0.0 > > > 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