|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Setting up an user CATALOG for user error messages |
« View previous topic :: View next topic » |
Author |
Message
|
guest468 |
Posted: Wed Jul 12, 2006 10:59 am Post subject: Setting up an user CATALOG for user error messages |
|
|
Centurion
Joined: 30 May 2006 Posts: 146 Location: NY
|
Folks,
I need some some help on pupulating user defined exception messages.
Actually, I am trying to implement a custom catalog called 'MyCatalog' for user exceptions raised using THROW command.
I created an appropriate MyCatalog.properties file and copied the same to the messages directory (C:\Program Files\IBM\MQSI\6.0\messages). But the exceptionList is not being populated with the catalog message. I have pasted the exception list below (as you can see, the 'Text' always defaults to 'User generated exception')
(0x01000000):UserException = (
(0x03000000):File = 'F:\build\S600_P\src\DataFlowEngine\ImbRdl\ImbRdlThrowExceptionStatements.cpp'
(0x03000000):Line = 224
(0x03000000):Function = 'SqlThrowExceptionStatement::execute'
(0x03000000):Type = 'ComIbmComputeNode'
(0x03000000):Name = 'mci/MCI_Service_Interaction#FCMComposite_1_7'
(0x03000000):Label = 'mci.MCI_Service_Interaction.Compute1'
(0x03000000):Catalog = 'MyCatalog'
(0x03000000):Severity = 1
(0x03000000):Number = 2001
(0x03000000):Text = 'User generated exception'
)
The MyCatalog.properties has the following text...
2001: APRXI: \
This is test message.
Am I missing any configuration step?
Thanks. |
|
Back to top |
|
 |
jboller001 |
Posted: Wed Jul 12, 2006 11:41 am Post subject: |
|
|
 Apprentice
Joined: 31 May 2006 Posts: 40
|
I'm having the same problem using a user defined catalog in a Java Compute Node. I created a new BIPv600_PROJECT.properties file and placed it in the broker's /messages directory. When I execute the following statement I get an unhandled exception.
throw new MbUserException(this.getClass().getName(), "evaluate" , "BIPv600_PROJECT", "1001", "Exception transforming field to target value", new Object[]{elementValue});
It appears like the broker's able to read the file but doesn't recognize the catalog. In addition to placing the properties file in the /messages directory is there something else I need to do to register the catalog with the broker? |
|
Back to top |
|
 |
guest468 |
Posted: Thu Jul 13, 2006 9:44 am Post subject: |
|
|
Centurion
Joined: 30 May 2006 Posts: 146 Location: NY
|
The V6 online documentation briefly mentions about using XPG4. Any details on this would greatly appreciated |
|
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
|
|
|
|