Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1477695
  • 博文数量: 931
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 10198
  • 用 户 组: 普通用户
  • 注册时间: 2011-07-08 12:28
个人简介

测试

文章分类

全部博文(931)

文章存档

2020年(134)

2019年(792)

2018年(5)

我的朋友

分类: 架构设计与优化

2019-11-26 11:29:45

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) [MapMergeDirectiveBean PostProcessor] Post Processing MapMergeDirective [defaultPromotion ProductRaoProvidersMapping] on Bean [raoProviders]
[m[32mINFO [localhost-startStop-3] (junit) [MapMergeDirectiveBean PostProcessor] Post Processing MapMergeDirective [defaultCouponRuleActionMetadataHandlersMergeDirective] on Bean [ruleActionMetadataHandlers]
[m[32mINFO [localhost-startStop-3] (junit) [MapMergeDirectiveBean PostProcessor] Post Processing MapMergeDirective [givenCouponActionStrategiesMappingMergeDirective] on Bean [promotionActionStrategiesMapping]
[m[32mINFO [localhost-startStop-3] (junit) [ListMergeDirectiveBean PostProcessor] Post Processing ListMergeDirective [commerceQuoteCartCalculationMethodHookMergeDirective] on Bean [commerceCartCalculationMethodHooks]
[m[32mINFO [localhost-startStop-3] (junit) [ListMergeDirectiveBean PostProcessor] Post Processing ListMergeDirective [commerceAddToCartProductConfigMergeDirective] on Bean [commerceAddToCartMethodHooks]
[m[32mINFO [localhost-startStop-3] (junit) [MapMergeDirectiveBean PostProcessor] Post Processing MapMergeDirective [textFieldConfigurationHandlerRegistrar] on Bean [productConfigurationHandlers]
[m[32mINFO [localhost-startStop-7] [RemoveDefaultSessionFixationStrategyBean PostProcessor] Spring default SessionFixation ProtectionStrategy was not defined. Added HybrisSessionFixation ProtectionStrategy

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

阅读(689) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~