Re: Confusion: why MQJMS objects need a port? - thanks for all the helps.

2003-09-19 Thread Paul Celari
Hi Roger,

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


Re: Confusion: why MQJMS objects need a port?

2003-09-18 Thread Christopher Frank
Paul,

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.

You shouldn't need a PORT property defined. According to the Using Java
manual, you only need to specify the PORT property when the TRANSPORT
property is CLIENT or DIRECT. In fact, if I am reading the manual correctly
(page 53/54) it is an error to set the PORT property without setting the
TRANSPORT property to CLIENT or DIRECT.

You might want to run a JMS trace and see what's really happening.

Regards,

Christopher Frank
Sr. I/T Specialist - IBM Software Group
IBM Certified Solutions Expert - Websphere MQ  MQ Integrator

Phone: 612-397-5532 (t/l 653-5532) mobile: 612-669-3008
e-mail: [EMAIL PROTECTED]

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


Re: Confusion: why MQJMS objects need a port?

2003-09-18 Thread Stefan Sievert
Paul,
the PORT attribute is not used for the MQSeries JMS transport. IBM
introduced JMS over IP for publish/subscribe applications (supported with
WBIMB V5) and that's where the port comes into play.
If you have a local Java application and see the queue manager complain
about channel limits, you might have configured your JNDI objects
incorrectly. Make sure that the TRANSPORT property is set to the correct
value for server bindings (can't remember the exact value, but it shouldn't
contain CLIENT).
Hope that helps,
Stefan

From: Paul Celari [EMAIL PROTECTED]
Reply-To: MQSeries List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Confusion: why MQJMS objects need a port?
Date: Thu, 18 Sep 2003 08:22:40 -0400
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
_
Need more e-mail storage? Get 10MB 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


Re: Confusion: why MQJMS objects need a port?

2003-09-18 Thread Roger Lacroix
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


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