Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
4 replies Latest Post - ‏2004-06-10T09:13:05Z by SystemAdmin
SystemAdmin
SystemAdmin
684 Posts
ACCEPTED ANSWER

Pinned topic messages do not arrive when stopping and restarting the mqe server

‏2004-04-06T12:05:14Z |
Hi everybody,

I'am using MQe version 2004 and I have the following setup:

MQeServer with a LocalQ and a MQeClient with an async RemoteQ pointing
to the localQ on the server. For storing messages and configuration data
I use the "com.ibm.mqe.adapters.MQeDiskFieldsAdapter" on the clientside.
When stopping and restarting the server, messages send by the client are
not tranmitted to the server. I have to restart the server aggain and
then all the messages were transmitted to the server. This behavior
seems very strange to me.
Can anyone clarify this ?

thx in advance

andreas
Updated on 2004-06-10T09:13:05Z at 2004-06-10T09:13:05Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    684 Posts
    ACCEPTED ANSWER

    Re: messages do not arrive when stopping and restarting the mqe server

    ‏2004-04-06T16:47:53Z  in response to SystemAdmin
    "andrew" <andreas.dannhauer@de.ibm.com> wrote...
    > When stopping and restarting the server, messages send by the client are
    > not tranmitted to the server. I have to restart the server aggain and
    > then all the messages were transmitted to the server. This behavior
    > seems very strange to me.

    Not sure I follow. Are you reporting that the server queue manager cannot
    receive messages when it is not running? That's how MQe works.

    -slj-

  • SystemAdmin
    SystemAdmin
    684 Posts
    ACCEPTED ANSWER

    Re: messages do not arrive when stopping and restarting the mqe server

    ‏2004-04-07T07:24:42Z  in response to SystemAdmin
    Hi Andreas,
    First I would recommend updating to the latest MQe refresh of MQe 2.0.1.4.

    Any message on the remote async queue will only be moved to the server when
    a trigger event occurs. A trigger occurs wen:
    • The message is first put to the remote async queue.
    • A call to the triggerTransmission method of the MQeQueueManager object is
    made.
    Dave

    "andrew" <andreas.dannhauer@de.ibm.com> wrote in message
    news:c4u6ci$poo$1@news.boulder.ibm.com...
    > Hi everybody,
    >
    > I'am using MQe version 2004 and I have the following setup:
    >
    > MQeServer with a LocalQ and a MQeClient with an async RemoteQ pointing
    > to the localQ on the server. For storing messages and configuration data
    > I use the "com.ibm.mqe.adapters.MQeDiskFieldsAdapter" on the clientside.
    > When stopping and restarting the server, messages send by the client are
    > not tranmitted to the server. I have to restart the server aggain and
    > then all the messages were transmitted to the server. This behavior
    > seems very strange to me.
    > Can anyone clarify this ?
    >
    > thx in advance
    >
    > andreas

    • SystemAdmin
      SystemAdmin
      684 Posts
      ACCEPTED ANSWER

      Re: messages do not arrive when stopping and restarting the mqe server

      ‏2004-06-10T09:13:05Z  in response to SystemAdmin
      my configuration is :
      MQe(os4690) <-> gateway <-> MQ.

      The message can be send from mqe, through gateway to mq,
      but reverse direction can't work.

      does you have some suggestion? many thanks.

      the object define at MQe as below:
      #BranchQueueManager
      #Wed Dec 24 11:37:06 CST 2003
      QueueManagerName=BRANCH002QM
      QueueManagerDriver=C:
      QueueManagerDir=MQeQM
      AdapterClass=com.ibm.mqe.adapters.MQeTcpipHistoryAdapter

      #BranchListener
      #Wed Dec 24 11:37:06 CST 2003
      ListenerName=MyListener
      ListenerPort=8085
      ChannelTimeout=3600000
      MaxNumberChannels=10

      #BranchQueue
      #Wed Dec 24 11:37:06 CST 2003
      TestQueueLongName=TESTQ
      TestQueueShortName=TQ1
      InQueueName=APP.FROM.MQ.QUEUE
      InQueueShortName=TQ2

      #BranchHomeServerQueue
      HomeServerQueueName=HS.QUEUE
      PollPeriod=100

      #GatewayQM
      #Wed Dec 24 11:37:06 CST 2003
      GatewayQueueManagerName=GATEWAY00QM
      GatewayQMIPAddress=127.0.0.1
      GatewayQMPort=8082
      GatewayTestQueueName=TESTQ

      #MQServer
      #Wed Dec 24 11:37:06 CST 2003
      MQQueueManagerName=CENTRAL00QM
      MQQueueName=APP.FROM.BRANCH.QUEUE

  • SystemAdmin
    SystemAdmin
    684 Posts
    ACCEPTED ANSWER

    Re: messages do not arrive when stopping and restarting the mqe server

    ‏2004-04-07T11:54:10Z  in response to SystemAdmin
    Andreas,

    Please can you send more information on how you are creating and running
    the client and server and how you are sending messages.
    I have tried to replicate the problem on 2.0.0.4 with the setup you say
    but when I stop and restart the server if messages are still being put
    from the client the all previous messages are sent or if the client has
    finished sending messages before the server is restarted I have to perform
    a trigger transmission on the client (or send another message) for the
    messages to be sent .

    Thanks

    Jane
    http://att1.html