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]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web5

  • 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]
  • Solr server is still not running after calling start command for instance: [name: default, port: 8983]
  • Error while executing Solr start command for instance: [name: defa ult, port: 8983]
  • Stack trace

    • 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] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) at de.hybris.platform.core.HybrisContextFactory.refreshContext(HybrisContextFactory.java:98) at de.hybris.platform.core.HybrisContextFactory$GlobalContextFactory.build(HybrisContextFactory.java:176) at de.hybris.platform.core.HybrisContextHolder.getGlobalInstanceCached(HybrisContextHolder.java:134) at de.hybris.platform.core.HybrisContextHolder.getGlobalInstance(HybrisContextHolder.java:113) at de.hybris.platform.core.Registry.getSingletonGlobalApplicationContext(Registry.java:1059) at de.hybris.platform.cache.impl.RegionCacheAdapter.getController(RegionCacheAdapter.java:76) at de.hybris.platform.cache.impl.RegionCacheAdapter.getOrAddUnit(RegionCacheAdapter.java:206) at de.hybris.platform.cache.AbstractCacheUnit.get(AbstractCacheUnit.java:180) at de.hybris.platform.persistence.type.ComposedType_HJMPWrapper$FindAll0FinderResult.getFinderResult(ComposedType_HJMPWrapper.java:1815) at de.hybris.platform.persistence.type.ComposedType_HJMPWrapper.ejbFindAll(ComposedType_HJMPWrapper.java:1870) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at de.hybris.platform.util.Utilities.callMethod(Utilities.java:1069) at de.hybris.platform.util.Utilities.callMethod(Utilities.java:1059) at de.hybris.platform.persistence.framework.HomeInvocationHandler.invoke(HomeInvocationHandler.java:93) at com.sun.proxy.$Proxy5.findAll(Unknown Source) at de.hybris.platform.persistence.type.TypeManagerEJB.getAllItemTypes(TypeManagerEJB.java:177) at de.hybris.platform.persistence.property.DBPersistenceManager.loadAllTypes(DBPersistenceManager.java:631) at de.hybris.platform.persistence.property.DBPersistenceManager.loadPersistenceInfosInternalInTX(DBPersistenceManager.java:614) at de.hybris.platform.persistence.property.DBPersistenceManager.loadPersistenceInfosSafe(DBPersistenceManager.java:569) at de.hybris.platform.persistence.property.DBPersistenceManager.loadPersistenceInfos(DBPersistenceManager.java:539) at de.hybris.platform.core.AbstractTenant.doStartupSafe(AbstractTenant.java:712) at de.hybris.platform.core.AbstractTenant.doStartUp(AbstractTenant.java:658) at de.hybris.platform.core.Registry.assureTenantStarted(Registry.java:639) at de.hybris.platform.core.Registry.activateTenant(Registry.java:700) at de.hybris.platform.core.Registry.setCurrentTenant(Registry.java:544) at de.hybris.platform.core.Registry.activateMasterTenant(Registry.java:607) at de.hybris.platform.core.Registry.startup(Registry.java:422) at de.hybris.platform.spring.HybrisContextLoaderListener.startRegistry(HybrisContextLoaderListener.java:237) at de.hybris.platform.spring.HybrisContextLoaderListener.doInitWebApplicationContext(HybrisContextLoaderListener.java:135) at de.hybris.platform.spring.HybrisContextLoaderListener.initWebApplicationContext(HybrisContextLoaderListener.java:125) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) at de.hybris.platform.spring.HybrisContextLoaderListener.contextInitialized(HybrisContextLoaderListener.java:80) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5524) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: de.hybris.platform.solrserver.SolrServerException: Detected different Solr server running on the same port for instance: [name: default, port: 8983] at de.hybris.platform.solrserver.impl.AbstractSolrServerController.start(AbstractSolrServerController.java:84) at de.hybris.platform.solrserver.impl.DefaultSolrServerService.startServer(DefaultSolrServerService.java:107) at de.hybris.platform.solrserver.impl.DefaultSolrServerService.startServers(DefaultSolrServerService.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.