ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » MQSeries Connections

Post new topic  Reply to topic
 MQSeries Connections « View previous topic :: View next topic » 
Author Message
steldass
PostPosted: Wed May 22, 2002 5:36 am    Post subject: MQSeries Connections Reply with quote

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
View user's profile Send private message Send e-mail
oz1ccg
PostPosted: Wed May 22, 2002 6:22 am    Post subject: Reply with quote

Yatiri

Joined: 10 Feb 2002
Posts: 628
Location: Denmark


_________________
Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
steldass
PostPosted: Wed May 22, 2002 11:04 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
oz1ccg
PostPosted: Thu May 23, 2002 12:07 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
mrlinux
PostPosted: Thu May 23, 2002 3:29 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQSeries Connections
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.