![]() ![]() ![]() ![]() |
本附录详细介绍了用于部署 Content Delivery Server 组件的部署配置文件的格式。此文件格式旨在通过 ANT“替换”命令进行操作。有关使用配置文件的信息,请参见第 3.1.3 节“第 3 步:设置基本部署的部署配置文件”。
属性按以下方式进行分组:
本附录还包括用于说明设置用法的样例部署配置文件。
下表说明了在使用 WebLogic Server 或 Sun Java System Application Server 时所用配置文件中的常规属性。必须对这些属性进行设置。表 22 中说明了仅由 WebLogic Server 使用的属性。
下表说明了仅在使用 WebLogic Server 时才使用的属性。如果未使用 WebLogic Server,则不需要这些属性。
三个 Content Delivery Server 管理器组件(Vending Manager、Catalog Manager 和 Fulfillment Manager)都有类似的属性集。特定管理器的属性由属性前缀进行标识。下表说明了这些前缀:
前缀
|
说明
|
|||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
vs
|
Vending Manager
|
|||||||||||||
cs
|
Catalog Manager
|
|||||||||||||
fs
|
Fulfillment Manager
|
|||||||||||||
下表介绍了管理器属性。
除了部署和配置 Vending Manager、Catalog Manager 及 Fulfillment Manager 外,还应部署 Content Delivery Server 服务。与上述的管理器属性一样,每个服务的所有属性都由唯一前缀来标识。下表介绍了当前的服务及其前缀。
前缀
|
说明
|
|||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
es
|
事件服务
|
|||||||||||||
ms
|
消息传送服务
|
|||||||||||||
pl
|
推送监听器服务
|
|||||||||||||
ns
|
通知服务
|
|||||||||||||
pp
|
后付费服务
|
|||||||||||||
cl
|
确认监听器服务
|
|||||||||||||
mo
|
监视服务
|
|||||||||||||
下表介绍了服务属性。
这是显示本附录中所述配置设置的样例配置文件。此文件位于 $CDS_HOME/cfg
目录中,名为 wl_sample.cfg
。使用该文件之前,应先编辑属性。很多样例设置对于您的环境都不正确。
注意,Content Delivery Server 将忽略以 # 开始的行。
################################################################## # # Configuration File # # This Java properties file defines all of the required properties # that are used to deploy and configure a server.Your deployment # can consist of any combination of the following components: # # VENDING MANAGER (vs) # CATALOG MANAGER (cs) # FULFILLMENT MANAGER (fs) # EVENT SERVICE (es) # MESSAGING SERVICE (ms) # POSTPAID SERVICE (pp) # NOTIFY SERVICE (ns) # CONFIRMLISTENER SERVICE (cl) # PUSHLISTENER SERVICE (pl) # MONITORING SERVICE (mo) # # Each of these components has its own properties that are used to # configure it. # # NOTE:Be careful not to leave trailing spaces..... # ################################################################## #================================================================= # General Properties #================================================================= # Specifies your application server to be BEA WebLogic # (DO NOT CHANGE) server.type=weblogic # ------------ Java Settings ------------- # java.mem=-ms512m -mx1024m -XX:MaxPermSize=256m # --------- App Server Settings ---------- # app.server.domain=cdsdomain app.server.name=cdsserver app.server.portnumber=80 # Number of listening threads app.server.threadcount=10 # true for SSL support app.server.ssl.enabled=true # SSL listen port app.server.ssl.port=81 # Host Name or IP address of the system where server is # deployed # You should change it if you running multiple IP addresses app.server.hostip=localhost # WL administration console port, ONLY IF SSL IS ENABLED app.server.admin.port=7800 # --------- JNDI Server Settings --------- # jndi.host=jndihost.domain.com jndi.port=80 # ------------- URI Settings ------------- # cs.internal.uri=http://localhost:80/admin/ dp.internal.uri=http://localhost:80/developer/ fs.internal.uri=http://localhost:80/fs/ vs.internal.uri=http://localhost:80/vsadmin/ sp.internal.uri=http://localhost:80/subscriber/ cs.external.uri=http://webhost.domain.com:80/admin/ dp.external.uri=http://webhost.domain.com:80/developer/ fs.external.uri=http://webhost.domain.com:80/fs/ vs.external.uri=http://webhost.domain.com:80/vsadmin/ sp.external.uri=http://webhost.domain.com:80/subscriber/ #================================================================= # Catalog Manager & Developer Portal #================================================================= # Make the following line a comment if the catalog manager is not to # be deployed and configured cs.include # Make the following line a comment if the developer portal is not # to be deployed and configured dp.include #================================================================= # Vending Manager & Subscriber Portal #================================================================= # Make the following line a comment if the vending manager is not to # be deployed and configured vs.include # Make the following line a comment if the subscriber portal is not # to be deployed and configured sp.include #================================================================= # Fulfillment Manager #================================================================= # Make the following line a comment if the fulfillment manager is # not to be deployed and configured fs.include #================================================================= # Event Service #================================================================= # Make the following line a comment if the event service is not to # be deployed and configured es.include # ------------ Java Settings ------------- # es.java.mem=-ms64m -mx128m # ----------- Service Settings ----------- # es.jmx.port=7801 #================================================================= # Messaging Service #================================================================= # Make the following line a comment if the messaging service is not # to be deployed and configured ms.include # ------------ Java Settings ------------- # ms.java.mem=-ms64m -mx128m # ----------- Service Settings ----------- # ms.jmx.port=7802 # ------------ Mail Settings ------------- # ms.mail.smtp.host=mailhost.domain.com ms.mail.smtp.sender=info@domain.com #================================================================= # Postpaid Service #================================================================= # Make the following line a comment if the postpaid service is not # to be deployed and configured pp.include # ------------ Java Settings ------------- # pp.java.mem=-ms64m -mx128m #================================================================= # Notify Service #================================================================= # Make the following line a comment if the notify service is not to # be deployed and configured ns.include # ------------ Java Settings ------------- # ns.java.mem=-ms64m -mx128m #================================================================= # ConfirmListener Service #================================================================= # Make the following line a comment if the confirmlistener service # is not to be deployed and configured cl.include # ------------ Java Settings ------------- # cl.java.mem=-ms64m -mx128m #================================================================= # PushListener Service #================================================================= # Make the following line a comment if the pushlistener service is # not to be deployed and configured pl.include # ------------ Java Settings ------------- # pl.java.mem=-ms64m -mx128m #================================================================= # Monitoring Service #================================================================= # Make the following line a comment if the monitoring service is not # to be deployed and configured mo.include # ------------ Java Settings ------------- # mo.java.mem=-ms64m -mx128m
这是显示本附录中所述配置设置的样例部署配置文件。此文件位于 $CDS_HOME/cfg
目录中,名为 sn_sample.cfg
。使用该文件之前,必须先编辑属性。很多样例设置对于您的环境都不正确。
注意,Content Delivery Server 将忽略以 # 开始的行。
################################################################## # # Configuration File # # This Java properties file defines all of the required properties # that are used to deploy and configure a server.Your deployment # can consist of any combination of the following components: # # VENDING MANAGER (vs) # CATALOG MANAGER (cs) # FULFILLMENT MANAGER (fs) # EVENT SERVICE (es) # MESSAGING SERVICE (ms) # POSTPAID SERVICE (pp) # NOTIFY SERVICE (ns) # CONFIRMLISTENER SERVICE (cl) # PUSHLISTENER SERVICE (pl) # MONITORING SERVICE (mo) # # Each of these components has its own properties that are used to # configure it. # # NOTE:Be careful not to leave trailing spaces..... # ################################################################## #================================================================= # General Properties #================================================================= # Specifies your application server to be Sun Java System # (DO NOT CHANGE) server.type=sun # ------------ Java Settings ------------- # java.mem=-ms512m -mx1024m -XX:MaxPermSize=256m # --------- App Server Settings ---------- # app.server.domain=cdsdomain app.server.name=cdsserver app.server.portnumber=80 # ------------- URI Settings ------------- # cs.internal.uri=http://localhost:80/admin/ dp.internal.uri=http://localhost:80/developer/ fs.internal.uri=http://localhost:80/fs/ vs.internal.uri=http://localhost:80/vsadmin/ sp.internal.uri=http://localhost:80/subscriber/ cs.external.uri=http://webhost.domain.com:80/admin/ dp.external.uri=http://webhost.domain.com:80/developer/ fs.external.uri=http://webhost.domain.com:80/fs/ vs.external.uri=http://webhost.domain.com:80/vsadmin/ sp.external.uri=http://webhost.domain.com:80/subscriber/ #================================================================= # Catalog Manager & Developer Portal #================================================================= # Make the following line a comment if the catalog manager is not to # be deployed and configured cs.include # Make the following line a comment if the developer portal is not # to be deployed and configured dp.include #================================================================= # Vending Manager & Subscriber Portal #================================================================= # Make the following line a comment if the vending manager is not to # be deployed and configured vs.include # Make the following line a comment if the subscriber portal is not # to be deployed and configured sp.include #================================================================= # Fulfillment Manager #================================================================= # Make the following line a comment if the fulfillment manager is # not to be deployed and configured fs.include #================================================================= # Event Service #================================================================= # Make the following line a comment if the event service is not to # be deployed and configured es.include # ------------ Java Settings ------------- # es.java.mem=-ms64m -mx128m # ----------- Service Settings ----------- # es.jmx.port=7801 #================================================================= # Messaging Service #================================================================= # Make the following line a comment if the messaging service is not # to be deployed and configured ms.include # ------------ Java Settings ------------- # ms.java.mem=-ms64m -mx128m # ----------- Service Settings ----------- # ms.jmx.port=7802 # ------------ Mail Settings ------------- # ms.mail.smtp.host=mailhost.domain.com ms.mail.smtp.sender=info@domain.com #================================================================= # Postpaid Service #================================================================= # Make the following line a comment if the postpaid service is not # to be deployed and configured pp.include # ------------ Java Settings ------------- # pp.java.mem=-ms64m -mx128m #================================================================= # Notify Service #================================================================= # Make the following line a comment if the notify service is not to # be deployed and configured ns.include # ------------ Java Settings ------------- # ns.java.mem=-ms64m -mx128m #================================================================= # ConfirmListener Service #================================================================= # Make the following line a comment if the confirmlistener service # is not to be deployed and configured cl.include # ------------ Java Settings ------------- # cl.java.mem=-ms64m -mx128m #================================================================= # PushListener Service #================================================================= # Make the following line a comment if the pushlistener service is # not to be deployed and configured pl.include # ------------ Java Settings ------------- # pl.java.mem=-ms64m -mx128m #================================================================= # Monitoring Service #================================================================= # Make the following line a comment if the monitoring service is not # to be deployed and configured mo.include # ------------ Java Settings ------------- # mo.java.mem=-ms64m -mx128m
![]() ![]() ![]() ![]() |
安装指南 Sun Java™ System Content Delivery Server,版本 2004Q1 |
版权所有 © 2004 Sun Microsystems, Inc. 保留所有权利。必须依据许可证条款使用。