thanks a lot for pointing out this. Our web developers are using Websphere, it looks like WAS uses its own JNDI repository. I checked with JMSAdmin, there is not even such queues defined for the application.
In between, I wrote a few MQJMS test programs and setup Q, and QCF in the jndi name space. they all work fine without any channel and port involved.
many thanks for all the helping tips from everyone.
-Paul
From: Roger Lacroix <[EMAIL PROTECTED]> To: MQSeries List <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: Confusion: why MQJMS objects need a port? Date: Thu, 18 Sep 2003 13:49:48 -0400
Hi Paul,
Check your JNDI values with the JSMAdmin tool. You probably set your QCF with the following command:
define qcf(qcfClient) qmgr(MY.QMGR) channel(SYSTEM.DEF.SVRCONN) hostname (MYHOSTNAME) port(1414) transport(CLIENT)
Hence, you needing to increase the max channel attribute even though it is local. Try the following:
define qcf(qcfClient) qmgr(MY.QMGR) transport(BIND)
This will not use any channels and should be faster.
Hope that helps.
Regards, Roger Lacroix Enterprise Architect Capitalware Inc.
Quoting Paul Celari <[EMAIL PROTECTED]>:
> Hi, > > I just started with MQ-JMS, am trying to create administered objects, a Q > and a QCF using the JMSadmin tool. But I don't understand why a port > property is needed in these definitions. > > Actually, our web developers wrote a few message-driven beans to test, when > the volumn get high, msg get stuck in queues, and from the qmgr error log, I > can see MQ complained about maxchannel reached. I added a stanza "Channels: > " in the mq.ini file and set MaxChannels=500, seem to solve the problem > temporily. But I wonder why a MQ application will need to access a channel. > Our applications and qmgr are all on the same box. We're not using client > connection either. > > So I'm truely confused. The manual seem unable to clarify these. I may need > a new mind set for JMS. I've only wrote C and MQJava-base programs before. > Can anyone give me a hint to relieve my confusion? > > many thanks, > -Paul > > _________________________________________________________________ > Send and receive larger attachments with Hotmail Extra Storage. > http://join.msn.com/?PAGE=features/es > > Instructions for managing your mailing list subscription are provided in > the Listserv General Users Guide available at http://www.lsoft.com > Archive: http://vm.akh-wien.ac.at/MQSeries.archive >
_________________________________________________________________ Get 10MB of e-mail storage! Sign up for Hotmail Extra Storage. http://join.msn.com/?PAGE=features/es
Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive