Skip to Content
2
Jun 16, 2016 at 08:28 AM

Error while executing Solr start command for instance: [name: default.8983

1281 Views

INFO [localhost-startStop-1] [DefaultSolrServerService] Starting Solr server for instance: [name: default, port: 8983] 'D:\hybris_practice\hybris' is not recognized as an internal or external command, operable program or batch file. ERROR [localhost-startStop-1] [DefaultSolrServerService] de.hybris.platform.solrserver.SolrServerException: Error while executing Solr start command for instance: [name: default, p ort: 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]: Inv ocation of init method failed; nested exception is de.hybris.platform.solrserver.SolrServerException: Error while executing Solr start command for instance: [name: default, port: 8 983] 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:1725) at de.hybris.platform.persistence.type.ComposedType_HJMPWrapper.ejbFindAll(ComposedType_HJMPWrapper.java:1780) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: de.hybris.platform.solrserver.SolrServerException: Error while executing Solr start command for instance: [name: default, port: 8983] at de.hybris.platform.solrserver.impl.AbstractSolrServerController.ensureToStartSolr(AbstractSolrServerController.java:112) at de.hybris.platform.solrserver.impl.AbstractSolrServerController.start(AbstractSolrServerController.java:99) 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(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1702) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1641) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570) ... 53 more 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]: Inv ocation of init method failed; nested exception is de.hybris.platform.solrserver.SolrServerException: Error while executing Solr start command for instance: [name: default, port: 8 983] 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:1725) at de.hybris.platform.persistence.type.ComposedType_HJMPWrapper.ejbFindAll(ComposedType_HJMPWrapper.java:1780) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: de.hybris.platform.solrserver.SolrServerException: Error while executing Solr start command for instance: [name: default, port: 8983] at de.hybris.platform.solrserver.impl.AbstractSolrServerController.ensureToStartSolr(AbstractSolrServerController.java:112) at de.hybris.platform.solrserver.impl.AbstractSolrServerController.start(AbstractSolrServerController.java:99) 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(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1702) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1641) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570) ... 53 more ERROR [localhost-startStop-1] [HybrisContextFactory] Error initializing global application context! org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultSolrServerService' defined in class path resource [global-solrserver-spring.xml]: Inv ocation of init method failed; nested exception is de.hybris.platform.solrserver.SolrServerException: Error while executing Solr start command for instance: [name: default, port: 8 983] 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:1725) at de.hybris.platform.persistence.type.ComposedType_HJMPWrapper.ejbFindAll(ComposedType_HJMPWrapper.java:1780) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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)