cancel
Showing results for 
Search instead for 
Did you mean: 

check availability of server before executing RFC

Former Member
0 Kudos

Hi All ,

I am working with Netweaver CE 7.1. I have WebDynpro DC in which I am executing some RFCs to get Data from

SAP system.

Whenever SAP server is down , and if RFC is being executed all HTTP worker threads get hung(Checked form SAP Managment Console). Due to which server gets restart.

I want to check availability of server before executing RFC . is there any inbuilt method in proxy classes or anyother

solution for this problem.

Thanks in advance .

Regards

Kavita

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member185086
Active Contributor
0 Kudos

Hi Kavita

Have u checked it with MODEL_INSTANCE object where u defined your system .I am sure introsepction of JCO will give you these details.(first try at Model Instance then go for JCO)

Please have a look for further help

[Debugging a RFC call using JCo API|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417200)ID1152336650DB10435257427433856542End?blog=/pub/wlg/2481]

[Debugging a RFC call using JCo API, Part-2|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417200)ID1152336650DB10435257427433856542End?blog=/pub/wlg/2490]

[Setup and test SAP Java Connector outbound connection|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417200)ID1152336650DB10435257427433856542End?blog=/pub/wlg/739]

My Best

Satish Kumar

former_member185086
Active Contributor
0 Kudos

Hi

Yes we have solution for : [have a look on this detailed discussion for same|;

Best Regards

Satish Kumar

Former Member
0 Kudos

thank for the quick reply. i stil have doubt.

in the thread link it is given to use System.getProperty , but this will return me details of my host system on which my web dynpro application is deployed. then how will i know that if my SAP system , lets say HRP or CRM , to which i m connecting to get data through RFC is up or not?

Regards

Kavita