on 08-20-2007 12:21 PM
Hi,
In WebdynPro Application without using Adaptive RFC, we are able to disconnect a connection after few seconds as we using disconnect() method for that.
But for a WebdynPro Application using Adaptive RFC, we are not able to disconnect a connection as fast as we were able to do in first case.
We are using following to disconnect:
wdContext.currentInputElement().modelObject().modelInstance().disconnectIfAlive();
In SM04 transaction, we observed that the connection(Adaptive RFC) is taking more time to close than it is taking for without Adaptive RFC WD application. The connection still exists even the memory utilized becomes 0 MB.
Also, when we are not disconnecting in Adaptive RFC WD application, then memory is utilized as long as connection exists. But, when we are disconnecting the connection, the memory utilized is 0 MB though the connection still exists.
While creating the JCo connection for metadata and modeldata we gave:
Max pool size : 5
Max connection: 1000
Connection Timout (msec.) : 1000
Maximum Waiting Time (msec.): 5000
Can anybody suggest how to disconnect the connection to overcome above problem?
Thanks and Regards,
Vaibhav
Hi
Check this URL
Actually The Connection will be Terminated when it is inactive for particular time
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/85a483cb-0d01-0010-2990-c5168f01ce8a">Jco Connection Pools</a>
Regards
Chandran S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.