Hybris服务器启动日志分析
build文件檢測,使用b2c_acc recipit啟動服務器:/home/jerrywang/Hybris/installer/recipes/b2c_acc/build.gradle
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at build_24qda9aair3teyrqc9izdrv89.run(/home/jerrywang/Hybris/installer/recipes/b2c_acc/build.gradle:79)
:recipes/b2c_acc:start
Executing: createConfig…
Buildfile: /home/jerrywang/Hybris/hybris/bin/platform/build.xml
簡單的啟動環境檢測,比如操作系統,jdk類型,Java編譯器類型等等:
列出對應文件目錄的位置:
[echo] Extension file used: /home/jerrywang/Hybris/hybris/config/localextensions.xml
[echo] Platform home: /home/jerrywang/Hybris/hybris/bin/platform
[echo] Lg folder: /home/jerrywang/Hybris/hybris/log
[echo] Data folder: /home/jerrywang/Hybris/hybris/data
[echo] Config folder: /home/jerrywang/Hybris/hybris/config
[echo] Bin folder: /home/jerrywang/Hybris/hybris/bin
[echo] Temp folder: /home/jerrywang/Hybris/hybris/temp/hybriso
[echo] Boostrap bin folder: /home/jerrywang/Hybris/hybris/bin/platform/bootstrap/bin
列出加載的extension和module名稱:
Tenant名稱,啟動模式,操作系統類型,數據庫類型和存儲文件,Java版本,Cache,web server類型都打印出來了:
啟動Solr服務器,端口8983:
等待3分鐘,直到Solr成功啟動為止,看到Happy searching, 意味著稍后可以使用full text query了。
接下來是Spring開發程序員熟悉的context refresh操作了:
[localhost-startStop-2] [HybrisContextFactory] - Refreshing SpringContext (Global context) took: (7.980 s)
[m[32mINFO [localhost-startStop-2] [HybrisContextFactory] Initializing <> Spring ApplicationContext took: (8.708 s)
[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的加載:
啟動indexer cronjob:
各種Spring post processing操作:
[32mINFO [localhost-startStop-3] (junit) [MapMergeDirectiveBeanPostProcessor] Post Processing MapMergeDirective [defaultPromotionProductRaoProvidersMapping] on Bean [raoProviders]
[m[32mINFO [localhost-startStop-3] (junit) [MapMergeDirectiveBeanPostProcessor] Post Processing MapMergeDirective [defaultCouponRuleActionMetadataHandlersMergeDirective] on Bean [ruleActionMetadataHandlers]
[m[32mINFO [localhost-startStop-3] (junit) [MapMergeDirectiveBeanPostProcessor] Post Processing MapMergeDirective [givenCouponActionStrategiesMappingMergeDirective] on Bean [promotionActionStrategiesMapping]
[m[32mINFO [localhost-startStop-3] (junit) [ListMergeDirectiveBeanPostProcessor] Post Processing ListMergeDirective [commerceQuoteCartCalculationMethodHookMergeDirective] on Bean [commerceCartCalculationMethodHooks]
[m[32mINFO [localhost-startStop-3] (junit) [ListMergeDirectiveBeanPostProcessor] Post Processing ListMergeDirective [commerceAddToCartProductConfigMergeDirective] on Bean [commerceAddToCartMethodHooks]
[m[32mINFO [localhost-startStop-3] (junit) [MapMergeDirectiveBeanPostProcessor] Post Processing MapMergeDirective [textFieldConfigurationHandlerRegistrar] on Bean [productConfigurationHandlers]
[m[32mINFO [localhost-startStop-7] [RemoveDefaultSessionFixationStrategyBeanPostProcessor] Spring default SessionFixationProtectionStrategy was not defined. Added HybrisSessionFixationProtectionStrategy
要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":
總結
以上是生活随笔為你收集整理的Hybris服务器启动日志分析的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 苹果 Apple Pay 登陆韩国首月战
- 下一篇: 爆料称小米Civi3将支持5G异网漫游