Discussion:
TCPIP Socket timeout error - any config settings?
(too old to reply)
Robert Aung-Naing
2005-09-06 18:46:57 UTC
Permalink
Hello,

I am running into the MQeCommunicationsException socket timeout error
when we have a lot of messages in a remote queue (about 10,000).
It doesn't matter whether I am browsing or sending messages to the
queue. I tried MQeTcpipAdapter.Timeout (-D on java launch) but it
didn't work.

Does anyone know any other parameter to increase the socket timeout?

Any help will be appreciated.
Partial stack trace is attached.

Thanks,
Robert.


com.ibm.mqe.communications.MQeCommunicationsException: An exception occured
in the communications layer(socket timeout and retries exhausted)[ServletQM
3] (code=14)
at com.ibm.mqe.adapters.MQeTcpipAdapter.Error(I)I(DashoA8173:???)
at com.ibm.mqe.adapters.MQeTcpipLengthAdapter.read()[B(Optimized Method)
at
com.ibm.mqe.communications.MQeChannel.processRequest(Lcom.ibm.mqe.MQeFields;
)Lcom.ibm.mqe.MQeFields;(Optimized Method)
at
com.ibm.mqe.communications.MQeChannel.command(Ljava.lang.String;[B)[B(Optimi
zed Method)
at
com.ibm.mqe.MQeTransporter.putMessage(Lcom.ibm.mqe.MQeMsgObject;J)Lcom.ibm.m
qe.MQeMsgObject;(Optimized Method)
at
com.ibm.mqe.MQeRemoteQueue.putMessage(Ljava.lang.String;Ljava.lang.String;Lc
om.ibm.mqe.MQeMsgObject;J)V(Optimized Method)
at
com.ibm.mqe.MQeQueueManager.putMessage(Ljava.lang.String;Ljava.lang.String;L
com.ibm.mqe.MQeMsgObject;Lcom.ibm.mqe.MQeAttribute;J)V(Optimized Method)
Tony Garrard
2005-09-07 07:47:42 UTC
Permalink
Robert,

If I believe you're trying to use the old v1 system parameter. If you
look at the javadoc for com.ibm.mqe.adapters.MQeCommunicationsAdapter
you'll see the parameter you need to invoke i.e.

-Dcom.ibm.mqe.adapters.MQeCommunicationsAdapter.timeout=30000

Where 30000 is in millisecs

Regards

Tony
Post by Robert Aung-Naing
Hello,
I am running into the MQeCommunicationsException socket timeout error
when we have a lot of messages in a remote queue (about 10,000).
It doesn't matter whether I am browsing or sending messages to the
queue. I tried MQeTcpipAdapter.Timeout (-D on java launch) but it
didn't work.
Does anyone know any other parameter to increase the socket timeout?
Any help will be appreciated.
Partial stack trace is attached.
Thanks,
Robert.
com.ibm.mqe.communications.MQeCommunicationsException: An exception occured
in the communications layer(socket timeout and retries exhausted)[ServletQM
3] (code=14)
at com.ibm.mqe.adapters.MQeTcpipAdapter.Error(I)I(DashoA8173:???)
at com.ibm.mqe.adapters.MQeTcpipLengthAdapter.read()[B(Optimized Method)
at
com.ibm.mqe.communications.MQeChannel.processRequest(Lcom.ibm.mqe.MQeFields;
)Lcom.ibm.mqe.MQeFields;(Optimized Method)
at
com.ibm.mqe.communications.MQeChannel.command(Ljava.lang.String;[B)[B(Optimi
zed Method)
at
com.ibm.mqe.MQeTransporter.putMessage(Lcom.ibm.mqe.MQeMsgObject;J)Lcom.ibm.m
qe.MQeMsgObject;(Optimized Method)
at
com.ibm.mqe.MQeRemoteQueue.putMessage(Ljava.lang.String;Ljava.lang.String;Lc
om.ibm.mqe.MQeMsgObject;J)V(Optimized Method)
at
com.ibm.mqe.MQeQueueManager.putMessage(Ljava.lang.String;Ljava.lang.String;L
com.ibm.mqe.MQeMsgObject;Lcom.ibm.mqe.MQeAttribute;J)V(Optimized Method)
Robert Aung-Naing
2005-09-07 15:05:13 UTC
Permalink
It works great.
Thanks Tony!
Post by Tony Garrard
Robert,
If I believe you're trying to use the old v1 system parameter. If you
look at the javadoc for com.ibm.mqe.adapters.MQeCommunicationsAdapter
you'll see the parameter you need to invoke i.e.
-Dcom.ibm.mqe.adapters.MQeCommunicationsAdapter.timeout=30000
Where 30000 is in millisecs
Regards
Tony
Post by Robert Aung-Naing
Hello,
I am running into the MQeCommunicationsException socket timeout error
when we have a lot of messages in a remote queue (about 10,000).
It doesn't matter whether I am browsing or sending messages to the
queue. I tried MQeTcpipAdapter.Timeout (-D on java launch) but it
didn't work.
Does anyone know any other parameter to increase the socket timeout?
Any help will be appreciated.
Partial stack trace is attached.
Thanks,
Robert.
com.ibm.mqe.communications.MQeCommunicationsException: An exception occured
in the communications layer(socket timeout and retries
exhausted)[ServletQM
Post by Tony Garrard
Post by Robert Aung-Naing
3] (code=14)
at com.ibm.mqe.adapters.MQeTcpipAdapter.Error(I)I(DashoA8173:???)
at com.ibm.mqe.adapters.MQeTcpipLengthAdapter.read()[B(Optimized Method)
at
com.ibm.mqe.communications.MQeChannel.processRequest(Lcom.ibm.mqe.MQeFields;
Post by Tony Garrard
Post by Robert Aung-Naing
)Lcom.ibm.mqe.MQeFields;(Optimized Method)
at
com.ibm.mqe.communications.MQeChannel.command(Ljava.lang.String;[B)[B(Optimi
Post by Tony Garrard
Post by Robert Aung-Naing
zed Method)
at
com.ibm.mqe.MQeTransporter.putMessage(Lcom.ibm.mqe.MQeMsgObject;J)Lcom.ibm.m
Post by Tony Garrard
Post by Robert Aung-Naing
qe.MQeMsgObject;(Optimized Method)
at
com.ibm.mqe.MQeRemoteQueue.putMessage(Ljava.lang.String;Ljava.lang.String;Lc
Post by Tony Garrard
Post by Robert Aung-Naing
om.ibm.mqe.MQeMsgObject;J)V(Optimized Method)
at
com.ibm.mqe.MQeQueueManager.putMessage(Ljava.lang.String;Ljava.lang.String;L
Post by Tony Garrard
Post by Robert Aung-Naing
com.ibm.mqe.MQeMsgObject;Lcom.ibm.mqe.MQeAttribute;J)V(Optimized Method)
v***@rediffmail.com
2006-04-11 15:48:25 UTC
Permalink
Hi,

I am trying to upgrade the MQe for my iPAQ application from V1.2.7.1 TO V2.0.2.0.

There is a particular problem I'm facing while placing the messages on the local Queue.

If I start the queue manager and do not proceed with any other activity, the queue manager starts successfully and does not give any error.

After this, if I place some message(es) on the local queue, it places it at the location specifed and after a delay of about 5-7 seconds gives the following error:

11/03/2006-02:30:28:195 T=4 N=551 D=DeviceID_QM
11/03/2006-02:30:28:301 T=1 N=714 D=com.ibm.mqe.MQeException[msourcedev2 209] (code=3)

Here "msourcedev2" is the name of the Gateway Queue Manager and the same name is for remote Queue Manager.

I am not trying to connect to any external network and also am not trying to process the messages that are there in the queue. It is simply placing these messages and the above mentioned errors appear on the screen.

This requires very urgent solution...suggestion(s) would be very helpful.
Raja Sreenivasan
2006-04-17 07:20:16 UTC
Permalink
Hi,
The exception shown, comes up when the Queue manger is unable to connect to
the target queue manager in the network while put/get messages. In this
case I suppose that the Remote(Gateway)QueueManager is not connected during
that message put. Is the Exception details(Exception stack trace) were
shown along with this or only one line with Exception code is displayed?

Regards
Raja
Post by v***@rediffmail.com
Hi,
I am trying to upgrade the MQe for my iPAQ application from V1.2.7.1 TO V2.0.2.0.
There is a particular problem I'm facing while placing the messages on the local Queue.
If I start the queue manager and do not proceed with any other activity,
the queue manager starts successfully and does not give any error.
Post by v***@rediffmail.com
After this, if I place some message(es) on the local queue, it places it
at the location specifed and after a delay of about 5-7 seconds gives the
Post by v***@rediffmail.com
11/03/2006-02:30:28:195 T=4 N=551 D=DeviceID_QM
11/03/2006-02:30:28:301 T=1 N=714 D=com.ibm.mqe.MQeException[msourcedev2
209] (code=3)
Post by v***@rediffmail.com
Here "msourcedev2" is the name of the Gateway Queue Manager and the same
name is for remote Queue Manager.
Post by v***@rediffmail.com
I am not trying to connect to any external network and also am not trying
to process the messages that are there in the queue. It is simply placing
these messages and the above mentioned errors appear on the screen.
Post by v***@rediffmail.com
This requires very urgent solution...suggestion(s) would be very helpful.
Loading...