ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » MQFB_APPL_CANNOT_BE_STARTED--> more info reqd refer last

Post new topic  Reply to topic
 MQFB_APPL_CANNOT_BE_STARTED--> more info reqd refer last « View previous topic :: View next topic » 
Author Message
harnesshg
PostPosted: Fri Mar 17, 2006 7:06 am    Post subject: MQFB_APPL_CANNOT_BE_STARTED--> more info reqd refer last Reply with quote

Newbie

Joined: 07 Mar 2006
Posts: 7

I am new to MQ.
What are the various typical conditions under which this message 'MQFB_APPL_CANNOT_BE_STARTED' gets put into DEADLETTER queue?


Last edited by harnesshg on Sat Mar 18, 2006 1:43 am; edited 1 time in total
Back to top
View user's profile Send private message
wschutz
PostPosted: Fri Mar 17, 2006 7:10 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Usually when a trigger monitor cannot start an application, like the appl name is wrong .... from the "InfoCenter" :
Quote:
MQFB_APPL_CANNOT_BE_STARTED
An application processing a trigger message cannot start the application named in the ApplId field of the trigger message (see MQTM - Trigger message).
On z/OS, the CKTI CICS transaction is an example of an application that processes trigger messages

_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
sebastianhirt
PostPosted: Fri Mar 17, 2006 7:10 am    Post subject: Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

Well, this is rather self explaining.

This occures whenever the application that is supposed to be started cannot be started.
Possible causes could be:

- permission issues
- wrong filepath
- the application does not exist

and many more. Read the documentation to get more information on this.

cheers
Sebastian
Back to top
View user's profile Send private message
harnesshg
PostPosted: Sat Mar 18, 2006 1:43 am    Post subject: Reply with quote

Newbie

Joined: 07 Mar 2006
Posts: 7

say the application has been triggered by the MQ and the application does not respond inspite of everything being proper(we faced this sort of a situation) what will be the message put on the SYSTEM.DEAD.LETTER.QUEUE or any other message indicating this condition.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Sat Mar 18, 2006 6:26 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If the application starts, but goes into an infinite loop and does not ever quit... then nothing will ever show up in MQ to indicate this - other than that the dequeue rate on the queue is zero and (perhaps) that the queue has a positive open input count.

Depending on how your process is defined in MQ, this could in theory also cause your trigger monitor to sit forever waiting for the application to finish before it will start another program.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Mar 18, 2006 9:25 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

And if you use Java you have to have set the right environment parameters before starting the trigger monitor or your VM might just hang...

Check out the triggering java url I put in the java thread. It covers pretty much everything...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jsware
PostPosted: Mon Mar 20, 2006 5:07 am    Post subject: Reply with quote

Chevalier

Joined: 17 May 2001
Posts: 455

If you search IBM's site for the MQFB code, you'll see that depending upon the platform and version of MQ you are using, if you get the trigger monitor to start an application in the "foreground" (so the trigger monitor waits for the program to end) then if that program exits with a non-zero return code, the trigger monitor thinks that application has failed and records the trigger message on the DLQ.

I guess the moral is to always start the program in the background by using an & suffix on the Unix platforms and the "start " prefix on Windows.

The notes on IBM's site indicate that it has been fixed in various releases/fixpacks, but I have still observed this happening. I did a quick search of the manuals but couldn't find anything that indicates whether the trigger monitor should catch and log the return code from a process it starts.

HTH
_________________
Regards
John
The pain of low quaility far outlasts the joy of low price.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQFB_APPL_CANNOT_BE_STARTED--> more info reqd refer last
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.