At the build process from the SAP hybris platform I gain the following error:
[java] ERROR StatusLogger Cannot start ShutdownCallbackRegistry, already shutting down.
[java] ERROR StatusLogger Unable to create class de.hybris.platform.util.logging.log4j2.HybrisLog4j2LoggerContextFactory specified in file:/D:/Projects/make/hybris/bin/platform/ext/core/resources/META-INF/log4j-provider.properties
[java] java.lang.IllegalStateException: Shutdown in progress
[java] at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66)
[java] at java.lang.Runtime.addShutdownHook(Runtime.java:211)
[java] at org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry.addShutdownHook(DefaultShutdownCallbackRegistry.java:151)
[java] at org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry.start(DefaultShutdownCallbackRegistry.java:137)
[java] at org.apache.logging.log4j.core.impl.Log4jContextFactory.initializeShutdownCallbackRegistry(Log4jContextFactory.java:125)
[java] at org.apache.logging.log4j.core.impl.Log4jContextFactory.<init>(Log4jContextFactory.java:92)
[java] at org.apache.logging.log4j.core.impl.Log4jContextFactory.<init>(Log4jContextFactory.java:58)
[java] at de.hybris.platform.util.logging.log4j2.HybrisLog4j2LoggerContextFactory.<init>(HybrisLog4j2LoggerContextFactory.java:22)
[...]
Does anybody know where this come from?
答案 0 :(得分:1)
我在expers网站上发现了一件衣服:
只需关闭您的Hybris服务器并从中删除以下4个文件 数据文件夹: hybristomcat.java.id,hybristomcat.java.pid, hybristomcat.java.status,hybristomcat.lock
现在重启服务器。这4个文件将再次创建一次 服务器启动,Hybris将映射这些tomcat服务器属性 使用机器的JVM。
这个解决方案对我有用。