|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Mercater MQCilent connection problem |
« View previous topic :: View next topic » |
Author |
Message
|
chanduy9 |
Posted: Mon Aug 25, 2003 8:40 am Post subject: Mercater MQCilent connection problem |
|
|
Disciple
Joined: 28 Nov 2001 Posts: 177 Location: USA
|
Hi,
We are running into problems trying to read logical partitioned messages on the LINUX queues.
One of our maps (Reque) puts data on to the queue. Reque map splits the data if the data size is bigger than 3.8 MG. We use the PKT command of Mercator (PKT 3800) for splitting. When we run a file of 6 MG it splits into two files and we can see the logical split file (based on MID) on the queue. When we try to pull the messages from the queue using CMSG option we are getting an Mercator failure: Source Not Available. On the mq trace we are getting return code 2010 . Set up is working fine for the AIX queues but does not work for the queues set up on the LINUX box.
We are using client channel table to connect to the MQ. If we pull the msg as separate it is working fine!! I increased Serverconnection and Client connection channles msg length to 100mb.
The same map is working fine on other box where mercator and mq running on the same box!!
Pls throw some light on this!!
Thanks in advance,
Chandra. |
|
Back to top |
|
 |
RogerLacroix |
Posted: Mon Aug 25, 2003 8:50 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Hi,
This is not a Mercator issue. The following is from "Appendix A' of the "WMQ Application Programming Reference":
Quote: |
2010 (X'7DA') -> MQRC_DATA_LENGTH_ERROR
Data length parameter not valid.
DataLength is not valid. The parameter pointer is not valid, or points to read-only storage. (It is not always possible to detect an invalid parameter pointer; if not detected, unpredictable results occur.) This reason can also be returned to an MQ client program on the MQGET, MQPUT, or MQPUT1 call, if the application message data is longer than the negotiated maximum message size for the channel.
Corrective action: Correct the parameter.
If the error occurs for an MQ client program, also check that the maximum message size for the channel is big enough to accommodate the message being sent; if it is not big enough, increase the maximum message size for the channel. |
What version of WMQ for Linux are you running? Client Channel tables are tricky stuff, are you sure that you got the update into the right table AND for the right queue manager.
I would suggest that you update the SVRCONN attribute and then use the MQSERVER environment variable to do a quick test (rather than use the client channel table). Also, re-cycle the MCA (runmqchi or runmqchl) program for the Linux queue manager.
later
Roger... _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
chanduy9 |
Posted: Tue Aug 26, 2003 5:25 am Post subject: |
|
|
Disciple
Joined: 28 Nov 2001 Posts: 177 Location: USA
|
Hi,
Thanks for the response!!!
I solved this problem by replacing, channel table. I updated the msg length in server and client channels and replaced old channel table with new one.
When I open the files (old and new) I didnt find any changes (even file size also), but when replaced the file it is working fine!!
Thanks,
Chandra. |
|
Back to top |
|
 |
starfish77 |
Posted: Thu Nov 20, 2003 4:01 pm Post subject: |
|
|
 Apprentice
Joined: 07 Nov 2003 Posts: 31 Location: USA
|
I am facing same problem like this one. Getting 2010 while message segmentation. The response here says update the channel defination table. When I say Alter channel definitions to increase the message length , is not the same case. I have increased the qmgr/queue/channel max message size to accomodate message. But still i am getting 2010 error. I am able to put the message in queue, only browse and get is having this problem. I have GMO set to MQGMO_COMPLETE_MSG. The message size is approx 15MB.
Appreciate ur help. |
|
Back to top |
|
 |
chanduy9 |
Posted: Thu Nov 20, 2003 9:00 pm Post subject: |
|
|
Disciple
Joined: 28 Nov 2001 Posts: 177 Location: USA
|
Hi,
You have to update the MAX MSG length in Client and Server Conn channels, and replace the old client channel table with new one. The default size is 4mb, increase the size to maximum(100mb).
Good Luck.
Thanks,
Chandra. |
|
Back to top |
|
 |
starfish77 |
Posted: Thu Nov 20, 2003 9:06 pm Post subject: |
|
|
 Apprentice
Joined: 07 Nov 2003 Posts: 31 Location: USA
|
Thanks for the reply.FYI, I have the client and server on the same box.I have made the maxmsgl-15mb for client connection and srverconn channels where as my message legth is also 15 mb. Also, can pls specify what is meant by replacing the channel table, do i delete the tab file and create a new one???thanks again |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|