Configuring new data sources using wsadmin
You can configure new data sources using the wsadmin scripting tool.
Before you begin
Before starting this task, the wsadmin tool must be running. See the topic Starting the wsadmin scripting client for more information.In WebSphere® Application Server, any JDBC driver properties that are required by your database vendor must be set as data source properties. Consult the article Data source minimum required settings, by vendor to see a list of these properties and setting options, ordered by JDBC provider type. Consult your database vendor documentation to learn about available optional data source properties. Script them as custom properties after you create the data source. In the Related links section of this article, click the "Configuring new data source custom properties using scripting" link for more information.
You can also learn about optional data source properties in the Application Programming Guide and Reference for Java for your version of DB2® for z/OS®, if you use one of the following JDBC providers:
- DB2 for z/OS Local JDBC Provider (RRS) JDBC Provider (using the DB2 JDBC / SQLJ driver)
- DB2 Universal JDBC Driver provider
About this task
There are two ways to perform this task; use either of the following wsadmin scripting objects:- AdminTask object
- AdminConfig object
No comments:
Post a Comment