基于WebSphere与CICS的营业测试环境搭建操作指导书18

<factories xmi:type=”resources.jdbc:CMPConnectorFactory” xmi:id=”CMPConnectorFactory_1122293654393″ name=”reportPool1_CF” authMechanismPreference=”BASIC_PASSWORD” authDataAlias=”ibmoss61CellManager01/report” connectionDefinition=”ConnectionDefinition_1054132487569″ cmpDatasource=”DataSource_1122293654428″>

<propertySet xmi:id=”J2EEResourcePropertySet_1122293654428″/>

<mapping xmi:id=”MappingModule_1122293654428″ mappingConfigAlias=”DefaultPrincipalMapping” authDataAlias=”ibmoss61CellManager01/report”/>

</factories>

<factories xmi:type=”resources.jdbc:CMPConnectorFactory” xmi:id=”CMPConnectorFactory_1122540034008″ name=”reportPool2_CF” authMechanismPreference=”BASIC_PASSWORD” authDataAlias=”ibmoss61CellManager01/report” connectionDefinition=”ConnectionDefinition_1054132487569″ cmpDatasource=”DataSource_1122540034009″>

<propertySet xmi:id=”J2EEResourcePropertySet_1122540034009″/>

<mapping xmi:id=”MappingModule_1122540034009″ mappingConfigAlias=”DefaultPrincipalMapping” authDataAlias=”ibmoss61CellManager01/report”/>

</factories>

<factories xmi:type=”resources.jdbc:CMPConnectorFactory” xmi:id=”CMPConnectorFactory_1122540099284″ name=”tbcsPool1_CF” authMechanismPreference=”BASIC_PASSWORD” authDataAlias=”ibmoss61CellManager01/tbcs” connectionDefinition=”ConnectionDefinition_1054132487569″ cmpDatasource=”DataSource_1122540099284″>

<propertySet xmi:id=”J2EEResourcePropertySet_1122540099284″/>

<mapping xmi:id=”MappingModule_1122540099284″ mappingConfigAlias=”DefaultPrincipalMapping” authDataAlias=”ibmoss61CellManager01/tbcs”/>

</factories>

<factories xmi:type=”resources.jdbc:CMPConnectorFactory” xmi:id=”CMPConnectorFactory_1122540118999″ name=”tbcsPool2_CF” authMechanismPreference=”BASIC_PASSWORD” authDataAlias=”ibmoss61CellManager01/tbcs” connectionDefinition=”ConnectionDefinition_1054132487569″ cmpDatasource=”DataSource_1122540118999″>

<propertySet xmi:id=”J2EEResourcePropertySet_1122540118999″/>

<mapping xmi:id=”MappingModule_1122540118999″ mappingConfigAlias=”DefaultPrincipalMapping” authDataAlias=”ibmoss61CellManager01/tbcs”/>

</factories>

<factories xmi:type=”resources.jdbc:CMPConnectorFactory” xmi:id=”CMPConnectorFactory_1122540136518″ name=”tbcsPool3_CF” authMechanismPreference=”BASIC_PASSWORD” authDataAlias=”ibmoss61CellManager01/tbcs” connectionDefinition=”ConnectionDefinition_1054132487569″ cmpDatasource=”DataSource_1122540136518″>

<propertySet xmi:id=”J2EEResourcePropertySet_1122540136518″/>

<mapping xmi:id=”MappingModule_1122540136518″ mappingConfigAlias=”DefaultPrincipalMapping” authDataAlias=”ibmoss61CellManager01/tbcs”/>

</factories>

<factories xmi:type=”resources.jdbc:CMPConnectorFactory” xmi:id=”CMPConnectorFactory_1122540154858″ name=”tbcsPool4_CF” authMechanismPreference=”BASIC_PASSWORD” authDataAlias=”ibmoss61CellManager01/tbcs” connectionDefinition=”ConnectionDefinition_1054132487569″ cmpDatasource=”DataSource_1122540154858″>

<propertySet xmi:id=”J2EEResourcePropertySet_1122540154858″/>

<mapping xmi:id=”MappingModule_1122540154858″ mappingConfigAlias=”DefaultPrincipalMapping” authDataAlias=”ibmoss61CellManager01/tbcs”/>

</factories>

<factories xmi:type=”resources.jdbc:CMPConnectorFactory” xmi:id=”CMPConnectorFactory_1122540217480″ name=”acctPool1_CF” authMechanismPreference=”BASIC_PASSWORD” authDataAlias=”ibmoss61CellManager01/account” connectionDefinition=”ConnectionDefinition_1054132487569″ cmpDatasource=”DataSource_1122540217480″>

<propertySet xmi:id=”J2EEResourcePropertySet_1122540217480″/>

<mapping xmi:id=”MappingModule_1122540217480″ mappingConfigAlias=”DefaultPrincipalMapping” authDataAlias=”ibmoss61CellManager01/account”/>

</factories>

<factories xmi:type=”resources.jdbc:CMPConnectorFactory” xmi:id=”CMPConnectorFactory_1122540235983″ name=”acctPool2_CF” authMechanismPreference=”BASIC_PASSWORD” authDataAlias=”ibmoss61CellManager01/account” connectionDefinition=”ConnectionDefinition_1054132487569″ cmpDatasource=”DataSource_1122540235983″>

<propertySet xmi:id=”J2EEResourcePropertySet_1122540235983″/>

<mapping xmi:id=”MappingModule_1122540235983″ mappingConfigAlias=”DefaultPrincipalMapping” authDataAlias=”ibmoss61CellManager01/account”/>

</factories>

<factories xmi:type=”resources.jdbc:CMPConnectorFactory” xmi:id=”CMPConnectorFactory_1122540260579″ name=”acctPool3_CF” authMechanismPreference=”BASIC_PASSWORD” authDataAlias=”ibmoss61CellManager01/account” connectionDefinition=”ConnectionDefinition_1054132487569″ cmpDatasource=”DataSource_1122540260580″>

<propertySet xmi:id=”J2EEResourcePropertySet_1122540260580″/>

<mapping xmi:id=”MappingModule_1122540260580″ mappingConfigAlias=”DefaultPrincipalMapping” authDataAlias=”ibmoss61CellManager01/account”/>

</factories>

<factories xmi:type=”resources.jdbc:CMPConnectorFactory” xmi:id=”CMPConnectorFactory_1122540282219″ name=”acctPool4_CF” authMechanismPreference=”BASIC_PASSWORD” authDataAlias=”ibmoss61CellManager01/account” connectionDefinition=”ConnectionDefinition_1054132487569″ cmpDatasource=”DataSource_1122540282219″>

<propertySet xmi:id=”J2EEResourcePropertySet_1122540282219″/>

<mapping xmi:id=”MappingModule_1122540282219″ mappingConfigAlias=”DefaultPrincipalMapping” authDataAlias=”ibmoss61CellManager01/account”/>

</factories>

另外需要增加”resources.jdbc:JDBCProvider”段的配置,内容见附件。

(3)修改文件security.xml,增加如下内容:

<authDataEntries xmi:id=”JAASAuthData_1122539927156″ alias=”ibmoss61CellManager01/tbcs” userId=”tbcs” password=”{xor}Kz08LA==”/>

<authDataEntries xmi:id=”JAASAuthData_1122539943936″ alias=”ibmoss61CellManager01/report” userId=”report” password=”{xor}LTovMC0r”/>

<authDataEntries xmi:id=”JAASAuthData_1122539956085″ alias=”ibmoss61CellManager01/account” userId=”account” password=”{xor}Pjw8MCoxKw==”/>

在管理控制台保存配置,覆盖原security.xml文件。

11.6    检验是否发布成功

(1)重新启动节点:

#cd /washome/WebSphere/AppServer/profiles/Server01/bin

#./stopNode.sh

#./startNode.sh

(2)访问http://10.71.139.61/boss,显示营业系统首页,发布成功。

12    附件

12.1    创建REGION的脚本文件

12.2    CICS客户端配置文件


12.3    JDBC配置

将此文件内容加入资源配置文件resources.xml中:

12.4    Web应用更新脚本

以下文章点击率最高

Loading…


发表评论

邮箱地址不会被公开。 必填项已用*标注