我怎么知道正在运行的liferay的发布?有什么文件可以检查吗?
我试图查看自述文件的圆顶,但没有找到任何内容
答案 0 :(得分:1)
转到控制面板 - >服务器管理,将显示版本:
另一种选择是检查(grep)$LIFERAY_HOME/logs/liferay.yyyy-mm-dd.log
,它在启动期间报告版本号:
08:49:06,691 INFO [fileinstall-C:/liferay70/osgi/marketplace][BundleStartStopLogger:35] STARTED Liferay CE Foundation_7.0.7 [174]
答案 1 :(得分:0)
如果你没有改变http.header.version.verbosity = full 它正在响应标题上显示的liferay版本。
以下是有关此属性的信息,来自liferay来源的portal.properties。
#
# Set the level of verbosity to use for the Liferay-Portal field in the HTTP
# header response. Valid values are "full", which gives all of the version
# information (e.g. Liferay Portal Community Edition 6.1.0 CE etc.),
# "partial", which gives only the name portion (e.g. Liferay Portal
# Community Edition), or the default release name (e.g. "Liferay Portal
# Community Edition" or "Liferay Portal Enterprise Edition"), which prevents
# the Portal from adding the Liferay-Portal field in the HTTP header
# response. The default release name must match the Portal edition being
# used.
#
http.header.version.verbosity=full
希望这有帮助