吉林BOSS3.0项目WEB应用安装手册(V1.0)北京思特奇信息技术股份有限公司二零零八年一月吉林BOSS3.0项目WEB应用安装手册北京思特奇信息技术股份有限公司第2页共14页文档信息文档名称吉林BOSS3.0项目WEB应用安装手册电子文档吉林BOSS3.0项目WEB应用安装手册V1.0@CRM_PD1@20080108.doc/MicrosoftWORD2003文件状态■草稿□正式发布□正在修改编写人日期年月日校对人日期年月日审核人日期年月日批准人日期年月日变更记录变更序号变更原因变更页码变更前版本号变更后版本号更改人批准人生效日期备注01创建吉林BOSS3.0项目WEB应用安装手册北京思特奇信息技术股份有限公司第3页共14页目录1引言..............................................................................................................................51.1编写目的............................................................................................................51.2项目背景............................................................................................................51.3术语定义............................................................................................................51.4参考资料............................................................................................................52应用部署......................................................................................................................62.1DOMAIN和SERVER.......................................................................................62.1.1Domain.....................................................................................................62.1.2Server........................................................................................................62.1.3APP_PATH&CLASSPATH......................................................................62.1.4应用目录.................................................................................................72.2WTC私有配置文件..........................................................................................72.2.1/jlweb/domains/jldomain/applications/lib/$端口/CONFIG.properties....72.3WTC公共配置文件..........................................................................................92.3.1/jlweb/domains/jldomain/applications/lib/COMMON_CONFIG.properties............92.3.2/jlweb/domains/jldomain/applications/lib/TUXEDO_ROUTER.properties.............92.3.3/jlweb/domains/jldomain/applications/lib/log4j.properties...................102.3.4/jlweb/domains/jldomain/applications/lib下的jar包.........................112.3.5上传文件、临时文件目录及删除脚本...............................................112.4新WTC框架相关JAR包...............................................................................112.5WEB.XML的配置...............................................................................................122.5.1CGI的配置............................................................................................122.5.2taglib的设置..........................................................................................122.5.3配置PubWebPrn.sh..............................................................................13吉林BOSS3.0项目WEB应用安装手册北京思特奇信息技术股份有限公司第4页共14页2.6营业TUXEDO的DOMAIN配置....................................................................132.7营业WEBLOGIC的WTC配置.......................................................................14吉林BOSS3.0项目WEB应用安装手册北京思特奇信息技术股份有限公司第5页共14页1引言1.1编写目的1.2项目背景1.3术语定义1.4参考资料吉林BOSS3.0项目WEB应用安装手册北京思特奇信息技术股份有限公司第6页共14页2应用部署2.1DOMAIN和SERVER2.1.1DomainDomainName:jldomainPath:/jlweb/domains/jldomain操作系统用户:jlweb2.1.2Server2.1.3APP_PATH&CLASSPATHAPP_PATH=/jlweb/domains/jldomain/applications/libCLASSPATH=${WEBLOGIC_CLASSPATH}:${CLASSPATHSEP}:${POINTBASE_CLASSPATH}:${CLASSPATHSEP}:${JAVA_HOME}/jre/lib/rt.jar:${CLASSPATHSEP}:${WL_HOME}/server/lib/webservices.jar:${APP_PATH}:${APP_PATH}/9003:${APP_PATH}/wtccontext.jar:${APP_PATH}/pub.jar:${APP_PATH}/log4j128.jar:${APP_PATH}/jolt81.jar:${CLASSPATHSEP}:${CLASSPATH}${JAVA_HOME}/bin/java${JAVA_VM}${MEM_ARGS}${JAVA_OPTIONS}-Dweblogic.Name=${SERVER_NAME}-Dweblogic.ProductionModeEnabled=${PRODUCTION_MODE}-Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy-Ddefault.client.encoding=GBK-Dfile.encoding=GBK-Duser.language=Zh-Duser.region=CN-Dweblogic.management.discover=trueweblogic.Server吉林BOSS3.0项目WEB应用安装手册北京思特奇信息技术股份有限公司第7页共14页${JAVA_HOME}/bin/javaweblogic.server为启动server的命令,在两者之间的都是参数,其中-Ddefault.client.encoding=GBK-Dfile.encoding=GBK-Duser.language=Zh-Duser.region=CN用以避免网页乱码问题红色部分需要手工加入2.1.4应用目录WebApplicationName:webappsPath:/jlweb/applications/iccweb/webappsContext:(NoValueAssigned)操作系统用户:jlweb2.2WTC私有配置文件2.2.1/jlweb/domains/jldomain/applications/lib/$端口/CONFIG.properties$端口号为9003A)##0--WTC,1--JOLT,connecttoTUXEDOCONN_TUXEDO_MODE=0B)#WTCserverjndinameWTC_JNDI=tuxedo.services.TuxedoConnectionC)#wls默认的tuxedoid,id必须是COMMON_CONFIG的三个TUXEDO的其中一个DEFAULT_SERVER_ID=(_A,_B)D)#判断是否在WTC调用时做failover,如果为true,失败时会尝试调用备份serverWTC_FAIL_OVER=falseE)#判断是否在JOLT调用时做failover,如果为true,失败时会尝试调用备份server吉林BOSS3.0项目WEB应用安装手册北京思特奇信息技术股份有限公司第8页共14页JOLT_FAIL_OVER=falseF)#weblogicinitialcontextfactoryWL_INIT_CONTEXT_FACTORY=weblogic.jndi.WLInitialContextFactoryG)#backupweblogicservercountWL_COUNT=2H)#weblogicJNDIpositiona,whenonewtcserverdump,trytolookanotherwiththisorderWEBLOGIC_1=t3://172.16.9.170:9003WEBLOGIC_2=t3://172.16.9.170:9003I)#dofailbackwherecallejb