on 09-23-2010 2:30 PM
Hi experts,
I have a RFC to MyAdapter sync scenario on PI 7.0. MyAdapter is a simple adaptation of sampleAdapter delivered by SAP with a lot of audit log calls. I created a report to call the RFC and also the two destinations necessary to accomplish RFC sender scenario.
On MyAdapter I call the function Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS, "Some message here!!"); to log messages on audit log and I don´t call Audit.flushAuditLogEntries(amk); since SAP recommends not to use that on sync scenarios.
This scenario works fine always and no error occurs. But sometimes Audit Log don´t show MyAdapter´s messages and I don´t know why. It´s random, I couldn´t identify a relation with anything in my tests. I´m pasting audit log´s messages below:
RFC´s Correct Audit Log:
2010-09-23 08:57:33 Success Application attempting to send an XI message asynchronously using connection MyAdapter_http://www.company.com.br/myadapter.
2010-09-23 08:57:33 Success Trying to put the message into the send queue.
2010-09-23 08:57:33 Success The response message for message bf25bffd-c709-11df-87de-000c29c696cb(INBOUND) was successfully transmitted to the calling application.
2010-09-23 08:57:33 Success The message status set to DLVD.
2010-09-23 08:57:33 Success The application sent the message asynchronously using connection MyAdapter_http://www.company.com.br/myadapter. Returning to application.
MyAdapter´s Correct Audit Log:
2010-09-23 08:57:32 Success Message successfully received by messaging system. Profile: XI URL: http://host:port/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
2010-09-23 08:57:32 Success Using connection MyAdapter_http://www.company.com.br/myadapter. Trying to put the message into the request queue.
2010-09-23 08:57:32 Success Message successfully put into the queue.
2010-09-23 08:57:32 Success The message was successfully retrieved from the request queue.
2010-09-23 08:57:32 Success The message status set to DLNG.
2010-09-23 08:57:32 Success Delivering to channel: CC_Receiver_MyAdapter
2010-09-23 08:57:32 Success MP: Entering module processor
2010-09-23 08:57:32 Success MP: Processing local module localejbs/ModuleProcessorExitBean
2010-09-23 08:57:32 Success Message entered module processor exit bean and will be transferred to JCA adapter
2010-09-23 08:57:32 Success Some message here!!.
2010-09-23 08:57:33 Success Message successfully processed by JCA adapter
2010-09-23 08:57:33 Success MP: Leaving module processor
2010-09-23 08:57:33 Success The message was successfully delivered to the application using connection MyAdapter_http://www.company.com.br/myadapter.
2010-09-23 08:57:33 Success The message status set to DLVD.
RFC´s Incorrect Audit Log:
2010-09-23 08:57:29 Success Using connection RFC_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
2010-09-23 08:57:29 Success The XI response message for message bd11e097-c709-11df-8345-000c29c696cb(INBOUND) was successfully returned to the calling application.
2010-09-23 08:57:29 Success The message status set to DLVD.
MyAdapter´s incorrect Audit Log:
2010-09-23 08:57:28 Success RFC adapter received sRFC for ZRFC_PI from DE1/801. Attempting to send message synchronously
2010-09-23 08:57:28 Success MP: Entering module processor
2010-09-23 08:57:28 Success MP: Processing local module localejbs/RfcAFBean
2010-09-23 08:57:28 Success Application attempting to send an XI message synchronously using connection RFC_http://sap.com/xi/XI/System
2010-09-23 08:57:28 Success Trying to put the message into call queue
2010-09-23 08:57:28 Success Message successfully put into the queue.
2010-09-23 08:57:28 Success Message retrieved from call queue
2010-09-23 08:57:28 Success The message status set to DLNG.
2010-09-23 08:57:29 Success Message was successfully transmitted to endpoint http://host:port/sap/xi/engine?type=entry using connection RFC_http://sap.com/xi/XI/System
2010-09-23 08:57:29 Success The message status set to DLVD.
2010-09-23 08:57:29 Success Application sent message synchronously using connection RFC_http://sap.com/xi/XI/System. Returning to application
2010-09-23 08:57:29 Success MP: Leaving module processor
I called "incorrect Audit Log" that log that doesn´t show my message "Some message here!!". As you can see those messages are completely different, and also random.
Does anyone have this same issue? How can I solve that?
Thanks and best regards,
Gabriela
Not too sure but can be a cache related issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So, I´m still with this same problem.
Any help?
Gabriela
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for you reply.
I´ve done a full sxi_cache and still the same issue.
Best regards,
Gabriela
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you sxi_cache referesh??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.