在调试模式下启动hybrisserver时,在上下文初始化过程中遇到异常



我最近在我的机器上安装了Hybris 2005。服务器运行良好,直到昨天,但在试图重新启动今天早上,我得到一个异常,我的包装器停止了。绝对没有做任何更改,我已经尝试在调试模式下启动服务器。请帮助我解决这个问题,我是Hybris的新手,找不到这个问题的任何原因。以下是hybrisserver.bat debug的相关日志:

INFO   | jvm 1    | main    | 2021/07/30 10:21:40.573 | INFO  [localhost-startStop-5] (junit) [LazyInitOverrideBeanFactoryPostProcessor] Setting lazy-init='false' for configuration beans
INFO   | jvm 1    | main    | 2021/07/30 10:21:48.425 | WARN  [localhost-startStop-5] (junit) [CloseAwareApplicationContext] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'listMergeBeanPostProcessor' defined in class path resource [core-spring.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is java.lang.StackOverflowError
INFO   | jvm 1    | main    | 2021/07/30 10:21:48.533 | ERROR [localhost-startStop-5] (junit) [HybrisContextFactory] Error initializing global application context!
INFO   | jvm 1    | main    | 2021/07/30 10:21:48.533 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'listMergeBeanPostProcessor' defined in class path resource [core-spring.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is java.lang.StackOverflowError
INFO   | jvm 1    | main    | 2021/07/30 10:21:48.533 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:512) ~[spring-beans-5.2.3.RELEASE.jar:5.2.3.RELEASE]
INFO   | jvm 1    | main    | 2021/07/30 10:21:48.533 |     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) ~[spring-beans-5.2.3.RELEASE.jar:5.2.3.RELEASE]
INFO   | jvm 1    | main    | 2021/07/30 10:21:48.533 |     at org.springframework.beans.factory.support.AbstractBeanFactory$$Lambda$156/0x0000000000000000.getObject(Unknown Source) ~[?:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:48.533 |     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.2.3.RELEASE.jar:5.2.3.RELEASE]
INFO   | jvm 1    | main    | 2021/07/30 10:21:48.533 |     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) ~[spring-beans-5.2.3.RELEASE.jar:5.2.3.RELEASE]
INFO   | jvm 1    | main    | 2021/07/30 10:21:48.533 |     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:207) ~[spring-beans-5.2.3.RELEASE.jar:5.2.3.RELEASE]
INFO   | jvm 1    | main    | 2021/07/30 10:21:48.534 |     at org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:240) ~[spring-context-5.2.3.RELEASE.jar:5.2.3.RELEASE]
INFO   | jvm 1    | main    | 2021/07/30 10:21:52.153 | Error creating Spring application context. Shutting down hybris platform since the system cannot be used without working Spring context...
INFO   | jvm 1    | main    | 2021/07/30 10:21:52.261 | INFO  [localhost-startStop-2] (junit) [HybrisContextFactory] Initializing <<global>> Spring ApplicationContext took: (55.50 μs)
INFO   | jvm 1    | main    | 2021/07/30 10:21:52.261 | de.hybris.platform.core.UninstantiableCoreApplicationContextException: Error creating Spring application context.
INFO   | jvm 1    | main    | 2021/07/30 10:21:53.901 | WARN  [Thread-6] (junit) [AbstractTenant] Context hybris Global Context Factory  couldn't  be created correctly due to, Error creating bean with name 'listMergeBeanPostProcessor' defined in class path resource [core-spring.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is java.lang.StackOverflowError
INFO   | jvm 1    | main    | 2021/07/30 10:21:53.901 | org.springframework.beans.FatalBeanException: Context hybris Global Context Factory  couldn't  be created correctly due to, Error creating bean with name 'listMergeBeanPostProcessor' defined in class path resource [core-spring.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is java.lang.StackOverflowError
INFO   | jvm 1    | main    | 2021/07/30 10:21:53.902 | at de.hybris.platform.core.HybrisContextFactory.build(HybrisContextFactory.java:307) ~[coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:53.902 | at de.hybris.platform.core.HybrisContextFactory$GlobalContextFactory.buildSelf(HybrisContextFactory.java:179) ~[coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:53.902 | at de.hybris.platform.core.HybrisContextFactory$GlobalContextFactory.build(HybrisContextFactory.java:165) ~[coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:53.902 | at de.hybris.platform.core.HybrisContextHolder.getGlobalInstanceCached(HybrisContextHolder.java:122) ~[coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:53.902 | at de.hybris.platform.core.HybrisContextHolder.getGlobalInstance(HybrisContextHolder.java:101) ~[coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:53.902 | at de.hybris.platform.core.Registry.getSingletonGlobalApplicationContext(Registry.java:1116) ~[coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:53.902 | at de.hybris.platform.cache.impl.RegionCacheAdapter.getController(RegionCacheAdapter.java:65) ~[coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:53.902 | at de.hybris.platform.cache.impl.RegionCacheAdapter.clear(RegionCacheAdapter.java:279) ~[coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:53.902 | at de.hybris.platform.cache.impl.RegionCacheAdapter.destroy(RegionCacheAdapter.java:512) ~[coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:53.902 | at de.hybris.platform.core.AbstractTenant.shutdownCache(AbstractTenant.java:1150) [coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:53.903 | at de.hybris.platform.core.AbstractTenant.doShutdown(AbstractTenant.java:1014) [coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:53.903 | at de.hybris.platform.core.AbstractTenant.doShutDown(AbstractTenant.java:957) [coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:53.903 | at de.hybris.platform.core.MasterTenant.shutDown(MasterTenant.java:217) [coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:53.903 | at de.hybris.platform.core.AbstractTenant.doShutdown(AbstractTenant.java:1002) [coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:53.903 | at de.hybris.platform.core.AbstractTenant.doShutDown(AbstractTenant.java:957) [coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:53.903 | at de.hybris.platform.core.Registry.destroy(Registry.java:325) [coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:53.903 | at de.hybris.platform.util.RedeployUtilities.shutdown(RedeployUtilities.java:67) [coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:53.903 | at de.hybris.platform.util.RedeployUtilities$1.internalRun(RedeployUtilities.java:32) [coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:53.903 | at de.hybris.platform.core.threadregistry.RegistrableThread.run(RegistrableThread.java:124) [coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:54.998 | INFO  [AfterSaveEventPublisher-master] [DefaultAfterSaveListenerRegistry] AfterSaveEventPublisher-master has been interrupted - stopping now: null
INFO   | jvm 1    | main    | 2021/07/30 10:21:54.998 | INFO  [AfterSaveEventPublisher-master] [DefaultAfterSaveListenerRegistry] AfterSaveEventPublisher-master has been interrupted/terminated but without InterruptedException - stopping now.
INFO   | jvm 1    | main    | 2021/07/30 10:21:55.757 | ERROR [Thread-6] [RegionCacheAdapter] Unable to clear cache. Failed on region entityCacheRegion. Last key LegacyCacheKey(master)[key=[hjmp, entity, 87, 8797249405015], valueType=NON_SERIALIZABLE, typeCode=87{LegacyCacheKeyType[hjmp, entity, 87(String)]}} class de.hybris.platform.regioncache.key.legacy.LegacyCacheKey
INFO   | jvm 1    | main    | 2021/07/30 10:21:55.759 | ERROR [Thread-6] [RegionCacheAdapter] Unable to clear cache. Failed on region entityCacheRegion. Last key null null
INFO   | jvm 1    | main    | 2021/07/30 10:21:55.760 | WARN  [Thread-6] [AbstractTenant] The entityCacheRegion Cache is not alive (STATUS_SHUTDOWN)
INFO   | jvm 1    | main    | 2021/07/30 10:21:55.760 | java.lang.IllegalStateException: The entityCacheRegion Cache is not alive (STATUS_SHUTDOWN)
INFO   | jvm 1    | main    | 2021/07/30 10:21:55.760 | at net.sf.ehcache.Cache$CacheStatus.checkAlive(Cache.java:4075) ~[ehcache-2.9.0.jar:2.9.0]
INFO   | jvm 1    | main    | 2021/07/30 10:21:55.760 | at net.sf.ehcache.Cache.checkStatus(Cache.java:2766) ~[ehcache-2.9.0.jar:2.9.0]
INFO   | jvm 1    | main    | 2021/07/30 10:21:55.760 | at net.sf.ehcache.Cache.getKeys(Cache.java:2066) ~[ehcache-2.9.0.jar:2.9.0]
INFO   | jvm 1    | main    | 2021/07/30 10:21:55.760 | at de.hybris.platform.regioncache.region.impl.EHCacheRegion.getAllKeys(EHCacheRegion.java:423) ~[coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:55.760 | at de.hybris.platform.cache.impl.RegionCacheAdapter.clear(RegionCacheAdapter.java:283) ~[coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:55.760 | at de.hybris.platform.cache.impl.RegionCacheAdapter.destroy(RegionCacheAdapter.java:512) ~[coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:55.760 | at de.hybris.platform.core.AbstractTenant.shutdownCache(AbstractTenant.java:1150) [coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:55.760 | at de.hybris.platform.core.AbstractTenant.doShutdown(AbstractTenant.java:1014) [coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:55.760 | at de.hybris.platform.core.AbstractTenant.doShutDown(AbstractTenant.java:957) [coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:55.760 | at de.hybris.platform.core.Registry.destroy(Registry.java:325) [coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:55.761 | at de.hybris.platform.util.RedeployUtilities.shutdown(RedeployUtilities.java:67) [coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:55.761 | at de.hybris.platform.util.RedeployUtilities$1.internalRun(RedeployUtilities.java:32) [coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:55.761 | at de.hybris.platform.core.threadregistry.RegistrableThread.run(RegistrableThread.java:124) [coreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/30 10:21:56.314 | INFO  [Thread-6] [DefaultClusterNodeManagementService] Unregistering assigned cluster node id 0...
STATUS | wrapper  | main    | 2021/07/30 10:21:57.311 | <-- Wrapper Stopped

请帮助。

看来你的Java内存有问题。

您必须在local.properties中检查JVM参数。

可能需要使用-Xss1024k

更改Xss值

相关内容

  • 没有找到相关文章

最新更新