Hi Team,
We have written a custom web application using DFC code for viewing/uploading/downloading documents. During these activities, the listing of documents, viewing/uploading/downloading the document we are creating sessions  and post completion, releasing at every step.
We are also done the session pooling setting in dfc.properties file.
dfc.session.pool.enable=true
dfc.session.pool.mode=level2
But we are getting the errors below.
- Error during the session release:-
 Session is not owned by this session manager
 java.lang.IllegalArgumentException: Session is not owned by this session manager
 at com.documentum.fc.client.impl.session.SessionManager.release(SessionManager.java:207)
- DfServiceException:: THREAD: http-nio-8080-exec-56; MSG: [DM_API_E_NO_SESSION]error:  "There are no more available sessions."; ERRORCODE: 100; NEXT: null
 at com.documentum.fc.client.impl.connection.docbase.DocbaseConnectionManager.getConnectionFromPool(DocbaseConnectionManager.java:168)
Note:- We have not set the dfc.session.max_count in client custom application.
How to fix these errors? Kindly suggest.