Org. apache. axis2.AxisFaultatorg. apache. axis2.util. Utils. ge

Source: Internet
Author: User
Tags ibm mq
Project Background: The functional interface for accessing MQ is published to Webservice. If you call this interface locally, the following error occurs: org. apache. axis2.AxisFault: comibmmqMQExceptionatorg. apache. axis2.util. utils. getInboundFaultFromMessageContext (Utils. -java: 531) atorg. apache. axis2.description. outI

Project Background: The functional interface for accessing MQ is published to Webservice. If you call this interface locally, the following error occurs: org. apache. axis2.AxisFault: com/ibm/mq/MQException at org. apache. axis2.util. utils. getInboundFaultFromMessageContext (Utils. java: 531) at org. apache. axis2.description. outI

Project Background: The functional interface for accessing MQ is published to Webservice. the following error occurs when you call this interface locally:

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.exe cuteImpl (OutInAxisOperation. java: 229)
At org.apache.axis2.client.OperationClient.exe cute (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)

:




Tomcat needs to be added to the jar package in the lib of ibm mq and axis2. Otherwise, Tomcat cannot be found.

A total of 18 ibm mq jars are located at C: \ Program Files \ IBM \ WebSphere MQ \ Java \ lib


Axis2 has 22 jar Files in D: \ Program Files \ axis2-1.6.2 \ lib

Put all in Tomcat lib at: D: \ Program Files \ Apache Software Foundation \ Tomcat 7.0 \ lib


Running result:



Note:

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

The cause of the last error is that Tomcat does not configure the data source, and the two errors are not the same. This time, all the jar files are put in Tomcat lib to avoid future problems.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.