on 01-20-2012 8:28 AM
Dear Experts,
We are using NW CE 7.11 in our production landscape. We have one web dynpro java application which uses Adaptive RFC Model to connect to the backend R/3 system using a JCo Destination.
We have set the Maximum Pool Size value as 100 for this JCo Destination. Some of the users of this application frequently face the error Error connecting using JCO.Client: null while using the application. At maximum peak time, 70-75 users will simultaneously use this application.
I would like to know if there is any standard way of knowing how many JCo connections are being used up at any point of time and how many are free? If we can get these details, maybe we can make some appropriate changes in the JCo Destination parameters so that users do not face this issue.
Regards,
Saurabh
Edited by: Saurabh Vakil on Jan 20, 2012 9:28 AM
Hi,
You can use the JCO.Pool.getCurrentPoolSize() method to retrieve the number of active connections.
See also http://help.sap.com/javadocs/NW04S/SPS09/jc/com/sap/mw/jco/JCO.Pool.html
Cheers,
Robin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, yeah, why not smth like:
String pool_name = <SEE_How_are_JCo_Pools_Named_SECTION>;
JCO.Pool pool = JCO.PoolManager.singleton() .getPool(pool_name) ;
Check http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/705f2b2e-e77d-2b10-de8a-95f37f4c7... -> page 25
Understanding JCo Pools at Runtime 2/5: How are JCo Pools Named?
Dear Saurabh,
Please refer to [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3103eb90-0201-0010-71af-be6f4a6f61d1?QuickLink=index&overridelayout=true|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3103eb90-0201-0010-71af-be6f4a6f61d1?QuickLink=index&overridelayout=true
Hope it will helps.
Best Regards,
Arun Jaiswal
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.