WebSphere datasource configuration file

Source: Internet
Author: User

1) where the IBM WebSphere 6.0 configuration file may be hidden:
D:/program files/IBM/rational/SDP/6.0/runtimes/base_v6/profiles/default/config
2). The WSC extension (or folder *. WSC) is the WebSphere config directory.
3) The WSI extension file indicates the configuration instance information. In this XML file, it points to the *. WSC directory.
4) configure the data source in resources. XML, including the JNDI name and database name. the approximate location of the data source is as follows:
<Factories XMI: TYPE = "resources. JDBC: datasource"
XMI: Id = "performance_1158914595133" name = "data source 1" jndiname = "utan"
Description = "New JDBC datasource" Category = ""
Authdataalias = "utan"...>

Database Name. tlcb indicates the Database Name:
<Resourceproperties XMI: Id = "j2eeresourceproperty_1158914595564"
Name = "databasename" type = "Java. Lang. String" value = "tlcb"
Description = "this is a required property. The database name.
Example, enter sample to make your data source point
JDBC: DB2: sample. "required =" true "/>

Connect the database username information to the security. xml file, for example:
<Authdataentries XMI: Id = "jaasauthdata_1158914595609" alias = "utan" userid = "utan" Password = "{XOR} kis + MQ ="/>

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.