现在的位置: 首页 > 综合 > 正文

websphere datasource配置文件

2013年08月22日 ⁄ 综合 ⁄ 共 809字 ⁄ 字号 评论关闭

1) IBM WEBSPHERE 6.0 配置文件可能藏身之地:
D:/Program Files/IBM/Rational/SDP/6.0/runtimes/base_v6/profiles/default/config
2).wsc扩展名(或文件夹为*.wsc)为websphere config目录
3).wsi扩展名文件为配置instance信息,在该XML文件中,指向对应的*.wsc目录
4).数据源等的配置在resources.xml中,包括JNDI名字,数据库名等,数据源大概位置:
<factories xmi:type="resources.jdbc:DataSource"
xmi:id="DataSource_1158914595562" name="数据源 1" jndiName="utan"
description="New JDBC Datasource" category=""
authDataAlias="utan"...>

数据库名字,TLCB 为数据库名:
<resourceProperties xmi:id="J2EEResourceProperty_1158914595564"
name="databaseName" type="java.lang.String" value="TLCB"
description="This is a required property. The database name. For
example, enter sample to make your Data Source point to
jdbc:db2:sample." required="true"/>

数据库用户名信息连接到security.xml文件中,如:
<authDataEntries xmi:id="JAASAuthData_1158914595609" alias="utan" userId="utan" password="{xor}Kis+MQ=="/>

抱歉!评论已关闭.