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.