Skip to Content
0
Jan 12, 2018 at 02:46 PM

[Registry] cannot activate tenant <> since its database connection is currently lost

896 Views

Hi All,

we had observed below errors in our server log: 2018-01-12 04:22:56,150 INFO () () [JDBCConnectionFactory] Error while destroying connection XXXX : No more data to read from socket INFO | jvm 1 | main | 2018/01/12 04:22:56.213 | 2018-01-12 04:22:56,151 INFO () () [JDBCConnectionFactory] Error while destroying connection XXXX: No more data to read from socket INFO | jvm 1 | main | 2018/01/12 04:22:56.213 | 2018-01-12 04:22:56,182 ERROR () () [Registry] cannot activate tenant <> since its database connection is currently lost INFO | jvm 1 | main | 2018/01/12 04:22:56.213 | Jan 12, 2018 4:22:56 AM org.apache.catalina.core.StandardWrapperValve invoke INFO | jvm 1 | main | 2018/01/12 04:22:56.213 | SEVERE: Servlet.service() for servlet [DispatcherServlet] in context with path [] threw exception INFO | jvm 1 | main | 2018/01/12 04:22:56.213 | java.lang.IllegalStateException: could not switch tenant to <> INFO | jvm 1 | main | 2018/01/12 04:22:56.213 | at de.hybris.platform.core.Registry.activateTenant(Registry.java:711) INFO | jvm 1 | main | 2018/01/12 04:22:56.213 | at de.hybris.platform.core.Registry.setCurrentTenant(Registry.java:553) INFO | jvm 1 | main | 2018/01/12 04:22:56.213 | at de.hybris.platform.core.Registry.setCurrentTenantByID(Registry.java:685) INFO | jvm 1 | main | 2018/01/12 04:22:56.213 | at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain.activateTenantFromContext(AbstractPlatformFilterChain.java:177) INFO | jvm 1 | main | 2018/01/12 04:22:56.213 | at


we have 3 nodes, each node has db.pool.maxActive=90, means 270 database connections.

also referred note https://launchpad.support.sap.com/#/notes/0002441284

question: can't we have more than 90 connections for single node?

Please help.