温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

Hybris服务器启动日志实例分析

发布时间:2021-12-31 17:30:56 来源:亿速云 阅读:119 作者:iii 栏目:服务器

这篇文章主要介绍“Hybris服务器启动日志实例分析”,在日常操作中,相信很多人在Hybris服务器启动日志实例分析问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”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

Hybris服务器启动日志实例分析

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

Hybris服务器启动日志实例分析

列出对应文件目录的位置:
[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名称:

Hybris服务器启动日志实例分析Hybris服务器启动日志实例分析

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

Hybris服务器启动日志实例分析

启动Solr服务器,端口8983:

Hybris服务器启动日志实例分析

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

Hybris服务器启动日志实例分析

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

Hybris服务器启动日志实例分析

[localhost-startStop-2] [HybrisContextFactory] - Refreshing SpringContext (Global context) took: (7.980 s)
[m[32mINFO [localhost-startStop-2] [HybrisContextFactory] Initializing <<global>> Spring ApplicationContext took: (8.708 s)
[m[32mINFO [localhost-startStop-2] [HybrisContextFactory] Loading <<application>> spring config <master> 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的加载:

Hybris服务器启动日志实例分析

启动indexer cronjob:

Hybris服务器启动日志实例分析

各种Spring post processing操作:

Hybris服务器启动日志实例分析

到此,关于“Hybris服务器启动日志实例分析”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注亿速云网站,小编会继续努力为大家带来更多实用的文章!

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI