tomcat - 由于 Solr 服务器无法启动 Hybris Tomcat 服务器

标签 tomcat solr sap-commerce-cloud

由于 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

最佳答案

尝试将其添加到您的 local.properties 文件中。这应该会阻止它从您的 TomCat 服务器启动。

solrserver.instances.default.autostart=false

或者在 localextensions.xml 中注释 solrfacetsearch 的另一种解决方案。

关于tomcat - 由于 Solr 服务器无法启动 Hybris Tomcat 服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38976525/

相关文章:

java - 输入 : localhost:8080 or ip:8080 Centos7 vm 时 tomcat 启动但未显示在浏览器中

sap-commerce-cloud - Hybris 分面导航

java - 在 hybris 中将 double 更改为 Double

spring - 独立运行 5 个 Spring Boot 应用程序与在一个 Tomcat 中部署所有应用程序

java - JSF 托管 bean 在 Tomcat 部署期间导致 java.io.NotSerializableException

unicode - 标准化 unicode

solr - 使用curl和SOLR索引文件

java - Solr 未找到名称为 [categoryPath] 的方面

tomcat - 将 tomcat 设置为与 eclipse jsf2 中的 dcevm 一起工作

java - SLF4J 记录到文件与 DB 与 Solr