org.springframework.beans.FatalBeanException: Context hybris Global Context Factory couldn't be created correctly due to, Error creating bean with name 'defaultSolrServerService' defined in class path resource [global-solrserver-spring.xml]: Invocation of init method failed; nested exception is de.hybris.platform.solrserver.SolrServerException: Solr server is still not running after calling start command for instance: [name: default, port: 8983]

tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Unable to start Hybris Tomcat Server due to Solr Server

    Stack Overflow | 8 months ago | Ranit Chattopadhyay
    org.springframework.beans.FatalBeanException: Context hybris Global Context Factory couldn't be created correctly due to, Error creating bean with name 'defaultSolrServerService' defined in class path resource [global-solrserver-spring.xml]: Invocation of init method failed; nested exception is de.hybris.platform.solrserver.SolrServerException: Solr server is still not running after calling start command for instance: [name: default, port: 8983]

    Root Cause Analysis

    1. org.springframework.beans.FatalBeanException

      Context hybris Global Context Factory couldn't be created correctly due to, Error creating bean with name 'defaultSolrServerService' defined in class path resource [global-solrserver-spring.xml]: Invocation of init method failed; nested exception is de.hybris.platform.solrserver.SolrServerException: Solr server is still not running after calling start command for instance: [name: default, port: 8983]

      at de.hybris.platform.core.HybrisContextFactory.build()
    2. de.hybris.platform
      RegionCacheAdapter.clear
      1. de.hybris.platform.core.HybrisContextFactory.build(HybrisContextFactory.java:317)
      2. de.hybris.platform.core.HybrisContextFactory$GlobalContextFactory.buildSelf(HybrisContextFactory.java:189)
      3. de.hybris.platform.core.HybrisContextFactory$GlobalContextFactory.build(HybrisContextFactory.java:175)
      4. de.hybris.platform.core.HybrisContextHolder.getGlobalInstanceCached(HybrisContextHolder.java:134)
      5. de.hybris.platform.core.HybrisContextHolder.getGlobalInstance(HybrisContextHolder.java:113)
      6. de.hybris.platform.core.Registry.getSingletonGlobalApplicationContext(Registry.java:1059)
      7. de.hybris.platform.cache.impl.RegionCacheAdapter.getController(RegionCacheAdapter.java:76)
      8. de.hybris.platform.cache.impl.RegionCacheAdapter.clear(RegionCacheAdapter.java:288)
      8 frames