Author |
Message
|
mqmhr |
Posted: Thu Jan 20, 2005 12:03 am Post subject: User defined message catalog - WBIMB |
|
|
Centurion
Joined: 28 Dec 2004 Posts: 105
|
WBIMB 5 FP2. Broker in Win XP.
I am trying to use a user-defined message catalog to throw a custom error message from a message flow. I have created a "MyCatalog.properties" file, defined the error number and the message
9999: ABC9999E: \
Application Error has occured.
and placed it in ..\messages folder in WBIMB installation folder. I have coded ESQL as "THROW USER EXCEPTION CATALOG 'MyCatalog' MESSAGE 9999"
I am expecting to see this message when I trace the ExceptionList but am not finding the message text as defined in the properties file.
Firstly, am I using the user-message catalog in the right manner? If so, what is it that I am missing? Thanks in advance for your inputs. |
|
Back to top |
|
 |
JT |
Posted: Fri Jan 21, 2005 6:14 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Did you fully-qualify your Message Catalog in the Trace node, with the path? |
|
Back to top |
|
 |
mqmhr |
Posted: Sat Jan 22, 2005 12:14 am Post subject: |
|
|
Centurion
Joined: 28 Dec 2004 Posts: 105
|
Yes, I have specified the catalog name and the message number in the Trace Node. But the error message is not getting picked up from the catalog and is not getting displayed anywhere. I have tried both File and Local Error Log trace, both with the same result. |
|
Back to top |
|
 |
JT |
Posted: Sat Jan 22, 2005 12:44 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Post all of the values for the parameters, that are currently defined in the Trace node. |
|
Back to top |
|
 |
jefflowrey |
Posted: Sat Jan 22, 2005 4:27 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Did you restart the broker after deploying the catalog?
I don't know that this is necessary, but it might be. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kirani |
Posted: Sun Jan 23, 2005 3:39 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Also, post your ExceptionList contents here. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
|