Working with data source properties files

You can use properties files to create, modify, or delete data source properties.

Before you begin

Determine the changes that you want to make to your data source configuration or its configuration objects.

Start the wsadmin scripting tool. To start wsadmin using the Jython language, run the wsadmin -lang jython command from the bin directory of the server profile.

About this task

Using a properties file, you can create, modify, or delete a data source object.

Run administrative commands using wsadmin to apply a properties file for a data source to your configuration, validate the properties, or delete them.

Table 1. Actions for data source properties files. You can create, modify, and delete data source properties.
Action Procedure
create Set required properties and then run the applyConfigProperties command.
modify Edit required properties and then run the applyConfigProperties command.
delete To delete the entire DataSource object, uncomment #DELETE=true and then run the deleteConfigProperties command.
create Property Not applicable
delete Property Not applicable

Optionally, you can use interactive mode with the commands:

AdminTask.command_name('-interactive')

Procedure

Results

You can use the properties file to configure and manage the data source object and its properties.

What to do next

Save the changes to your configuration.

Task topic    

Terms and conditions for information centers | Feedback

Last updated: April 20, 2014 08:46 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-mp&topic=txml_config_prop_jdbcprovider_ds
File name: txml_config_prop_jdbcprovider_ds.html