org.apache.axis.ConfigurationException: No service named XXX is available
来源:互联网 发布:网络对战游戏排行 编辑:程序博客网 时间:2024/05/22 10:52
解决方法: 在调用方工程中的Log4j.properties 文件中加入
log4j.logger.org.apache.axis.ConfigurationException = INFO
或者在log4j.xml中加入
log4j.xml <logger name="org.apache.axis.ConfigurationException"> <level value="INFO" /> </logger>
原因是 : 该异常的级别太低,是debug 级别的 ,感觉没有从根本解决问题,不过可以先这样,因为,该异常,目前没有影响服务的调用
org.apache.axis.ConfigurationException: No service named XXX is available
参考 : https://wiki.apache.org/ws/FrontPage/Axis/DealingWithCommonExceptions
This is logged because this code in AxisEngine (line 308 in Axis 1.x):
public SOAPService getService(String name) throws AxisFault { try { return config.getService(new QName(null, name)); } catch (ConfigurationException e) { try { return config.getServiceByNamespaceURI(name); } catch (ConfigurationException e1) { throw new AxisFault(e); } } }
depends on an exception being thrown on the first attempt (line 311) to then try a different method of finding the service (which succeeds if you see no log of the AxisFault on line 316). The log entry is created because a ConfigurationException logs itself (at DEBUG level) on creation (questionable practice, imho). To avoid this misleading log entry you'll want to add this to your log4j.properties file:
log4j.logger.org.apache.axis.ConfigurationException = INFO
2 0
- org.apache.axis.ConfigurationException: No service named XXX is available
- axis调用webservice报错,org.apache.axis.ConfigurationException: No service named *** is available
- org.apache.axis.ConfigurationException: No service named ldapOperate is available解决方法
- org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'xxx' in
- org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'xxx'is defined
- NoSuchBeanDefinitionException: No bean named 'xxx' is defined
- org.apache.ibatis.reflection.ReflectionException: There is no getter for property named
- org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'userIds' in
- org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'id' in 'cla
- org.apache.ibatis.reflection.ReflectionException: There is no getter for property named
- org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'agoTime' in
- Cause: org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'sex'
- Cause: org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'user
- 报错:org.apache.ibatis.reflection.ReflectionException: There is no getter for property named
- mybatis 异常信息 org.apache.ibatis.reflection.ReflectionException: There is no getter for property named
- org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'xx'的问题
- org.apache.ibatis.reflection.ReflectionException:There is no getter for property named 'parentId' in
- Cause: org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'empi
- 一个显示等级进度的控件,可以自定义等级值、颜色、游标等。
- codeforces 475D CGCDSSQ (st表+数论)
- MyBatis
- jvm学习笔记
- VR、AR、MR 概念入门
- org.apache.axis.ConfigurationException: No service named XXX is available
- Mysql中的Btree与Hash索引方式
- PDO类使用
- ios 引导页/半透明引导页做法
- 海量数据存储之Key-Value存储简介
- android 简单实现 RecyclerView 下拉刷新上拉加载
- Spring MVC 中 直接响应渲染的页面 mvc:view-controller
- SpringMvc的点点滴滴之springMvc的配置
- SQLSERVER sa 账号被锁定