websphere datasource配置文件

来源:互联网 发布:windows nginx 403 编辑:程序博客网 时间:2024/05/22 07:54

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. Forexample, enter sample to make your Data Source point tojdbc:db2:sample." required="true"/>

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