Author |
Message
|
jefflowrey |
Posted: Fri Jul 28, 2006 6:24 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
My question was if there was a Server program that was supposed to be sending you a reply.
If there isn't, then you won't get a reply.
If there is, then maybe you're not waiting long enough for the reply to come in.
This is done by specifying a Wait Time on the Get. This will tell MQ to return from the Get either as soon as there is a message available, or at the end of the time specified whichever comes first. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mikeco3181 |
Posted: Fri Jul 28, 2006 6:26 am Post subject: |
|
|
Novice
Joined: 27 Jul 2006 Posts: 17
|
jefflowrey wrote: |
My question was if there was a Server program that was supposed to be sending you a reply.
If there isn't, then you won't get a reply.
If there is, then maybe you're not waiting long enough for the reply to come in.
This is done by specifying a Wait Time on the Get. This will tell MQ to return from the Get either as soon as there is a message available, or at the end of the time specified whichever comes first. |
upon talking to our MQ people the server should be sending a reply. I set the wait time to 30 seconds, which, if it takes longer than that I feel like is a different problem |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jul 28, 2006 6:28 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
mikeco3181 wrote: |
upon talking to our MQ people the server should be sending a reply. I set the wait time to 30 seconds, which, if it takes longer than that I feel like is a different problem |
Yep. But you should also ask the MQ people to look for errors on the server, to make sure it can put the reply to your queue. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mikeco3181 |
Posted: Fri Jul 28, 2006 6:29 am Post subject: |
|
|
Novice
Joined: 27 Jul 2006 Posts: 17
|
jefflowrey wrote: |
mikeco3181 wrote: |
upon talking to our MQ people the server should be sending a reply. I set the wait time to 30 seconds, which, if it takes longer than that I feel like is a different problem |
Yep. But you should also ask the MQ people to look for errors on the server, to make sure it can put the reply to your queue. |
he showed me this earlier
Quote: |
+CSQX500I +MQ CSQXRESP Channel Us.CLIENT started
+CSQX208E +MQ CSQXRESP Error receiving data, 442
channel Us.CLIENT
connection "my IP Address" ("my IP Address")
(queue manager ????)
TRPTYPE=TCP RC=00000461 reason=00000000
+CSQX599E +MQ CSQXRESP Channel Us.CLIENT ended abnormally |
|
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jul 28, 2006 6:36 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
That seems to indicate that you can't make a client connection.
But your program should be getting an exception thrown from AccessQueueManager if that was the case. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
saketr |
Posted: Fri Jul 28, 2006 6:51 am Post subject: Tried XMS .NET? |
|
|
Apprentice
Joined: 08 Feb 2006 Posts: 41
|
|
Back to top |
|
 |
mikeco3181 |
Posted: Fri Jul 28, 2006 6:54 am Post subject: Re: Tried XMS .NET? |
|
|
Novice
Joined: 27 Jul 2006 Posts: 17
|
thanks for the plug, but I've seen that before. I already have this application running...it seems like more than just an application issue here |
|
Back to top |
|
 |
mikeco3181 |
Posted: Fri Jul 28, 2006 7:51 am Post subject: |
|
|
Novice
Joined: 27 Jul 2006 Posts: 17
|
should I be referencing this as a remote queue? |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jul 28, 2006 7:53 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Are you connected to the same qmgr as the server application is? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mikeco3181 |
Posted: Fri Jul 28, 2006 7:54 am Post subject: |
|
|
Novice
Joined: 27 Jul 2006 Posts: 17
|
yeah...we only have one active QMgr |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jul 28, 2006 8:50 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Then you can only be writing to the same queue that the server app is reading from.
And you should not be thinking of it as a remote queue or a qremote becuase your application is directly connected to the qmgr it is on.
So the question is - is the server application failing to read your message, or failing to put your reply? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mikeco3181 |
Posted: Fri Jul 28, 2006 8:54 am Post subject: |
|
|
Novice
Joined: 27 Jul 2006 Posts: 17
|
jefflowrey wrote: |
Then you can only be writing to the same queue that the server app is reading from.
And you should not be thinking of it as a remote queue or a qremote becuase your application is directly connected to the qmgr it is on.
So the question is - is the server application failing to read your message, or failing to put your reply? |
That IS the question  |
|
Back to top |
|
 |
mikeco3181 |
Posted: Mon Jul 31, 2006 10:59 am Post subject: |
|
|
Novice
Joined: 27 Jul 2006 Posts: 17
|
so we're still at a stand still. It might be a server side issue, but we haven't been able to talk to the implementation group that's familiar with the .NET side of things yet.
I can't even run a simple check to see if MQ is available...huzzah! |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Jul 31, 2006 11:06 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Double check that your code isn't throwing an exceptions, and that there aren't any errors in the AMQERR01.LOG on your client machine. If not, then you know you're doing your part as best as you know. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mikeco3181 |
Posted: Tue Aug 01, 2006 5:30 am Post subject: |
|
|
Novice
Joined: 27 Jul 2006 Posts: 17
|
so there was some talk that I might be missing a Message Descriptor? |
|
Back to top |
|
 |
|