Skip to Content
avatar image
Former Member

Disconnect JCO Connection


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:


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,


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Aug 20, 2007 at 12:07 PM


    Check this URL

    Actually The Connection will be Terminated when it is inactive for particular time

    Jco" target="_blank">">Jco Connection Pools


    Chandran S

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thats true.

      But in our case its taking more than 1 min.

      But w/o Adaptive RFC, its getting connected and disconnected instantly.

      Please Help!!!