在Hybris中配置tcServer

在Hybris中配置tcServer,hybris,tcserver,Hybris,Tcserver,如何在Hybris中配置tcServer 我在/bin/platform/project.properties中找到了tcServer设置,需要配置哪些属性 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
中配置
tcServer

我在
/bin/platform/project.properties
中找到了
tcServer
设置,需要配置哪些属性

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
自5.1版以来,hybris不再提供 嵌入hybris平台的tcserver。为了使用tc服务器 您需要独立安装它并配置hybris平台 使用此服务器

启用SpringSource tcServer:

在5.1版之前,SpringSource tcServer随hybris平台一起提供。要启用它,您必须:

  • 打开local.properties文件
  • 对于bundled.server.type属性,设置值tcserver
  • 设置bundled.tcserver.instance属性
  • 调用
    antdeploy
    antall
    (已经包括deploy调用),将配置文件从{HYBRIS_CONFIG_DIR}/tcServer/conf文件夹部署到tcSServer实例。若SpringSource tcServer实例尚未创建,则由部署过程隐式创建
  • 运行SpringSource tcServer

  • 在Windows上:呼叫 tcserver.bat实例名称 从平台的bin目录
  • 在Linux上:调用 ./tcserver.sh实例名称 从平台的bin目录
  • 记住用要运行的tcServer实例的实际名称替换instance_name

    有关详细信息,请访问以下链接:


    问题不清楚。您想实现什么?默认情况下,hybris在tomact上运行,但我想在tcServer上运行?plz tel配置iti的步骤是这样做的,但在服务器启动时,我发现服务器=仅tomcat