如何在tcServer
中配置Hybris
?
我在tcServer
找到了/bin/platform/project.properties
设置,需要配置哪些属性?
tomcat.context.template=${HYBRIS_CONFIG_DIR}/tomcat/tomcat_context.tpl
# The directory into which files created by "ant production" are created
#production.output.path=${HYBRIS_TEMP_DIR}/hybrisServer
# Choose the type of server: tomcat or tcserver
bundled.server.type=tcserver
# Absolute path to tomcat
#bundled.tomcat.home=${platformhome}/tomcat
#Version of tomcat server
#bundled.tomcat.version=7.0.52
# Absolute path to tcserver
bundled.tcserver.home=${HYBRIS_CONFIG_DIR}/tcServer
# tcserver's tomcat version
bundled.tcserver.tomcat.version=7.0.42.A.RELEASE
# Relative path to tcserver's tomcat
bundled.tcserver.tomcat.home=tomcat-${bundled.tcserver.tomcat.version}
# Name of an server instance
#bundled.tcserver.instance=instance1
# Name of an instance template to use: hybris or hybris_insight
bundled.tcserver.template=hybris
production.output.path=${HYBRIS_TEMP_DIR}/hybrisServer
答案 0 :(得分:1)
从5.1版开始,hybris不再发货了 tcserver嵌入了hybris平台。为了使用tc Server 您需要独立安装并配置hybris平台 使用此服务器。
启用SpringSource tcServer:
在5.1版之前,SpringSource tcServer随hybris平台一起提供。要启用它,您必须:
ant deploy
或ant all
(已包含部署调用),用于将配置文件从{HYBRIS_CONFIG_DIR} / tcServer / conf文件夹部署到tcSServer实例。如果尚未创建SpringSource tcServer实例,则由隐式部署过程创建。运行SpringSource tcServer
请记住将instance_name替换为要运行的tcServer实例的实际名称。
有关详细信息,请点击此链接:
https://wiki.hybris.com/display/release5/SpringSource+tcServer