Topic
  • 4 replies
  • Latest Post - ‏2006-04-17T07:20:16Z by SystemAdmin
SystemAdmin
SystemAdmin
684 Posts

Pinned topic TCPIP Socket timeout error - any config settings?

‏2005-09-06T18:46:57Z |
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)

Updated on 2006-04-17T07:20:16Z at 2006-04-17T07:20:16Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    684 Posts

    Re: TCPIP Socket timeout error - any config settings?

    ‏2005-09-07T07:47:42Z  
    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

    Robert Aung-Naing wrote:
    > 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)
    >
    >
  • SystemAdmin
    SystemAdmin
    684 Posts

    Re: TCPIP Socket timeout error - any config settings?

    ‏2005-09-07T15:05:13Z  
    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

    Robert Aung-Naing wrote:
    > 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)
    >
    >
    It works great.
    Thanks Tony!
    "Tony Garrard" <garrard@no_spam.ibm.com> wrote in message
    news:dfm5uv$3tce$1@news.boulder.ibm.com...
    > 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
    >
    > Robert Aung-Naing wrote:
    > > 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)
    > >
    > >

  • SystemAdmin
    SystemAdmin
    684 Posts

    Re: TCPIP Socket timeout error - any config settings?

    ‏2006-04-11T15:48:25Z  
    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.MQeExceptionmsourcedev2 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.
  • SystemAdmin
    SystemAdmin
    684 Posts

    Re: TCPIP Socket timeout error - any config settings?

    ‏2006-04-17T07:20:16Z  
    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.MQeExceptionmsourcedev2 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.
    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

    <vivek507@rediffmail.com> wrote in message
    news:1724108332.1144770535929.JavaMail.wassrvr@ltsgwas007.sby.ibm.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.
    >
    > 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.