[prev in list] [next in list] [prev in thread] [next in thread]
List: rampart-dev
Subject: [jira] [Created] (AXIS2-6059) Improve logging by default
From: "Leonid Rozenblyum (Jira)" <jira () apache ! org>
Date: 2023-07-21 13:20:00
Message-ID: JIRA.13544441.1689945564000.168450.1689945600041 () Atlassian ! JIRA
[Download RAW message or body]
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-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic