cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to send error message from Adapter Module to CCMS?

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

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

Answers (2)

Answers (2)

prateek
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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