cancel
Showing results for 
Search instead for 
Did you mean: 

Auto restart of messages failed in Adapter Engine PI 7.0 and 7.1

Former Member
0 Kudos

Hi,

I am trying to figure out a way to automatically restart the messages failed with in the adapter engine (because of the target system not available etc.). These messages are in System Error status and I can restart them from RWB. But I am looking for any report or something available either on Java or ABAP engines so that I can automate the process.

Thanks for the help.

VJ

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Flok,

Go through this link may be use ful to your requirment

Regards,

Ravi.

justin_santhanam
Active Contributor
0 Kudos

VJ,

Go through this blog -/people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically . It might be helpful.

raj.

VijayKonam
Active Contributor
0 Kudos

I have already gone through it Raj. He mentions the same problem with manual restart option. I am looking for any report/program/web service etc to automate the process.

Thanks,

VJ

former_member200962
Active Contributor
0 Kudos
I am looking for any report/program/web service etc to automate the process.

Reports like RSQIWKEX, RSARFCEX and RSXMB_RESTART_MESSAGES are used for restart (automatic) and are mentioned in the blog....are you looking for something else? We dont have a Web Service for this purpose.

Regards,

Abhishek.

VijayKonam
Active Contributor
0 Kudos

I am looking for restarting messages failed in adapter engine. Not at integration engine (sxmb_moni error).

VJ

Former Member
0 Kudos

You can define the intervals and number of retries for each comm. channel in RWB - Comm.chan. monitoring section. Isn't this what you are looking for?

Regards,

Gokhan

VijayKonam
Active Contributor
0 Kudos

No. Not the retries. I am looking for invoking the "resend" of system error messages through automation.

Former Member
0 Kudos

Although it actually is a serious lack of functionality, I've never run across anything that makes this possible as I also had the same requirement in my previous project. Not only to restart, but also a remote monitoring API would really be great.

You will have to develop your own Java web services using NWDS and access the database directly.. that's the only way I can think about.

Regards,

Gökhan

VijayKonam
Active Contributor
0 Kudos

Thanks for the insight Gokhan. How do you think we would be able to know the tables used within? I am open to developing..!!

VJ

Former Member
0 Kudos

Unfortunately, although there are great resources for the ABAP tables used for PI, again no resource on the Java tables used. My recommendation would only work for getting message statuses as well or reading other data, not for restarting or any other actions. I believe as RWB itself is a WebDynpro application itself, it might be possible to find which application message monitoring is from WebDynpro link in on main Java page, then drill down the code yourself after finding the archives in the installation files. Or use your database management software to investigate the Java schema. My current project is also going towards the same requirement, so I would be more than happy to collaborate on this exploration and development.

Regards,

Gökhan

VijayKonam
Active Contributor
0 Kudos

Let me see what I could do and comeback.

VijayKonam
Active Contributor
0 Kudos

I have come across the web service AdapterMessageMonitoring in PI 7.0 (Found it in Web service navigator) with possibly useful methods. But I could not find the same service on PI 7.1. Any clue on this?

Also, the getMessageList methods works perfectly as expected but the resendMessages mehtod fails with the exception -

com.sap.engine.services.ejb.exceptions.BaseEJBException xmlns:ns1="http://sap-j2ee-engine/client-runtime-error">Exception in method resendMessages.</ns1:com.sap.engine.services.ejb.exceptions.BaseEJBException>

Will post more if move forward.

VJ

Former Member
0 Kudos

That's great news - wondering why they never mentioned it in documentation. Maybe they renamed it in PI7.1? Can't check as I currently don't have access.

Regards,

Gökhan

VijayKonam
Active Contributor
0 Kudos

Michal also mentions about this service [here|/people/michal.krawczyk2/blog/2010/04/13/pixi-how-to-get-a-pi-message-from-java-stack-aae-in-pi-711-from-abapSDNWeblogs_SapExchangeInfrastructurexi%2528SAPNetworkWeblogs%253ASAPExchangeInfrastructure%2528XI%2529%2529] in his blog, but the WSNAVIGATOR changed in 7.1.1 from 7.1. Not able to find it service in 7.1 even in the WSNAVIGATOR from the PI 7.1 Java home page.

Asked him though.

VJ

VijayKonam
Active Contributor
0 Kudos

The Note 1373289 answers the question. It is available in 7.1 SP9 onwards.

Using this service, we can control the message restart externally.

Closing the thread.

Thanks.

VJ