cancel
Showing results for 
Search instead for 
Did you mean: 

RFC connection between ABAP and JAVA stack hanging

Former Member
0 Kudos

Hi,

From time to time, the RFC connection between our ABAP and JAVA stack starts hanging. Restarting the JAVA stack solves the problem, so I suspect that there are old RFC connections that remain active.

Is it possible to monitor active RFC connections in JAVA?

Kind regards,

Nicolas

Accepted Solutions (0)

Answers (3)

Answers (3)

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Nico,

Hope you are doing good.

Please enable the below JCo trace (to level 5) as per note 628962 - How to switch on the SAP JCo trace and then check the below logs:

/usr/sap/<SID>/JC<nr>/j2ee/cluster/server0/logs/default trace (latest).

/usr/sap/<SID>/JC<nr>/j2ee/cluster/server0/jrfc.trc

and

/usr/sap/<SID>/JC<nr>/j2ee/cluster/server/logs/system/*

You should be able to get more info on the RFC that are causing the issue.

Thank you and have a nice day :).

_____________

Kind Regards,

Hemanth

Former Member
0 Kudos

Hello Nicolas

You cannot monitor RFC connections from Java Engine. You will have to check them in ABAP system only. One way can be that you capture thread dumps (SAP Note 710154) and upload it on Thread Dump viewer (SAP Note 1020246). You can trace out the threads involved in RFC connections and their current status.

I hope this helps you.

Thanks

Tapan

Former Member
0 Kudos

Hi Nicolas,

The issue with the RFC sessions remaining open in the backend is described in SAP note:
#1644347 -   HttpClientSessionListener failed to destroy client session

Apply the note and check if it resolves the issue for you.

Regards

shrikant