首页 > 数据库 > mysql教程 > org.apache.axis2.AxisFault at org.apache.axis2.util.Utils.ge

org.apache.axis2.AxisFault at org.apache.axis2.util.Utils.ge

WBOY
发布: 2016-06-07 15:27:04
原创
1321 人浏览过

项目背景,访问MQ的功能接口发布到Webservice上,本地调用此接口报错如下: org.apache.axis2.AxisFault: com/ibm/mq/MQException at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531) at org.apache.axis2.description.OutI

项目背景,访问MQ的功能接口发布到Webservice上,本地调用此接口报错如下:

org.apache.axis2.AxisFault: com/ibm/mq/MQException
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:555)
at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:531)
at org.apache.axis2.rpc.client.RPCServiceClient.invokeBlocking(RPCServiceClient.java:102)
at com.ui.NewJFrame$InnerSend.run(NewJFrame.java:1337)
at java.lang.Thread.run(Unknown Source)

截图:

org.apache.axis2.AxisFault at org.apache.axis2.util.Utils.ge


如图:


Tomcat需要加入IBM MQ和Axis2的lib中的jar包。否则Tomcat找不到。

IBM MQ的jar共18个,位于C:\Program Files\IBM\WebSphere MQ\Java\lib

如图:

org.apache.axis2.AxisFault at org.apache.axis2.util.Utils.ge

Axis2的jar共22个,位于D:\Program Files\axis2-1.6.2\lib

如图:

org.apache.axis2.AxisFault at org.apache.axis2.util.Utils.ge

全部放到Tomcat的lib中,位于:D:\Program Files\Apache Software Foundation\Tomcat 7.0\lib

如图:

org.apache.axis2.AxisFault at org.apache.axis2.util.Utils.ge

运行结果:

org.apache.axis2.AxisFault at org.apache.axis2.util.Utils.ge


备注:

http://blog.csdn.net/ozwarld/article/details/7743387

上次的错误原因Tomcat没有配置数据源,两次错误不太相同,这次干脆把所有jar都放到Tomcat的lib中免除后患。

相关标签:
org
来源:php.cn
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板