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 » WebSphere Message Broker (ACE) Support » Setting up an user CATALOG for user error messages

Post new topic  Reply to topic
 Setting up an user CATALOG for user error messages « View previous topic :: View next topic » 
Author Message
guest468
PostPosted: Wed Jul 12, 2006 10:59 am    Post subject: Setting up an user CATALOG for user error messages Reply with quote

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
View user's profile Send private message
jboller001
PostPosted: Wed Jul 12, 2006 11:41 am    Post subject: Reply with quote

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
View user's profile Send private message
guest468
PostPosted: Thu Jul 13, 2006 9:44 am    Post subject: Reply with quote

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
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 » WebSphere Message Broker (ACE) Support » Setting up an user CATALOG for user error messages
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.