SAP Knowledge Base Article - Preview

2118457 - java.lang.IllegalStateException: tenant <> not yet started - got no active datasource

Symptom

  • Server is not responsive and needs a restart
  • Issue happens several times, on all the nodes.
  • Oracle database driver, ojdbc is used. And Oracle RAC load balancing with TAF (Transparent Application Failover) is configured in local.properties.
  • You can see in the logs the following error :

INFO | jvm 1 | main | 2014/09/16 18:20:28.864 | Sep 16, 2014 6:20:28 PM org.apache.catalina.core.StandardWrapperValve invoke

INFO | jvm 1 | main | 2014/09/16 18:20:28.864 | SEVERE: Servlet.service() for servlet DispatcherServlet threw exception

INFO | jvm 1 | main | 2014/09/16 18:20:28.864 | java.lang.IllegalStateException: tenant <> not yet started - got no active datasource

INFO | jvm 1 | main | 2014/09/16 18:20:28.864 | at de.hybris.platform.core.AbstractTenant.getMasterDataSource (AbstractTenant.java:1299)

INFO | jvm 1 | main | 2014/09/16 18:20:28.864 | at de.hybris.platform.core.AbstractTenant.cannotConnect (AbstractTenant.java:2159)

INFO | jvm 1 | main | 2014/09/16 18:20 :28.864 | at de.hybris.platform.core.Registry.assureTenantStarted(Registry.java:491)

INFO | jvm 1 | main | 2014/09/16 18:20:28.864 | at de.hybris.platform.core.Registry.activateTenant(Registry.java:542)

INFO | jvm 1 | main | 2014/09/16 18:20:28.864 | at de.hybris.platform.core.Registry.setCurrentTenant(Registry.java:378)

INFO | jvm 1 | main | 2014/09/16 18:20:28.864 | at de.hybris.platform.core.Registry.activateMasterTenant(Registry.java:454)

INFO | jvm 1 | main | 2014/09/16 18:20:28.864 | at de.hybris.platform.core.Registry.activateMasterTenantAndFailIfAlreadySet (Registry.java:442)

...


Read more...

Environment

hybris platform 4.8.14 - platform extension

Product

hybris Commerce Suite 4.8

Keywords

connection string, tenant, master tenant, datasource, Oracle RAC, load balancing, TAF, Transparent Application Failover, thin driver, failover, connection loss , KBA , CEC-COM-CPS-COR , SAP Commerce Core , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.