Network Deployment (Distributed operating systems), v8.0 > Scripting the application serving environment (wsadmin) > Use properties files to manage system configuration > Manage specific configuration objects using properties files


Work with J2C resource adapter properties files

We can use properties files to install or remove Java 2 Platform, Enterprise Edition (J2EE) Connector Architecture (J2C) resource adapters.

Determine the changes to make to your J2C resource adapter configuration.

Start the wsadmin scripting tool.

To start wsadmin using the Jython language, run...

Use a properties file, you can install or remove a J2C resource adapter.

Run administrative commands using wsadmin to apply or delete a properties file for a J2C resource adapter.

Actions for J2C resource adapter properties files. We can create and delete J2C resource adapter properties.

Action Procedure
create (install) 1. Create a properties file that sets required properties for a J2C resource adapter and that contains the following lines in the header:
CreateDeleteCommandProperties=true
commandName=installResourceAdapter
2. Run applyConfigProperties to install the resource adapter.
modify Not applicable
delete (remove) To remove the entire resource adapter, uncomment #DELETE=true and then run deleteConfigProperties.
create Property Not applicable
delete Property Not applicable

Optionally, you can use interactive mode with the commands:

AdminTask.command_name('-interactive')


Procedure


Results

We can use the properties file to configure and manage the J2C resource adapter.


What to do next

Save the changes to the configuration.
Extract properties files using wsadmin.sh
Create server, cluster, application, or authorization group objects using properties files and wsadmin scripting
Delete server, cluster, application, or authorization group objects using properties files


Related


PropertiesBasedConfiguration command group using wsadmin.sh

+

Search Tips   |   Advanced Search