Hybris服务器启动日志分析

  • 时间:
  • 浏览:1

启动indexer cronjob:

The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.

接下来是Spring开发多线程 员熟悉的context refresh操作了:

[localhost-startStop-2] [HybrisContextFactory] - Refreshing SpringContext (Global context) took: (7.930 s)

[m[32mINFO [localhost-startStop-2] [HybrisContextFactory] Initializing <> Spring ApplicationContext took: (8.708 s)

启动Solr服务器,端口8983:

m[32mINFO [localhost-startStop-3 [MapMergeDirectiveBeanPostProcessor] Post Processing MapMergeDirective [defaultCouponRuleActionMetadataHandlersMergeDirective] on Bean [ruleActionMetadataHandlers]

m[32mINFO [localhost-startStop-3 [MapMergeDirectiveBeanPostProcessor] Post Processing MapMergeDirective [givenCouponActionStrategiesMappingMergeDirective] on Bean [promotionActionStrategiesMapping]

m[32mINFO [localhost-startStop-3 [ListMergeDirectiveBeanPostProcessor] Post Processing ListMergeDirective [commerceQuoteCartCalculationMethodHookMergeDirective] on Bean [commerceCartCalculationMethodHooks]

m[32mINFO [localhost-startStop-3 [ListMergeDirectiveBeanPostProcessor] Post Processing ListMergeDirective [commerceAddToCartProductConfigMergeDirective] on Bean [commerceAddToCartMethodHooks]

m[32mINFO [localhost-startStop-3 [MapMergeDirectiveBeanPostProcessor] Post Processing MapMergeDirective [textFieldConfigurationHandlerRegistrar] on Bean [productConfigurationHandlers]

[m[32mINFO [localhost-startStop-7] [RemoveDefaultSessionFixationStrategyBeanPostProcessor] Spring default SessionFixationProtectionStrategy was not defined. Added HybrisSessionFixationProtectionStrategy

各种Spring post processing操作:

列出对应文件目录的位置:

[echo] Extension file used: /home/jerrywang/Hybris/hybris/config/localextensions.xml

:recipes/b2c_acc:start

32mINFO [localhost-startStop-3 [MapMergeDirectiveBeanPostProcessor] Post Processing MapMergeDirective [defaultPromotionProductRaoProvidersMapping] on Bean [raoProviders]



本文来自云栖社区企业协作伙伴“汪子熙”,了解相关信息可不必须关注微信公众号"汪子熙"。

简单的启动环境检测,比如操作系统,jdk类型,Java编译器类型等等:

build文件检测,使用b2c_acc recipit启动服务器:/home/jerrywang/Hybris/installer/recipes/b2c_acc/build.gradle

Tenant名称,启动模式,操作系统类型,数据库类型和存储文件,Java版本,Cache,web server类型都打印出来了:

Executing: createConfig...

Buildfile: /home/jerrywang/Hybris/hybris/bin/platform/build.xml

[m[32mINFO [localhost-startStop-2] [HybrisContextFactory] Loading <> spring config from extension (core) located in (core-spring.xml,persistence-spring.xml,core-media-spring.xml,core-profiling-spring.xml,core-jmx-spring.xml,core-filter-spring.xml,servicelayer-spring.xml,user-spring.xml,security-spring.xml,media-spring.xml,i18n-spring.xml,interceptor-spring.xml,event-spring.xml) took: (163.4 ms)

各种Bean的加载:

等待英文3分钟,直到Solr成功启动为止,看完Happy searching, 意味着着 稍后可不必须使用full text query了。

列出加载的extension和module名称: