org.apache.axis.ConfigurationException: No service named ldapOperate is available解决方法
发布日期:2021-08-31 22:55:28 浏览次数:2 分类:技术文章

本文共 1070 字,大约阅读时间需要 3 分钟。

在调用使用axis1.4生成的webService时,老是报题目中的那个异常,但调用还是能通过,但看着还是让人不爽,也不知道会不会有什么隐 患,在网上搜了大概是axis中自己的问题,解决的方法就是把log4j中日志的级别打高一点,由于E文水平有限,下面是问题解释的原文

[plain]
  1. Hi,  
  2.   
  3. Not sure if you got you answer as yet but anyhow, I thought below details would help all folks who are having same problem.  
  4.   
  5. This is logged because this code in AxisEngine (line 308 in Axis 1.x):   
  6.   
  7. 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:  
  8.   
  9. log4j.logger.org.apache.axis.ConfigurationException = INFO  
  10.   
  11. Details can be found at the following link :  
  12. http://wiki.apache.org/ws/FrontPage/Axis/DealingWithCommonExceptions  
  13.   
  14. Thanks,  
  15. Josh  

参考:

文章来源:http://blog.csdn.net/akwolf/article/details/8162925

转载于:https://www.cnblogs.com/dingchenghong/archive/2013/01/24/2875332.html

转载地址:https://blog.csdn.net/weixin_34092455/article/details/94231222 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:操作系统简介
下一篇:字符串hash(4hash)模板

发表评论

最新留言

表示我来过!
[***.240.166.169]2024年04月23日 10时09分37秒

关于作者

    喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!

推荐文章

windows查看指定的端口是否开放 2019-04-27
微信小程序开发(三)——IE盒子,Flex弹性布局,色子六面 2019-04-27
Python 技术篇-pip安装tar.gz格式的离线资源包 2019-04-27
windows 技术篇-将本地主机加入域的方法实例演示 2019-04-27
Python 图像处理篇-利用opencv库展示本地图片实例演示 2019-04-27
Python 图像处理篇-利用opencv库和numpy库读取包含中文路径下的本地图片实例演示 2019-04-27
oracle 数据回滚,恢复误删的数据,闪回表功能的使用 2019-04-27
mac 系统新功能体验-根据时间变化的动态桌面背景,看壁纸演绎风景大片中的日出与日落 2019-04-27
ADB的安装和使用教程,小米手机连接adb实例演示 2019-04-27
windows 关闭粘滞键-解决Microsoft Remote Desktop输入自动变为快捷键问题 2019-04-27
测试工具 - Postman接口测试入门使用手册,Postman如何进行数据关联、自动更新cookies、简单编程 2019-04-27
PyQt5 技术篇-调用字体对话框(QFontDialog)获取字体,控件设置字体。 2021-06-30
Python 技术篇-将python项目打包成exe独立运行程序,pyinstaller库打包python代码实例演示 2021-06-30
Geany 权限问题:"Error opening file ... : permission denied.",原因及解决办法。 2021-06-30
CSDN博客主页增加赞赏码收钱模块,高端大气上档次! 2019-04-27
PyQt5 技术篇-调用文件对话框获取文件、文件夹路径。文件对话框返回选中的多个文件路径 2019-04-27
SSM 整合实现 增删改查、PageHelper 实现分页 2019-04-27
[增删改查] Lucene 5 索引 CRUD 2019-04-27
使用 SpringBoot 写增删改查接口 2019-04-27
初步使用 JFreeChart 生成报表与感受 2019-04-27