on 05-29-2009 11:40 AM
Hi Experts,
I am using SAP JCo3 version to connect SAP from remote Java application.I have created connection pool with JcoDestination.
I want to know how to release a Jcodestination (pool instance)once its finishes with the functionalities so that connection pool can be managed properly.
Thanks In advance.
Hi,
I think we dont need to close the connection. Anyway we define Connection Timeout(ms) while JCO Destionations configurations. I guess that is enough.
Size
Currently used
Maximum used
Max.connections
Max.pool size
Connection Timeout(ms)
Max. wait time(ms)
Timeout Check Period(ms)
See the information about connection closing in below link:
Regards,
Charan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I think you are connecting to R/3 using JCO in norma java class through JCO destinations. I dont have solution to close the connections in this case.
But If you are using Adaptive RFC Models to connect to R/3 throug JCO destinations. The below code helps to close the connection if alive.
testModelInst = (TestModel) WDModelFactory.getModelInstance(TestModel.class);
testModelInst.disconnectIfAlive();
Regards,
Charan
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.