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 » Java Plugin - MbService.logError and MbFatalException

Post new topic  Reply to topic
 Java Plugin - MbService.logError and MbFatalException « View previous topic :: View next topic » 
Author Message
Deeko
PostPosted: Thu Mar 21, 2002 2:50 am    Post subject: Reply with quote

Acolyte

Joined: 16 May 2001
Posts: 72
Location: Edinburgh, UK

Hi,

Anyone got these working? I keep getting nullpointerexceptions! The documentation is yet again quite scant in this area!

Regards,

Derek.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Deeko
PostPosted: Fri Mar 22, 2002 6:40 am    Post subject: Reply with quote

Acolyte

Joined: 16 May 2001
Posts: 72
Location: Edinburgh, UK

I've got both of these now working....if anyone's interested I can post how they work...managed to guess!!

Regards,

Derek.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
amigupta1978
PostPosted: Fri Mar 22, 2002 4:54 pm    Post subject: Reply with quote

Centurion

Joined: 22 Jan 2002
Posts: 132
Location: India

Hi,
U can post here or to my email acct amigupta1978@yahoo.com , I am too trying somethings on the Java Plugin nodes, and want to know more that what sort of problems which I might face..

Thnx
Amit
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Deeko
PostPosted: Tue Mar 26, 2002 1:00 am    Post subject: Reply with quote

Acolyte

Joined: 16 May 2001
Posts: 72
Location: Edinburgh, UK

Hi Amit,

Both these method calls work kind of similarly:

MbService.logError(CLASSNAME, METHODNAME, MSGSOURCE, ERROR, "text area...", LOGINSERT);

throw new MbRecoverableException(CLASSNAME, METHODNAME, MSGSOURCE, ERROR, "text area...", LOGINSERT);

Where:

String CLASSNAME - Your nodes classname (e.g. com.etc.etc.etc)
String METHODNAME - Method Name (e.g. "evaluate")
String MSGSOURCE - the name of a message file either your own or the MQSI one (WMQIv210 - located in install_dirmessages)....have a look in the MQSI one for layout info.
String ERROR - The Error number from the message file (4362 for instance is a "Java PlugIn error")
String[] SLOTS - an Array of values that get inserted into the message entry referred to by the ERROR key. They are represented in the message file by {n} values.

Hope this helps Amit...let me know if you have any questions!

Regards from Edinburgh,

Derek.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Java Plugin - MbService.logError and MbFatalException
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.