org.springframework.beans.factory.BeanCreationException: 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] INFO | jvm 1 |orm.core.Registry.startup(Registry.java:422)

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards 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.factory.BeanCreationException: 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] INFO | jvm 1 |orm.core.Registry.startup(Registry.java:422)
  2. 0

    when i start up server , getting an Error , Detected different Solr server running on the same port for instance: [name: default, port: 8983]

    Stack Overflow | 7 months ago | Tarun Sharma
    de.hybris.platform.solrserver.SolrServerException: Detected different Solr server running on the same port for instance: [name: default, port: 8983] WARN [localhost-startStop-1] [CloseAwareApplicationContext] Exception encountered during context initialization - cancelling refresh attempt org.springframework.beans.factory.BeanCreationException: 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: Detected different Solr server running on the same port for instance: [name: default, port: 8983]

    Root Cause Analysis

    1. 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.solrserver.impl.AbstractSolrServerController.retryGetStatusUntilConditionIsTrue()
    2. de.hybris.platform
      DefaultSolrServerService.startServers
      1. de.hybris.platform.solrserver.impl.AbstractSolrServerController.retryGetStatusUntilConditionIsTrue(AbstractSolrServerController.java:378)
      2. de.hybris.platform.solrserver.impl.AbstractSolrServerController.ensureToStartSolr(AbstractSolrServerController.java:122)
      3. de.hybris.platform.solrserver.impl.AbstractSolrServerController.start(AbstractSolrServerController.java:99)
      4. de.hybris.platform.solrserver.impl.DefaultSolrServerService.startServer(DefaultSolrServerService.java:107)
      5. de.hybris.platform.solrserver.impl.DefaultSolrServerService.startServers(DefaultSolrServerService.java:132)
      5 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. Spring Beans
      AbstractAutowireCapableBeanFactory.initializeBean
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1702)
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1641)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570)
      3 frames
    5. de.hybris.platform
      HybrisContextLoaderListener.initWebApplicationContext
      1. de.hybris.platform.spring.HybrisContextLoaderListener.startRegistry(HybrisContextLoaderListener.java:237)
      2. de.hybris.platform.spring.HybrisContextLoaderListener.doInitWebApplicationContext(HybrisContextLoaderListener.java:135)
      3. de.hybris.platform.spring.HybrisContextLoaderListener.initWebApplicationContext(HybrisContextLoaderListener.java:125)
      3 frames
    6. Spring
      ContextLoaderListener.contextInitialized
      1. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
      1 frame
    7. de.hybris.platform
      HybrisContextLoaderListener.contextInitialized
      1. de.hybris.platform.spring.HybrisContextLoaderListener.contextInitialized(HybrisContextLoaderListener.java:80)
      1 frame
    8. Glassfish Core
      ContainerBase$StartChild.call
      1. org.apache.catalina.core.StandardContext.null(Unknown Source)
      2. org.apache.catalina.core.StandardContext.null(Unknown Source)
      3. org.apache.catalina.util.LifecycleBase.null(Unknown Source)
      4. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
      5. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
      5 frames
    9. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames