You want to analyse if sessions are properly released on the J2EE engine
after executing one or more BEx Web Applications Java.
Logon to the following URL to start the session overview: FQDN/irj/servlet/prt/portal/prtroot/com.sap.ip.bi.web.portal.integration.sessionoverview
Note: The user needs to have administrator authorization.
Start transaction SM04 in the ABAP backend.
The session overview shows:
Current date:
Controllers: <# of controllers>
Applications without page: <# of applications without page>
Applications with page: <# of applications with page>
Portal connection pools: <# of portal connection pools>
SM04 shows the RFC connections opened from J2EE engine to ABAP backend.
Execute the session overview twice:
1) Before executing the BEx Web Applications Java
2) After terminating the BEx Web Applications Java
Note: A BEx Web Application session is terminated, e.g. when:
- navigating to another page
- using the logoff button
- closing the browser window
The numbers for <# of controllers>,
after executing one or more BEx Web Applications Java.
Logon to the following URL to start the session overview: FQDN/ir
Note: The user needs to have administrator authorization.
Start transaction SM04 in the ABAP backend.
The session overview shows:
Current date:
Controllers: <# of controllers>
Applications without page: <# of applications without page>
Applications with page: <# of applications with page>
Portal connection pools: <# of portal connection pools>
SM04 shows the RFC connections opened from J2EE engine to ABAP backend.
Execute the session overview twice:
1) Before executing the BEx Web Applications Java
2) After terminating the BEx Web Applications Java
Note: A BEx Web Application session is terminated, e.g. when:
- navigating to another page
- using the logoff button
- closing the browser window
The numbers for <# of controllers>,
<# of applications without page>,
<# of applications with page>, and <# of portal connection pools>
must be the same before and after executing the BEx Web Applications Java. Otherwise there is a problem in the session management that requires further analysis.
Execute the SM04 after terminating the BEx Web Applications Java.
Note: In transaction SM04 you will see a connection of type RFC for each BEx Web Application Java.
Important: Terminating a BEx Web Application will not release the RFC connection in SM04. This behavior is due to the RFC connection pool of the Enterprise Portal. The RFC connection will be returned to the connection pool and will be reused when doing a re-logon. Therefore the proper release of sessions of BEx Web Applications Java cannot be analysed with SM04. SM04 will only show that the memory consumed on the
ABAP stack will be freed after a successful termination.
1) Start the session overview. See the number of controllers
Execute the SM04 after terminating the BEx Web Applications Java.
Note: In transaction SM04 you will see a connection of type RFC for each BEx Web Application Java.
Important: Terminating a BEx Web Application will not release the RFC connection in SM04. This behavior is due to the RFC connection pool of the Enterprise Portal. The RFC connection will be returned to the connection pool and will be reused when doing a re-logon. Therefore the proper release of sessions of BEx Web Applications Java cannot be analysed with SM04. SM04 will only show that the memory consumed on the
ABAP stack will be freed after a successful termination.
1) Start the session overview. See the number of controllers
Start the BEx Web Application
Refresh the session overview. See the number of controllers:
Start SM04. See the memory consumed in the ABAP backend:
Terminate the BEx Web Application (e.g. by closing the browser window):
Refresh the session overview. See the number of controllers
1 comments:
Hi Rahul,
This article has good information and this explains exactly the issue we are facing. The RFC connections persists in SM04 even after users logoff from Bex applications (Java). And these RFC connections hold some memory and as the number of these RFC connections increase, they hold significant memory causing the system performance degradation. Is there a way these connections can be cleared once users logoff (by setting some parameters) without manually logging off these users from SM04?
Thanks,
Poorna
Post a Comment