|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
APPLICID configuration for Client Application Triggering |
« View previous topic :: View next topic » |
Author |
Message
|
hkhan12 |
Posted: Mon Jun 18, 2007 2:17 pm Post subject: APPLICID configuration for Client Application Triggering |
|
|
Voyager
Joined: 08 Aug 2002 Posts: 98
|
Hi MQ Experts,
I have an appliaction running on WinXP(MQ Client). On my MQ Server, I have an application queue triggered.
When I put a message on my local queue (which is triggered queue), I'm expecting to start the application on WIN box and consume the message.
I'm using MA7K: WebSphere MQ for Windows - Trigger monitor service on WIN box. Trigger Monitor on WIN box (MQ Client) is running properly.
When I put a message, the application side on WIN box getting the following error message:
Invalid application type received: type=9. (See Data: for message received)
00a8: 09 00 00 00 73 74 61 72 ....star
00b0: 74 20 22 4d 51 20 54 52 t "MQ TR
00b8: 49 47 47 45 52 22 20 2f IGGER" /
00c0: 42 20 22 44 3a 5c 50 72 B "D:\Pr
00c8: 6f 67 72 61 6d 20 46 69 ogram Fi
00d0: 6c 65 73 5c 43 49 42 43 les\CmpnyName
00d8: 5c 50 61 74 68 66 69 6e \SubFolder
00e0: 64 65 72 5c 54 65 73 74 \Test
00e8: 5c 4c 6f 61 64 4d 65 73 \LoadMes
00f0: 73 61 67 65 41 63 6b 73 sageAcks
00f8: 2e 65 78 65 22 20 20 20 .exe"
Here is my APPLICID attribute setting on my process
NOTE-I have tried so many combinations as following:
1. APPLICID('start "MQ TRIGGER" "D:\Program
Files\CmpnyName\SubFolder\Test\LoadMessageAcks.exe"')
2. APPLICID('start "MQ TRIGGER" /B "D:\Program
Files\CmpnyName\SubFolder\Test\LoadMessageAcks.exe"')
3. APPLICID('start D:\Program
Files\CmpnyName\SubFolder\Test\LoadMessageAcks.exe')
Would somebody please help me out here.
Thank you, |
|
Back to top |
|
 |
wschutz |
Posted: Mon Jun 18, 2007 2:41 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
The message is complaining of applTYPE, not applicID
What version of windows is the MQ server running?
Try to alter the process definition:
Code: |
alter process(your-process-name) appltype(windowsnt)
|
The appltype value of "9" corresponds to MQAT_WINDOWS, which means:
Quote: |
This value indicates that a 16-bit Windows® application put the message. |
It needs to be MQAT_WINDOWSNT. _________________ -wayne |
|
Back to top |
|
 |
hkhan12 |
Posted: Mon Jun 18, 2007 8:22 pm Post subject: |
|
|
Voyager
Joined: 08 Aug 2002 Posts: 98
|
Hi Wayne,
Thank you so much for your input and help. I will try it and see how it goes.
Of course, I will post the results here.
Again, thanks a bunch and highly appreciated!!!
Regards, |
|
Back to top |
|
 |
hkhan12 |
Posted: Wed Jun 20, 2007 7:00 am Post subject: |
|
|
Voyager
Joined: 08 Aug 2002 Posts: 98
|
Hi Wayne,
You are wonderful!!!
Thank you so much for your input and help. It does works.
However, it is only triggering first time around. I sent one message, application started and consumed the message.
Second time I sent one message again but this time, its not consuming message. I guess application should stop properly once it consumed all messages in the queue. In other words, application should have proper MQ CLOSE & MQ DISC call. Am I right here, is this the issue or it should be at mq configuration level required?
I also have a question, the application using MQ Client 5.3 (Windows) currently so as MQ Server (5.3 with CSD11).
Is it a good idea application to use MQ Client V6 (Windows) since we at MQ Server side will be migrating to MQV6 in next couple of months.
Is MQ Client V6 will work with WMQ5.3 Queue Managers?
Please input your suggestions.
Thanks again!!!!
Best Regards, |
|
Back to top |
|
 |
wschutz |
Posted: Wed Jun 20, 2007 7:49 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Yeah, v6 client is okay with v5.3 qmgrs.
What is trigtype? first, every, depth? Post your mqsc definitions. _________________ -wayne |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jun 20, 2007 8:10 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|