构建文件检测,使用b2c_accrecipit启动服务器:/home/jerrywang/Hybris/installer/recipes/b2c_acc/build.gradleTask.leftShift(Closure)方法已被弃用,计划在Gradle5.0中移除。请使用任务。doLast(Action)instead.atbuild_24qda9aair3teyrqc9izdrv89.run(/home/jerrywang/Hybris/installer/recipes/b2c_acc/build.gradle:79):recipes/b2c_acc:startExecuting:createConfig...Buildfile:/home/jerrywang/Hybris/hybris/bin/platform/build.xml简单启动环境检测,如操作系统、jdk类型、Java编译器类型等:列出对应文件目录的位置:[echo]使用的扩展文件:/home/jerrywang/Hybris/hybris/config/localextensions.xml[echo]平台主页:/home/jerrywang/Hybris/hybris/bin/platform[echo]Lg文件夹:/home/jerrywang/Hybris/hybris/log[echo]数据文件夹:/home/jerrywang/Hybris/hybris/data[echo]配置文件夹:/home/jerrywang/Hybris/hybris/config[echo]Bin文件夹:/home/jerrywang/Hybris/hybris/bin[echo]临时文件夹:/home/jerrywang/Hybris/hybris/temp/hybriso[echo]Boostrapbin文件夹:/home/jerrywang/Hybris/hybris/bin/platform/bootstrap/bin列出加载的扩展和模块名称:租户名称、启动模式、操作系统类型、数据库类型和存储文件、Java版本、Cache、web服务器类型都打印出来出来了:启动Solr服务器,8983端口:等待3分钟,直到Solr启动成功,看到Happysearching就说明后面可以使用全文查询了。接下来是Spring开发人员熟悉的上下文刷新操作:[localhost-startStop-2][HybrisContextFactory]??-RefreshingSpringContext(Globalcontext)take:(7.980s)[m[32mINFO[localhost-startStop-2][HybrisContextFactory]Initializing<>SpringApplicationContext花费了:(8.708s)[m[32mINFO[localhost-startStop-2][HybrisContextFactory]??从位于(core-spring.xml)的扩展(core)加载<>springconfig,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)耗时:(163.4毫秒)加载各种bean:启动索引器cronjob:各种Spring后处理操作:[32mINFO[localhost-startStop-3](junit)[MapMergeDirectiveBeanPostProcessor]PostProcessingMapMergeDirective[defaultPromotionProductRaoProvidersMapping]onBean[raoProviders][m[32mINFO[localhost-startStop-3](junit)[MapMergeDirectiveBeanPostProcessor]PostProcessingMapMergeDirective[defaultCouponRuleActionMetadataHandlersMergeDirective]onBean[ruleActionMetadataHandlers][m[32mINFO[localhost-startStop-3](junit)[MapMergeDirectiveBeanPostProcessor]PostProcessingMapMergeDirective[givenCouponActionStrategiesMappingMergeDirective]onBean[promotionActionStrategiesMapping][m[32mINFO[localhost-startStop-3](junit)[ListMergeDirectiveBeanPostProcessor]Bean[commerceCartCalculationMethodHooks][m[32mINFO[localhost-startStop-3](junit)[ListMergeDirectiveBeanPostProcessor]后处理ListMergeDirective[commerceAddToCartProductConfigMergeDirective]在Bean[commerceAddToCartMethodHooks][m[32mINFO[localhost-startStop-3](junit)[MapMergeDirectiveBeanPostProcessor]后处理MapMergeDirective[textFieldConfigurationHandlerRegistrar]在Bean[productConfigurationHandlers][m[32mINFO[localhost-startFixationStop-7][RemoveDefaultSessionBean]未定义Spring默认SessionFixationProtectionStrategy。添加了HybrisSessionFixationProtectionStrategy要获取更多Jerry的原创文章,请关注公众号"汪子熙":