on 05-15-2007 11:48 AM
Hi
Is it possible to send error message from Adapter Module to CCMS...?I have written on adatper module from there i have to send error message to CCMS or SXMB_MONI. Is it possible if yes please send me the related documents
Best Regards
Ravi Shankar B
Check these blogs. Trigger an alert to XI's Alert Framework from the module and forward this alert to CCMS.
<a href="/people/amol.joshi2/blog/2006/11/27/alerts-from-adapter-modules--the-jra-way">Alerts from adapter modules - the JRA way!!</a>
<a href="/people/amol.joshi2/blog/2006/11/28/alerts-from-adapter-modules--the-jra-way-part-ii">Alerts from adapter modules - the JRA way!! (Part II)</a>
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi shankar,
Check out these
/people/amol.joshi2/blog/2006/11/27/alerts-from-adapter-modules--the-jra-way
/people/amol.joshi2/blog/2006/11/28/alerts-from-adapter-modules--the-jra-way-part-ii
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ravi,
Take a look at this piece of code..
catch (Exception e)
{
String errorMessage = auditStr + "Error during the module execution. Exception:" + e.getMessage();
Audit.addAuditLogEntry(amk, AuditLogStatus.ERROR, errorMessage);
throw mEx = new ModuleException(auditStr + errorMessage);
}
Module exception can be viewed from sxmb_moni
Regards
krishna
Note: Reward points if useful.Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I have written following User Defined Exeption in my Module program
class DuplicateFileException extends ModuleException{
DuplicateFileException(String message){
super(message);
}
}
I am throwing my Exception like this
try{
throw new DuplicateFileException("Duplicate File");
}catch(DuplicateFileException e){
throw e;
}
But i am not getting this exception in SXMB_MONI. In adpater monitoring i am getting the following exceptions
<b>
2007-05-16 15:51:30 GMT+05:30: Retry interval started. Length: 5.000 s
- 2007-05-16 15:51:30 GMT+05:30: Error: java.lang.NullPointerException
- 2007-05-16 15:51:30 GMT+05:30: An unknown error occured.
- 2007-05-16 15:51:30 GMT+05:30: Processing started
- 2007-05-16 15:51:25 GMT+05:30: Error: java.lang.NullPointerException</b>
can any one give me the idea how to send error from module program to SXMB_MONI
Thanks & Regards
Ravi Shankar B
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.