cancel
Showing results for 
Search instead for 
Did you mean: 

Is VCS aware of multi-threaded pool connections when closing pooled resources?

karl_harris_
Star Collaborator
Star Collaborator

New question as a continuation of this question.

Error is:

11936 2012-05-16 09:59:58,397 ERROR [org.hibernate.util.JDBCExceptionReporter] Cannot get a connection, pool error Timeout waiting for idle object

I did a bit of research and found (this) tutorial on connection pool leaks within TomCat.

If you look at the section entitled: Common Problems in the above link you will see a suggested way to return (close) pooled db connections.

My Question is does VCS use a similar techniques to prevent pool exhaustion/leaks from multi-threaded processes when multiple documents are created within a short period (seconds) of time in the same folderish document? Also, I do not see, in the TOMCAT db resource configuration file, that nuxeo (VCS) uses removeAbandoned="true" to clean up abandoned connections. I'm I missing something?

1 REPLY 1

karl_harris_
Star Collaborator
Star Collaborator

I noticed the following error in the log

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.