使用root用户安装Hybris遇到的错误
使用root user安裝Hybris遇到如下錯(cuò)誤消息:
LJava.
at de.hybris.platform. core.Abstractlenant. notitylenantListenersbetoreShutdown(Abstractl enant. Java: 128
java] at de. hybris.platform.core. AbstractTenant. doShutdown(AbstractTenant. java: 950)
java at de.hybris.platform.core.AbstractTenant. doShutDown(AbstractTenant. java:911)
java] at de. hybris.platform. core.Registry.destroy(Registry.java:331)
java] at de. hybris.platform.util.RedeployUtilities.shutdown(RedeployUtilities.java:75)
java at de.hybris.platform.util.RedeployUtilities$1.internalRun(RedeployUtilities.java:39)
java] at de.hybris.platform.core. threadregistry.RegistrableThread.run(RegistrableThread.java:134)
java] WARNING: Starting solr as the root user is a security risk and not considered best practice. Exiting
java] Please consult the Reference Guide. To override this check, start with argument '-force
java] ERROR [main] [DefaultSolrserverService] de. hybris.platform. solrserver. SolrServerException: Error while exuting Solr start command for instance [name: default, hostname: localhost, port: 8983]
java] WARN [main] [CloseAwareApplicationContext] Exception encountered during context initialization- cancellg refresh attempt: org.springframework.beans. factory.BeanCreationException: Error creating bean with name ‘defaultsaServerService’ defined in class path resource [global-solrserver-spring.xml]: Invocation of init method failed; nesteexception is de.hybris.platform.solrserver.SolrserverException: Error while executing Solr start command for instal[name: default, hostname: localhost, port: 8983]
java] WARN [main] [CloseAwareApplicationContext] Exception encountered during context initialization- cancellg refresh attempt: org.springframework.beans. factory.BeanCreationException: Error creating bean with name ‘defaultsaServerService’ defined in class path resource [global-solrserver-spring.xml]: Invocation of init method failed; nesexception is de. hybris.platform. solrserver. SolrServerException: Error while executing Solr start command for instar[name: default, hostname: localhost, port: 8983]
java] ERROR [main] [HybrisContextFactory] Error initializing global application context!
INFO: Stopping Solr server for instance [name: default, hostname: localhost, port: 8983, mode: STANDALONE] Stopping Solr process 23656 running on port 8983 ERROR: Input redirection is not supported, exiting the process immediately. Mar 22, 2021 10:43:23 AM de.hybris.platform.solr.controller.commands.StartSolrServerCommand startSolrServer INFO: Starting Solr server for instance [name: default, hostname: localhost, port: 8983, mode: STANDALONE] INFO - 2021-03-22 10:43:26.345; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.keyStorePassword INFO - 2021-03-22 10:43:26.347; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.trustStorePassword Waiting up to 30 to see Solr running on port 8983 Started Solr server on port 8983. Happy searching!
關(guān)鍵就在這句:Starting solr as the root user is a security risk and not considered best practice. Exiting
換成普通用戶安裝問(wèn)題解決。
總結(jié)
以上是生活随笔為你收集整理的使用root用户安装Hybris遇到的错误的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 步道乐跑怎么轻松刷有效成绩
- 下一篇: 红色警戒2秘籍大全