You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Robert Lazarski (Jira)" <ji...@apache.org> on 2025/02/12 22:15:00 UTC
[jira] [Assigned] (AXIS2-6059) Improve logging by default
[ https://issues.apache.org/jira/browse/AXIS2-6059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Lazarski reassigned AXIS2-6059:
--------------------------------------
Assignee: Robert Lazarski
> 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-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org