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 » IBM MQ Java / JMS » Multiple JMS subscriber connections

Post new topic  Reply to topic
 Multiple JMS subscriber connections « View previous topic :: View next topic » 
Author Message
tborrome
PostPosted: Thu Apr 04, 2002 4:11 pm    Post subject: Reply with quote

Novice

Joined: 03 Apr 2002
Posts: 17

Hi,
I have a JMS queueing application application where I create 10 senders in one machine and 100 receivers in another machine. when starting the application, i'd get the error MQJMS2005 after some of the 100 receivers have been created ...

Thu Apr 04 18:55:32 EST 2002: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'lcpw2k10b:' at com.ibm.mq.jms.MQQueueConnection.createQM(MQQueueConnection.java:479)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:183)
at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.java:167)
at perfQueue.<init>(perfQueue.java:133)
at perfQueue.main(perfQueue.java:93)

at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:434)
at com.ibm.mq.jms.MQQueueConnection.createQM(MQQueueConnection.java:479)
at com.ibm.mq.jms.MQQueueConnection.createQueueSession(MQQueueConnection.java:268)
at perfQueue$queueObj.clearQueues(perfQueue.java:651)


On the server side ... it gave me the following ...
04/04/2002 18:32:49 AMQ9513: Maximum number of channels reached.
04/04/2002 18:32:49 AMQ9209: Connection to host '192.168.10.26' closed.

I tried creating more channels on the server for client and server connections as stated in the documentation using ..

DEFINE CHANNEL(CHAN2) CHLTYPE(SVRCONN) TRPTYPE(TCP) +
DESCR('Server connection to Client_2')
DEFINE CHANNEL(CHAN2) CHLTYPE(CLNTCONN) TRPTYPE(TCP) +
CONNAME(9.20.4.26) QMNAME(QM2) DESCR('Client connection to Server_2')

I created 100 of these and specified the MQCHLLIB on the client side to locate the client channel definition table, again as stated in the docs - but I still couldnt connect all my 100 receivers.

Am I missing anything? How can make MQseries accept more simultaneous conenctions?

Thanks,
tyrone
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
StefanSievert
PostPosted: Thu Apr 04, 2002 4:26 pm    Post subject: Reply with quote

Partisan

Joined: 28 Oct 2001
Posts: 333
Location: San Francisco

Tyrone,
check out Paul Clarke's (Hursley lab) answer on a similar question: http://www.messageq.com/forums/vienna/msg_body.php3?ID=27866
It describes the qm.ini entry you need to add for your maximum number of channel connections:
Channels:
MaxChannels=nnnnn
You do not need to define more channels, you just need to raise the above MaxChannels number (100 is the default).
The System Administration Guide for your platform contains the detailed info.
Hope that helps,
Stefan

_________________
Stefan Sievert
IBM Certified * MQSeries


[ This Message was edited by: StefanSievert on 2002-04-04 16:28 ]
Back to top
View user's profile Send private message
tborrome
PostPosted: Fri Apr 05, 2002 3:39 pm    Post subject: Reply with quote

Novice

Joined: 03 Apr 2002
Posts: 17

thanks!
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Multiple JMS subscriber 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.