web-dev-qa-db-ja.com

Solrサーバーが原因でHybrisTomcatサーバーを起動できません

SOLRサーバーの起動に問題があるため、Hybrisサーバーを起動できません。

Hybris Tomcatサーバーを起動できるように、この点で私を助けてください。

エラーログ:

INFO  [localhost-startStop-1] [DefaultSolrServerService] Starting Solr server for instance: [name: default, port: 8983]
Waiting up to 30 seconds to see Solr running on port 8983 [/]
Started Solr server on port 8983 (pid=8405). Happy searching!
.
.
.
INFO  [localhost-startStop-1] [AbstractSolrServerController] Solr server not yet started for instance: [name: default, port: 8983] [retry: 7, interval: 5000ms]

INFO: (Enh120375):  AspectJ attempting reweave of 'org/tanukisoftware/wrapper/WrapperSimpleApp'
INFO: (Enh120375):  AspectJ attempting reweave of 'org/Apache/catalina/startup/Catalina'
INFO: (Enh120375):  AspectJ attempting reweave of 'org/tanukisoftware/wrapper/WrapperManager'
INFO: (Enh120375):  AspectJ attempting reweave of 'org/Apache/catalina/util/LifecycleBase'
INFO: (Enh120375):  AspectJ attempting reweave of 'org/Apache/catalina/core/StandardContext'
.
.
INFO  [localhost-startStop-1] [AbstractSolrServerController] Solr server not yet started for instance: [name: default, port: 8983] [retry: 10, interval: 5000ms]

ERROR [localhost-startStop-1] [AbstractSolrServerController] Solr server is still not running after calling start command for instance: [name: default, port: 8983]
ERROR [localhost-startStop-1] [DefaultSolrServerService] de.hybris.platform.solrserver.SolrServerException: Solr server is still not running after calling start command 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]: InvINFO   | jvm 1    | main    | 2016/08/16 14:14:10.627 | ERROR [localhost-startStop-1] [AbstractSolrServerController] Solr server is still not running after calling start command for instance: [name: default, port: 8983]

INFO   | jvm 1    | main    | 2016/08/16 14:14:10.627 | ERROR [localhost-startStop-1] [DefaultSolrServerService] de.hybris.platform.solrserver.SolrServerException: Solr server is still not running after calling start command for instance: [name: default, port: 8983]
INFO   | jvm 1    | main    | 2016/08/16 14:14:10.627 | WARN  [localhost-startStop-1] [CloseAwareApplicationContext] Exception encountered during context initialization - cancelling refresh attempt
INFO   | jvm 1    | main    | 2016/08/16 14:14:10.627 | 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    | main    | 2016/08/16 14:14:10.627 |         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.Java:1574)
INFO   | jvm 1    | main    | 2016/08/16 14:14:10.627 |         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.Java:539)
INFO   | jvm 1    | main    | 2016/08/16 14:14:10.627 |         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.Java:476)
INFO   | jvm 1    | main    | 2016/08/16 14:14:10.627 |         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.Java:303)
INFO   | jvm 1    | main    | 2016/08/16 14:14:10.627 |         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.Java:230)
INFO   | jvm 1    | main    | 2016/08/16 14:14:10.627 |         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.Java:299)
INFO   | jvm 1    | main    | 2016/08/16 14:14:10.627 |         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.Java:194)
INFO   | jvm 1    | main    | 2016/08/16 14:14:10.627 |         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.Java:755)
INFO   | jvm 1    | main    | 2016/08/16 14:14:10.627 |         at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.Java:757)
INFO   | jvm 1    | main    | 2016/08/16 14:14:10.627 |         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.Java:480)
INFO   | jvm 1    | main    | 2016/08/16 14:14:10.627 |         at de.hybris.platform.core.HybrisContextFactory.refreshContext(HybrisContextFactory.Java:98)
INFO   | jvm 1    | main    | 2016/08/16 14:14:10.627 |         at de.hybris.platform.core.HybrisContextFactory$GlobalContextFactory.build(HybrisContextFactory.Java:176)
INFO   | jvm 1    | main    | 2016/08/16 14:14:10.627 |         at de.hybris.platform.core.HybrisContextHolder.getGlobalInstanceCached(HybrisContextHolder.Java:134)
INFO   | jvm 1    | main    | 2016/08/16 14:14:10.627 |         at de.hybris.platform.core.HybrisContextHolder.getGlobalInstance(HybrisContextHolder.Java:113)
INFO   | jvm 1    | main    | 2016/08/16 14:14:10.627 |         at de.hybris.platform.core.Registry.getSingletonGlobalApplicationContext(Registry.Java:1059)
INFO   | jvm 1    | main    | 2016/08/16 14:14:10.627 |         at de.hybris.platform.cache.impl.RegionCacheAdapter.getController(RegionCacheAdapter.Java:76)
INFO   | jvm 1    | main    | 2016/08/16 14:14:10.627 |         at de.hybris.platform.cache.impl.RegionCacheAdapter.getOrAddUnit(RegionCacheAdapter.Java:206)
INFO   | jvm 1    | main    | 2016/08/16 14:14:10.627 |         atocation 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 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.Java:1574)
.
.
.
        at de.hybris.platform.core.Registry.setCurrentTenant(Registry.Java:544)
        at de.hybris.platform.core.Registry.activateMasterTenant(Registry.Java:607)
        at de.hybris.platf de.hybris.platform.cache.AbstractCacheUnit.get(AbstractCacheUnit.Java:180)

INFO   | jvm 1    | main    | 2016/08/16 14:14:10.628 | WARN  [localhost-startStop-1] [CloseAwareApplicationContext] Exception encountered during context initialization - cancelling refresh attempt
INFO   | jvm 1    | main    | 2016/08/16 14:14:10.628 | 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)
        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.null(Unknown Source)
        at org.Apache.catalina.core.StandardContext.null(Unknown Source)
        at org.Apache.catalina.util.LifecycleBase.null(Unknown Source)
        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: Solr server is still not running after calling start command for instance: [name: default, port: 8983]
        at de.hybris.platform.solrserver.impl.AbstractSolrServerController.retryGetStatusUntilConditionIsTrue(AbstractSolrServerController.Java:378)
        at de.hybris.platform.solrserver.impl.AbstractSolrServerController.ensureToStartSolr(AbstractSolrServerController.Java:122)
        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(NativeMethodAccessorImpl.Java:62)
        at Sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.Java:43)
        at Java.lang.reflect.Method.invoke(Method.Java:497)
        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

.
.
.
INFO   | jvm 1    | main    t.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 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] [DeploymentMigrationUtil] Error while migrating deployments of extension core
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(HybrisContextFactory.Java:317)
        at de.hybris.platform.core.HybrisContextFactory$GlobalContextFactory.buildSelf(HybrisContextFactory.Java:189)
        at de.hybris.platform.core.HybrisContextFactory$GlobalContextFactory.build(HybrisContextFactory.Java:175)
        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.removeUnit(RegionCacheAdapter.Java:259)
        at de.hybris.platform.cache.AbstractCacheUnit.get(AbstractCacheUnit.Java:199)
        at de.hybris.platform.persistence.type.ComposedType_HJMPWrapper$FindByCodeExact1FinderResult.getFinderResult(ComposedType_HJMPWrapper.Java:1811)
        at de.hybris.platform.persistence.type.ComposedType_HJMPWrapper.ejbFindByCodeExact(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.$Proxy17.findByCodeExact(Unknown Source)
        at de.hybris.platform.persistence.type.TypeManagerEJB.findByCodeExact(TypeManagerEJB.Java:271)
        at de.hybris.platform.persistence.type.TypeManagerEJB.getComposedType(TypeManagerEJB.Java:459)
        at de.hybris.platform.util.migration.DeploymentMigrationUtil.migrateSelectedDeployments(DeploymentMigrationUtil.Java:458)
        at de.hybris.platform.core.AbstractTenant.migrateCoreTypes(AbstractTenant.Java:910)
        at de.hybris.platform.core.Abst| 2016/08/16 14:14:11.231 |      at de.hybris.platform.persistence.type.ComposedType_HJMPWrapper$FindByCodeExact1FinderResult.getFinderResult(ComposedType_HJMPWrapper.Java:1811)
.
.
.
Caused by: 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 cINFO   | jvm 1    | main    | 2016/08/16 14:14:11.732 | INFO  [localhost-startStop-1] [HybrisContextFactory] Initializing <<global>> Spring ApplicationContext took: (34.50 μs)
INFO   | jvm 1    | main    | 2016/08/16 14:14:11.732 | de.hybris.platform.core.UninstantiableCoreApplicationContextException: Error creating Spring application context.

INFO   | jvm 1    | main    | 2016/08/16 14:14:11.733 | Caused by: 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]
INFO   | jvm 1    | main    | 2016/08/16 14:14:11.733 | Error creating Spring application context. Shutting down hybris platform since the system cannot be used without working Spring context...
INFO   | jvm 1    | main    | 2016/08/16 14:14:11.733 | shutting down hybris registry..
INFO   | jvm 1    | main    | 2016/08/16 14:14:11.733 | INFO  [Thread-2] [HybrisContextFactory] Initializing <<global>> Spring ApplicationContext took: (44.32 μs)
INFO   | jvm 1    | main    | 2016/08/16 14:14:11.733 | ERROR [Thread-2] [JMXBeanLoader] Can't unregister jmxbeans on shutdown of the tenant <<master>>
INFO   | jvm 1    | main    | 2016/08/16 14:14:11.733 | 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]
.
.
.
INFO   | jvm 1    | main    | 2016/08/16 14:14:11.733 |         at de.hybommand for instance: [name: default, port: 8983]
        at de.hybris.platform.core.HybrisContextFactory.build(HybrisContextFactory.Java:317)
        at de.hybris.platform.core.HybrisContextFactory$GlobalContextFactory.buildSelf(HybrisContextFactory.Java:189)
        at de.hybris.platform.core.HybrisContextFactory$GlobalContextFactory.build(HybrisContextFactory.Java:175)
        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.HybrisContextHolder.getAppCtxFactory(HybrisContextHolder.Java:164)
        at de.hybris.platform.core.HybrisContextHolder.getApplicationInstance(HybrisContextHolder.Java:90)
        at de.hybris.platform.core.AbstractTenant.createCoreApplicationContext(AbstractTenant.Java:686)
        at de.hybris.platform.core.AbstractTenant.doStartupSafe(AbstractTenant.Java:724)
        ... 20 more
Error creating Spring application context. Shutting down hybris platform since the system cannot be used without working Spring context...
shutting down hybris registry..
INFO  [Thread-2] [HybrisContextFactory] Initializing <<global>> Spring ApplicationContext took: (44.32 μs)
ERROR [Thread-2] [JMXBeanLoader] Can't unregister jmxbeans on shutdown of the tenant <<master>>
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(HybrisContextFactory.Java:317)
        at de.hybris.platform.core.HybrisContextFactory$GlobalContextFactory.buildSelf(HybrisContextFactory.Java:189)
        at de.hybris.platform.core.HybrisContextFactory$GlobalContextFactory.build(HybrisContextFactory.Java:175)
        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.core.JMXBeanLoader.getMBeanRegistry(JMXBeanLoader.Java:155)
        at de.hybris.platform.core.JMXBeanLoader.beforeTenantShutDown(JMXBeanLoader.Java:116)
        at de.hybris.platform.core.AbstractTenant.notifyTenantListenersBeforeShutdown(AbstractTenant.Java:1236)
        at de.hybris.platform.core.AbstractTenant.doShutdown(AbstractTenant.Java:987)
        at de.hybris.platform.core.AbstractTenant.doShutDown(AbstractTenant.Java:948)
        at de.hybris.platform.core.Registry.destroy(Registry.Java:309)
        at de.hybris.platform.util.RedeployUtilities.shutdown(RedeployUtilities.Java:74)
        at de.hybris.platform.util.RedeployUtilities$1.run(RedeployUtilities.Java:38)
INFO  [Thread-2] [HybrisContextFactory] Initializing <<global>> Spring ApplicationContext took: (61.35 μs)
ERROR [Thread-2] [RegionCacheAdapter] Unable to clear cache. Failed on region null. Last key null null
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(HybrisContextFactory.Java:317)
        at de.hybris.platform.core.HybrisContextFactory$GlobalContextFactory.buildSelf(HybrisContextFactory.Java:189)
        at de.hybris.platform.core.HybrisContextFactory$GlobalContextFactory.build(HybrisContextFactory.Java:175)
        at de.hybris.platform.core.HybrisContextHolder.getGlobalInstanceCached(ris.platform.util.RedeployUtilities.shutdown(RedeployUtilities.Java:74)
INFO   | jvm 1    | main    | 2016/08/16 14:14:11.733 |         at de.hybris.platform.util.RedeployUtilities$1.run(RedeployUtilities.Java:38)
INFO   | jvm 1    | main    | 2016/08/16 14:14:12.035 | INFO  [Thread-2] [HybrisContextFactory] Initializing <<global>> Spring ApplicationContext took: (61.35 μs)
INFO   | jvm 1    | main    | 2016/08/16 14:14:12.035 | ERROR [Thread-2] [RegionCacheAdapter] Unable to clear cache. Failed on region null. Last key null null
INFO   | jvm 1    | main    | 2016/08/16 14:14:12.035 | 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]
.
.
INFO   | jvm 1    | main    |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.clear(RegionCacheAdapter.Java:288)
        at de.hybris.platform.core.AbstractTenant.shutdownCache(AbstractTenant.Java:1061)
        at de.hybris.platform.core.AbstractTenant.doShutdown(AbstractTenant.Java:1003)
        at de.hybris.platform.core.AbstractTenant.doShutDown(AbstractTenant.Java:948)
        at de.hybris.platform.core.Registry.destroy(Registry.Java:309)
        at de.hybris.platform.util.RedeployUtilities.shutdown(RedeployUtilities.Java:74)
        at de.hybris.platform.util.RedeployUtilities$1.run(RedeployUtilities.Java:38)
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(HybrisContextFactory.Java:317)
        at de.hybris.platform.core.HybrisContextFactory$GlobalContextFactory.buildSelf(HybrisContextFactory.Java:189)
        at de.hybris.platform.core.HybrisContextFactory$GlobalContextFactory.build(HybrisContextFactory.Java:175)
        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.clear(RegionCacheAdapter.Java:288)
        at de.hybris.platform.core.AbstractTenant.shutdownCache(AbstractTenant.Java:1061)
        at de.hybris.platform.core.AbstractTenant.doShutdown(AbstractTenant.Java:1003)
        at de.hybris.platform.core.AbstractTenant.doShutDown(AbstractTenant.Java:948)
        at de.hybris.platform.core.Registry.destroy(Registry.Java:309)
        at de.hybris.platform.util.RedeployUtilities.shutdown(RedeployUtilities.Java:74)
        at de.hybris.platform.util.RedeployUtilities$1.run(RedeployUtilities.Java:38)
INFO  [Thread-2] [HybrisContextFactory] Initializing <<global>> Spring ApplicationContext took: (21.21 μs)
ERROR [Thread-2] [RegionCacheAdapter] Unable to clear cache. Failed on region null. Last key null null
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(HybrisContextFactory.Java:317)
        at de.hybris.platform.core.HybrisContextFactory$GlobalContextFactory.buildSelf(HybrisContextFactory.Java:189)
        at de.hybris.platform.core.HybrisContextFactory$GlobalContextFactory.build(HybrisContextFactory.Java:175)
        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.clear(RegionCacheAdapter.Java:288)
        at de.hybris.platform.cache.impl.RegionCacheAdapter.destroy(Region 2016/08/16 14:14:12.036 |    at de.hybris.platform.core.HybrisContextHolder.getGlobalInstanceCached(HybrisContextHolder.Java:134)
.
.
.
INFO   | jvm 1    | main    | 2016/08/16 14:14:12.537 |
STATUS | wrapper  | main    | 2016/08/16 14:14:14.169 | <-- Wrapper Stopped
6

これをlocal.propertiesファイルに追加してみてください。これにより、Tomcatサーバーで起動できなくなります。

solrserver.instances.default.autostart=false

または、localextensions.xmlのsolrfacetsearchにコメントする別の解決策。

6
Hristo Staykov

Hybris v5.5以降、Solrはスタンドアロンサーバーとして提供されます。コマンドプロンプトからctrl + cでhybrisサーバーをハード停止すると、hybrisサーバーはsolrサーバーに信号を送信して停止します。このハードストップが原因で、hybrisサーバーからsolrサーバーに信号が送信されない場合があります。その結果、ハング状態になります。ここで、hybrisサーバーを再起動すると、(すでに)開始されたsolrサーバーは、hybrisサーバーがsolrと通信するために必要な(bean)サービスをインスタンス化/登録できないため、hybrisサーバーはシグナルを返しません。 (solr)サービスがsolrコンテキストで初期化されていること。

ポート(デフォルトは8983)でサーバーのプロセスリストをチェックインすると、solrサーバーが実行されていることがわかります(実際には非応答モードで)

これを回避するには、ant clean allを実行して、再試行してください。サーバーを正常に再起動できます

お役に立てれば!

4
Vikrant

solrserver.instances.default.autostart=falseファイルにhybris\config\local.propertiesを追加しようとしましたが、hybrisサーバーを起動できましたが、検索機能が機能せず、製品がBackOfficeとStoreFrontに表示されませんでした。

有効な解決策は、hybrisサーバーを起動する前に、ターミナルのant stopSolrServerディレクトリでhybris\bin\platformコマンドを実行することでした。検索機能は引き続き機能し、製品は正しく表示されます。

2
AjayCodes

私の詳細な答えに行きたくない場合は、local.propertiesファイルに以下を追加するだけで...

solrserver.failOnError=false
solrserver.instances.default.autostart=false

問題を解決するためのトラブルシューティング手順

OOTB(post hybris v5.5)のデフォルトのsolr構成により、スタンドアロンのSolrサーバーがプラットフォームとともに構成、開始、および停止されます。

ctr + cを使用すると、solrインスタンスが適切に停止しないと、このようなエラーが発生する場合があります。


1。 Hybrisサーバーを停止して再起動します-今回はhybrisがsolrインスタンスを適切に停止したため、これによりほとんどの場合問題が解決します。

2。 Solrサーバーを手動で停止します-以下のantコマンドを実行するか、そのプロセスを見つけて強制終了します。

ant stopSolrServer

3。 Solrサーバーエラーをスキップする-現在のタスクでSolrを本当に気にしない場合は、プロパティの下に追加するだけです。これにより、Solrサーバーの起動でエラーが発生した場合でも、Hybrisサーバーを起動できます。

solrserver.failOnError=false

4。スタンドアロンのSolrサーバーをセットアップします-Hybrisサーバーとは独立して起動/停止できます。参照 スタンドアロンのSolrサーバーをセットアップするにはこれ

solrserver.instances.default.autostart=false

5。ポートを変更して再起動してみてください

6。 Solrログを確認してください-それでも、根本原因を取得することはできません。${HYBRIS_BIN}/ext-commerce/solrserver/resources/solr/server/logsを確認して、詳細を探してください。


詳細な投稿はこちら を見つけてください

2
HybrisHelp

ビルド中に同じ問題が発生することもありますが、解決策は次のとおりです。

  • すべてのJavaプロセスを強制終了します。
  • {HYBRIS-DIR}\hybris\config\solr\instances\defaultに移動します。
  • デフォルトの構成に他の構成ファイルが含まれていないかどうかを確認してください。その場合は、フォルダーも削除します。solrインスタンスを担当するant-taskは、フォルダーが存在することのみを確認し、コンテンツは確認しません。デフォルト設定のフォルダがない場合は、再度コピーします。
  • hybrisを再起動します。
0
Juan BC

Hybris 6.7が埋め込まれたsolrを使用している場合、solrログ(@ "hybris\log\solr\instances\default\solr.log")を確認し、solrの問題を修正しました。その後、HybrisServerを正常に起動しました。したがって、トラブルシューティングの正しい方法は、最初にログをチェックしてSOLRの起動が失敗する理由を確認することです。

私も以前にこの問題を経験し、8983で実行されている応答しないsolrプロセスを強制終了することで解決しました。Vikrantも述べたように、特定のプロセスを確認して終了することができます。お役に立てれば。

0

私の場合、異なるハイブリッドコピー用に2つのコマンドラインが開かれていました。それらの1つを閉じた後、サーバーは正常に起動しました。それはsolrプロセスを殺しました...これが誰かを助けることを願っています

0
Dron4K