Home > Database > Mysql Tutorial > org.apache.axis2.AxisFault at org.apache.axis2.util.Utils.ge

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

WBOY
Release: 2016-06-07 15:27:04
Original
1320 people have browsed it

项目背景,访问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中免除后患。

Related labels:
org
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template