Discussion:
maxchannels attribute
(too old to reply)
Javier
2006-03-02 16:03:34 UTC
Permalink
Hi All,

I've craeted a listener using the MQeTcpipHistoryAdapter setting the
maxchannels attribute to 10 because i donŽt want that have more than 10
clients receiving messages from the gateway at the same time.

When i try to get a message with only one client i get the following
exception:

com.ibm.mqe.MQeException: Channels limit[EDA0D.GTWAY.QM 38] (code=23)
at com.ibm.mqe.communications.MQeChannel.checkError(DashoA8173)
at com.ibm.mqe.communications.MQeChannel.activateMaster(DashoA8173)
at
com.ibm.mqe.communications.MQeConnectionDefinition._createNewChannel(DashoA8
173)
at
com.ibm.mqe.communications.MQeConnectionDefinition.getChannel(DashoA8173)
at
com.ibm.mqe.communications.MQeCommunicationsManager.getChannelControlBlock(D
ashoA8173)
at com.ibm.mqe.MQeTransporter._getChannelControlBlock(DashoA8173)
at com.ibm.mqe.MQeTransporter._prepare(DashoA8173)
at com.ibm.mqe.MQeTransporter.remoteExecute(DashoA8173)
at com.ibm.mqe.MQeTransporter.getMessage(DashoA8173)
at com.ibm.mqe.MQeRemoteQueue._synchronousGetMessage(DashoA8173)
at com.ibm.mqe.MQeRemoteQueue.getMessage(DashoA8173)
at com.ibm.mqe.MQeQueueControlBlock.getMessage(DashoA8173)
at com.ibm.mqe.MQeQueueManager.waitForMessage(DashoA8173)
at com.ibm.mqe.MQeQueueManager.waitForMessage(DashoA8173)
at nt.mqe.WaitForMQeMessage.doIt(WaitForMQeMessage.java:98)
at nt.mqe.WaitForMQeMessage.main(WaitForMQeMessage.java:149)

I donŽt know why i'm getting this exception. I'm only using one client
invoking the MQeQueueManager.waitForMessage method.

Any ideas?

Thanks,
Javier
vijay
2006-03-03 04:34:12 UTC
Permalink
Hi,

Can you restart Gateway QM and try connecting the client.
One thing to remember is the channel time out.
Suppose a client connects to Gateway QM,does get/put operations and
disconnects.
The channel created for the disconnected client will remain in the
Gateway QM till its timeout period.
Hence next time a client connects ,the Gateway will have 2 channels
opened (even if there is only one client connected at that time)

regards,
Vijay
Post by Javier
Hi All,
I've craeted a listener using the MQeTcpipHistoryAdapter setting the
maxchannels attribute to 10 because i donŽt want that have more than 10
clients receiving messages from the gateway at the same time.
When i try to get a message with only one client i get the following
com.ibm.mqe.MQeException: Channels limit[EDA0D.GTWAY.QM 38] (code=23)
at com.ibm.mqe.communications.MQeChannel.checkError(DashoA8173)
at com.ibm.mqe.communications.MQeChannel.activateMaster(DashoA8173)
at
com.ibm.mqe.communications.MQeConnectionDefinition._createNewChannel(DashoA8
Post by Javier
173)
at
com.ibm.mqe.communications.MQeConnectionDefinition.getChannel(DashoA8173)
at
com.ibm.mqe.communications.MQeCommunicationsManager.getChannelControlBlock(D
Post by Javier
ashoA8173)
at com.ibm.mqe.MQeTransporter._getChannelControlBlock(DashoA8173)
at com.ibm.mqe.MQeTransporter._prepare(DashoA8173)
at com.ibm.mqe.MQeTransporter.remoteExecute(DashoA8173)
at com.ibm.mqe.MQeTransporter.getMessage(DashoA8173)
at com.ibm.mqe.MQeRemoteQueue._synchronousGetMessage(DashoA8173)
at com.ibm.mqe.MQeRemoteQueue.getMessage(DashoA8173)
at com.ibm.mqe.MQeQueueControlBlock.getMessage(DashoA8173)
at com.ibm.mqe.MQeQueueManager.waitForMessage(DashoA8173)
at com.ibm.mqe.MQeQueueManager.waitForMessage(DashoA8173)
at nt.mqe.WaitForMQeMessage.doIt(WaitForMQeMessage.java:98)
at nt.mqe.WaitForMQeMessage.main(WaitForMQeMessage.java:149)
I donŽt know why i'm getting this exception. I'm only using one client
invoking the MQeQueueManager.waitForMessage method.
Any ideas?
Thanks,
Javier
Javier
2006-03-03 21:27:04 UTC
Permalink
I've restarted the queue manager and i still getting the exception.
Another idea?
Post by vijay
Hi,
Can you restart Gateway QM and try connecting the client.
One thing to remember is the channel time out.
Suppose a client connects to Gateway QM,does get/put operations and
disconnects.
The channel created for the disconnected client will remain in the
Gateway QM till its timeout period.
Hence next time a client connects ,the Gateway will have 2 channels
opened (even if there is only one client connected at that time)
regards,
Vijay
Post by Javier
Hi All,
I've craeted a listener using the MQeTcpipHistoryAdapter setting the
maxchannels attribute to 10 because i donŽt want that have more than 10
clients receiving messages from the gateway at the same time.
When i try to get a message with only one client i get the following
com.ibm.mqe.MQeException: Channels limit[EDA0D.GTWAY.QM 38] (code=23)
at com.ibm.mqe.communications.MQeChannel.checkError(DashoA8173)
at com.ibm.mqe.communications.MQeChannel.activateMaster(DashoA8173)
at
com.ibm.mqe.communications.MQeConnectionDefinition._createNewChannel(DashoA8
Post by vijay
Post by Javier
173)
at
com.ibm.mqe.communications.MQeConnectionDefinition.getChannel(DashoA8173)
Post by vijay
Post by Javier
at
com.ibm.mqe.communications.MQeCommunicationsManager.getChannelControlBlock(D
Post by vijay
Post by Javier
ashoA8173)
at com.ibm.mqe.MQeTransporter._getChannelControlBlock(DashoA8173)
at com.ibm.mqe.MQeTransporter._prepare(DashoA8173)
at com.ibm.mqe.MQeTransporter.remoteExecute(DashoA8173)
at com.ibm.mqe.MQeTransporter.getMessage(DashoA8173)
at com.ibm.mqe.MQeRemoteQueue._synchronousGetMessage(DashoA8173)
at com.ibm.mqe.MQeRemoteQueue.getMessage(DashoA8173)
at com.ibm.mqe.MQeQueueControlBlock.getMessage(DashoA8173)
at com.ibm.mqe.MQeQueueManager.waitForMessage(DashoA8173)
at com.ibm.mqe.MQeQueueManager.waitForMessage(DashoA8173)
at nt.mqe.WaitForMQeMessage.doIt(WaitForMQeMessage.java:98)
at nt.mqe.WaitForMQeMessage.main(WaitForMQeMessage.java:149)
I donŽt know why i'm getting this exception. I'm only using one client
invoking the MQeQueueManager.waitForMessage method.
Any ideas?
Thanks,
Javier
vijay
2006-03-06 11:51:53 UTC
Permalink
Can i know the version of MQe used?
regards,
Vijay
Post by Javier
I've restarted the queue manager and i still getting the exception.
Another idea?
Post by vijay
Hi,
Can you restart Gateway QM and try connecting the client.
One thing to remember is the channel time out.
Suppose a client connects to Gateway QM,does get/put operations and
disconnects.
The channel created for the disconnected client will remain in the
Gateway QM till its timeout period.
Hence next time a client connects ,the Gateway will have 2 channels
opened (even if there is only one client connected at that time)
regards,
Vijay
Post by Javier
Hi All,
I've craeted a listener using the MQeTcpipHistoryAdapter setting the
maxchannels attribute to 10 because i donŽt want that have more than 10
clients receiving messages from the gateway at the same time.
When i try to get a message with only one client i get the following
com.ibm.mqe.MQeException: Channels limit[EDA0D.GTWAY.QM 38] (code=23)
at com.ibm.mqe.communications.MQeChannel.checkError(DashoA8173)
at com.ibm.mqe.communications.MQeChannel.activateMaster(DashoA8173)
at
com.ibm.mqe.communications.MQeConnectionDefinition._createNewChannel(DashoA8
Post by Javier
Post by vijay
Post by Javier
173)
at
com.ibm.mqe.communications.MQeConnectionDefinition.getChannel(DashoA8173)
Post by vijay
Post by Javier
at
com.ibm.mqe.communications.MQeCommunicationsManager.getChannelControlBlock(D
Post by Javier
Post by vijay
Post by Javier
ashoA8173)
at com.ibm.mqe.MQeTransporter._getChannelControlBlock(DashoA8173)
at com.ibm.mqe.MQeTransporter._prepare(DashoA8173)
at com.ibm.mqe.MQeTransporter.remoteExecute(DashoA8173)
at com.ibm.mqe.MQeTransporter.getMessage(DashoA8173)
at com.ibm.mqe.MQeRemoteQueue._synchronousGetMessage(DashoA8173)
at com.ibm.mqe.MQeRemoteQueue.getMessage(DashoA8173)
at com.ibm.mqe.MQeQueueControlBlock.getMessage(DashoA8173)
at com.ibm.mqe.MQeQueueManager.waitForMessage(DashoA8173)
at com.ibm.mqe.MQeQueueManager.waitForMessage(DashoA8173)
at nt.mqe.WaitForMQeMessage.doIt(WaitForMQeMessage.java:98)
at nt.mqe.WaitForMQeMessage.main(WaitForMQeMessage.java:149)
I donŽt know why i'm getting this exception. I'm only using one client
invoking the MQeQueueManager.waitForMessage method.
Any ideas?
Thanks,
Javier
Javier
2006-03-06 13:54:34 UTC
Permalink
Yes, of course.

I'm using MQ Everypace 2.0.2.0. My getway is running as a windows service
using MQe_Service tool included in the Server Support.

As a client, i'm using an extension of the ExamplaBase.java implementing th
doIt() method.

Thanks a lot!
Post by vijay
Can i know the version of MQe used?
regards,
Vijay
Post by Javier
I've restarted the queue manager and i still getting the exception.
Another idea?
Post by vijay
Hi,
Can you restart Gateway QM and try connecting the client.
One thing to remember is the channel time out.
Suppose a client connects to Gateway QM,does get/put operations and
disconnects.
The channel created for the disconnected client will remain in the
Gateway QM till its timeout period.
Hence next time a client connects ,the Gateway will have 2 channels
opened (even if there is only one client connected at that time)
regards,
Vijay
Post by Javier
Hi All,
I've craeted a listener using the MQeTcpipHistoryAdapter setting the
maxchannels attribute to 10 because i donŽt want that have more than
10
Post by Javier
Post by vijay
Post by Javier
clients receiving messages from the gateway at the same time.
When i try to get a message with only one client i get the following
com.ibm.mqe.MQeException: Channels limit[EDA0D.GTWAY.QM 38] (code=23)
at com.ibm.mqe.communications.MQeChannel.checkError(DashoA8173)
at com.ibm.mqe.communications.MQeChannel.activateMaster(DashoA8173)
at
com.ibm.mqe.communications.MQeConnectionDefinition._createNewChannel(DashoA8
Post by vijay
Post by Javier
Post by vijay
Post by Javier
173)
at
com.ibm.mqe.communications.MQeConnectionDefinition.getChannel(DashoA8173)
Post by vijay
Post by Javier
Post by vijay
Post by Javier
at
com.ibm.mqe.communications.MQeCommunicationsManager.getChannelControlBlock(D
Post by vijay
Post by Javier
Post by vijay
Post by Javier
ashoA8173)
at com.ibm.mqe.MQeTransporter._getChannelControlBlock(DashoA8173)
at com.ibm.mqe.MQeTransporter._prepare(DashoA8173)
at com.ibm.mqe.MQeTransporter.remoteExecute(DashoA8173)
at com.ibm.mqe.MQeTransporter.getMessage(DashoA8173)
at com.ibm.mqe.MQeRemoteQueue._synchronousGetMessage(DashoA8173)
at com.ibm.mqe.MQeRemoteQueue.getMessage(DashoA8173)
at com.ibm.mqe.MQeQueueControlBlock.getMessage(DashoA8173)
at com.ibm.mqe.MQeQueueManager.waitForMessage(DashoA8173)
at com.ibm.mqe.MQeQueueManager.waitForMessage(DashoA8173)
at nt.mqe.WaitForMQeMessage.doIt(WaitForMQeMessage.java:98)
at nt.mqe.WaitForMQeMessage.main(WaitForMQeMessage.java:149)
I donŽt know why i'm getting this exception. I'm only using one client
invoking the MQeQueueManager.waitForMessage method.
Any ideas?
Thanks,
Javier
vijay
2006-03-08 03:59:33 UTC
Permalink
Hi,

Can you report the same through the Electronic Service Request?
You can access it by following link

http://www-306.ibm.com/software/support/help.html


regards,
Vijay
Post by Javier
Yes, of course.
I'm using MQ Everypace 2.0.2.0. My getway is running as a windows service
using MQe_Service tool included in the Server Support.
As a client, i'm using an extension of the ExamplaBase.java implementing th
doIt() method.
Thanks a lot!
Post by vijay
Can i know the version of MQe used?
regards,
Vijay
Post by Javier
I've restarted the queue manager and i still getting the exception.
Another idea?
Post by vijay
Hi,
Can you restart Gateway QM and try connecting the client.
One thing to remember is the channel time out.
Suppose a client connects to Gateway QM,does get/put operations
and
Post by vijay
Post by Javier
Post by vijay
disconnects.
The channel created for the disconnected client will remain in the
Gateway QM till its timeout period.
Hence next time a client connects ,the Gateway will have 2
channels
Post by vijay
Post by Javier
Post by vijay
opened (even if there is only one client connected at that time)
regards,
Vijay
Post by Javier
Hi All,
I've craeted a listener using the MQeTcpipHistoryAdapter setting the
maxchannels attribute to 10 because i donŽt want that have more than
10
Post by Javier
Post by vijay
Post by Javier
clients receiving messages from the gateway at the same time.
When i try to get a message with only one client i get the following
com.ibm.mqe.MQeException: Channels limit[EDA0D.GTWAY.QM 38]
(code=23)
Post by vijay
Post by Javier
Post by vijay
Post by Javier
at com.ibm.mqe.communications.MQeChannel.checkError(DashoA8173)
at
com.ibm.mqe.communications.MQeChannel.activateMaster(DashoA8173)
Post by Javier
Post by vijay
Post by Javier
Post by vijay
Post by Javier
at
com.ibm.mqe.communications.MQeConnectionDefinition._createNewChannel(DashoA8
Post by Javier
Post by vijay
Post by Javier
Post by vijay
Post by Javier
173)
at
com.ibm.mqe.communications.MQeConnectionDefinition.getChannel(DashoA8173)
Post by vijay
Post by Javier
Post by vijay
Post by Javier
at
com.ibm.mqe.communications.MQeCommunicationsManager.getChannelControlBlock(D
Post by Javier
Post by vijay
Post by Javier
Post by vijay
Post by Javier
ashoA8173)
at com.ibm.mqe.MQeTransporter._getChannelControlBlock(DashoA8173)
at com.ibm.mqe.MQeTransporter._prepare(DashoA8173)
at com.ibm.mqe.MQeTransporter.remoteExecute(DashoA8173)
at com.ibm.mqe.MQeTransporter.getMessage(DashoA8173)
at com.ibm.mqe.MQeRemoteQueue._synchronousGetMessage(DashoA8173)
at com.ibm.mqe.MQeRemoteQueue.getMessage(DashoA8173)
at com.ibm.mqe.MQeQueueControlBlock.getMessage(DashoA8173)
at com.ibm.mqe.MQeQueueManager.waitForMessage(DashoA8173)
at com.ibm.mqe.MQeQueueManager.waitForMessage(DashoA8173)
at nt.mqe.WaitForMQeMessage.doIt(WaitForMQeMessage.java:98)
at nt.mqe.WaitForMQeMessage.main(WaitForMQeMessage.java:149)
I donŽt know why i'm getting this exception. I'm only using one
client
Post by vijay
Post by Javier
Post by vijay
Post by Javier
invoking the MQeQueueManager.waitForMessage method.
Any ideas?
Thanks,
Javier
Loading...