Author |
Message
|
deepakas |
Posted: Fri Nov 07, 2003 4:04 am Post subject: Error in MQ Series trace on using AMI |
|
|
Newbie
Joined: 04 Nov 2003 Posts: 4 Location: Bangalore
|
When i try to retrieve a message of more than 4MB using the AMI interface ,i am getting an AmError with reason code 49. This error corresponds to an error in MQ Series Transport . The error details in MQ Series trace is given below.
<Error>
An error occurred receiving data from deepak (hostname) over TCP/IP. This may be due to a communications failure.
The return code from the TCP/IP (recv) call was 10054 (X'2746').
</Error>
I am able to recieve messageses less than 4MB using the AMI . Also when I change the option to Server in the policy defined ,the java client is able to send messages more than 8mb. The error is happening when the ami is connecting through the client . Is anyone has got a similar error .
Thanks ,Deepak |
|
Back to top |
|
 |
bower5932 |
Posted: Fri Nov 07, 2003 6:28 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
Check the MAXMSGL parameter on your channel. This might be your problem. |
|
Back to top |
|
 |
deepakas |
Posted: Sun Nov 09, 2003 8:56 pm Post subject: Increased the maximum message length |
|
|
Newbie
Joined: 04 Nov 2003 Posts: 4 Location: Bangalore
|
I increased the maiximum message length of the Server COnnection Channel from 4mB to 8MB. Still getting the same problem. |
|
Back to top |
|
 |
mrlinux |
Posted: Mon Nov 10, 2003 5:37 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
You also need to change the rcvr channel definition and also the xmitq _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Nov 10, 2003 5:46 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
mrlinux wrote: |
You also need to change the rcvr channel definition and also the xmitq |
And the queue manager itself. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
deepakas |
Posted: Wed Nov 12, 2003 8:15 pm Post subject: MQRC_DATA_LENGTH_ERROR while using AMI Interface |
|
|
Newbie
Joined: 04 Nov 2003 Posts: 4 Location: Bangalore
|
When I use the AMI interface to retrieve a message more than 4MB I am getting an AMI Error with reason code 39 . Also when I checked the secondaory reason code ,it is giving an MQ Error of 2010 which is the MQRC_DATA_LENGTH_ERROR . I am getting the error while using the client connection.
Is it possible to change the data length parameter using the AMI Java interface . I changed the server connection channel max message lenght also the queues and QM Maximum msg length . Anything else I am missing in the AMI Repository settings? |
|
Back to top |
|
 |
Prahasith |
Posted: Thu Nov 13, 2003 8:08 am Post subject: |
|
|
 Disciple
Joined: 16 May 2003 Posts: 184 Location: Kansas City
|
For this value to be picked up in a client channel it must be accepted by both the client and the server.
One way to do this is to define it in both the CLNTCONN channel definition and the SVRCONN channel definition using runmqsc on the server. Then copy the amqclchl.tab file from your server to the client machine so the client can use that clntconn channel definition with the new MAXMSGL value. |
|
Back to top |
|
 |
|