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
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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
      ComposedType_HJMPWrapper.ejbFindByCodeExact
      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.removeUnit(RegionCacheAdapter.java:259)
      9. de.hybris.platform.cache.AbstractCacheUnit.get(AbstractCacheUnit.java:199)
      10. de.hybris.platform.persistence.type.ComposedType_HJMPWrapper$FindByCodeExact1FinderResult.getFinderResult(ComposedType_HJMPWrapper.java:1811)
      11. de.hybris.platform.persistence.type.ComposedType_HJMPWrapper.ejbFindByCodeExact(ComposedType_HJMPWrapper.java:1870)
      11 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    4. de.hybris.platform
      HomeInvocationHandler.invoke
      1. de.hybris.platform.util.Utilities.callMethod(Utilities.java:1069)
      2. de.hybris.platform.util.Utilities.callMethod(Utilities.java:1059)
      3. de.hybris.platform.persistence.framework.HomeInvocationHandler.invoke(HomeInvocationHandler.java:93)
      3 frames
    5. com.sun.proxy
      $Proxy17.findByCodeExact
      1. com.sun.proxy.$Proxy17.findByCodeExact(Unknown Source)
      1 frame
    6. de.hybris.platform
      AbstractTenant.migrateCoreTypes
      1. de.hybris.platform.persistence.type.TypeManagerEJB.findByCodeExact(TypeManagerEJB.java:271)
      2. de.hybris.platform.persistence.type.TypeManagerEJB.getComposedType(TypeManagerEJB.java:459)
      3. de.hybris.platform.util.migration.DeploymentMigrationUtil.migrateSelectedDeployments(DeploymentMigrationUtil.java:458)
      4. de.hybris.platform.core.AbstractTenant.migrateCoreTypes(AbstractTenant.java:910)
      4 frames