2.1.3. JDBC data container configuration Isolated-database configuration Single-database configuration Multi-database configuration

The current configuration of JCR uses Apache DBCP connection pool. (org.apache.commons.dbcp.BasicDataSourceFactory). It is possible to set a big value for maxActive parameter in configuration.xml. That means lots of TCP/IP ports from a client machine inside the pool are used, such as JDBC driver. As the result, the data container can throw exceptions like "Address already in use". To solve this problem, you have to configure the client's machine networking software for using shorter timeouts for opened TCP/IP ports.

Microsoft Windows has MaxUserPort, TcpTimedWaitDelay registry keys in the node HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParameters, by default these keys are unset. Set each one with values as follows:

A sample registry file is below:

Windows Registry Editor Version 5.00

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus