Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error connection using JCO.Client :null

Hi,

I have small doubt in JCO connection, can any one help me.

In WebDynpro application some time we are getting exception like Error connection using JCO.client : null.

Connection :200 we are maintained in JCO configuration.

If I call one RFC useing JCO it will created a session or connection to ECC server, because we are getting exception in server too many sessions to ECC server.

Write now we are not using any code to close the connection like.

SaveModel svModel = (SaveModel)WDModelFactory.getModelInstance(SaveModel.class); 
svModel.disconnectIfAlive(); 

If we use the above code it will close the connection or sessions.

Is it recommended to write the code in every RFC calls or in final block of all RFC calls ?

Regards,

Satya.

Not what you were looking for? View more on this topic or Ask a question