|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQSeries Connections |
« View previous topic :: View next topic » |
Author |
Message
|
steldass |
Posted: Wed May 22, 2002 5:36 am Post subject: MQSeries Connections |
|
|
 Newbie
Joined: 07 May 2002 Posts: 9
|
Hi everyone,
Is there a way of opening or closing MQSeries connections? I am currently testing to send a message (client) to a company (server). After a while I get MQRC_Q_MGR_NOT_AVAILABLE. They have sent me email informing me that I am taking over all of their channels and noone else is able to connect to them (including me of course). Why is this happening?
Thank you.  |
|
Back to top |
|
 |
oz1ccg |
Posted: Wed May 22, 2002 6:22 am Post subject: |
|
|
 Yatiri
Joined: 10 Feb 2002 Posts: 628 Location: Denmark
|
|
Back to top |
|
 |
steldass |
Posted: Wed May 22, 2002 11:04 pm Post subject: |
|
|
 Newbie
Joined: 07 May 2002 Posts: 9
|
Thanks for your reply oz1ccg.
I have to ask the MQServer twenty to fourty times per client. What I mean is that e.g. a client of mine visits my page. I have to sent twenty to fourty requests to the MQServer.
When I tried that, they told me that every time I hit the page, the MQSeries is trying to occupy a different channel and as a result I cannot connect to them anymore and so are their other clients because I have consumed all of their available channels.
They have also made clear the fact that the problem is on my side. I obviously do not close the channel on every request. So how do I do that?
Thanx  |
|
Back to top |
|
 |
oz1ccg |
Posted: Thu May 23, 2002 12:07 am Post subject: |
|
|
 Yatiri
Joined: 10 Feb 2002 Posts: 628 Location: Denmark
|
I guess you will have to do
Code: |
QueueConnection.close()
QueueSession.close()
etc.... |
Normally you will have to code it your self (also mentioned in Using JAVA manual). Each queue you open you will have to close, each connection you create you will have to close. I don't know thow to code it in JAVA (yet).
I hope this can do the trick. _________________ Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT. |
|
Back to top |
|
 |
mrlinux |
Posted: Thu May 23, 2002 3:29 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
It is also possible that the MQSeries server may need to be tuned to accept more connections, you might want to ask if they have bumped up the max Channel parameter in the QM.ini or registery, by default you are only allowed 100 connections per MQ Server . _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
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
|
|
|
|