+

Search Tips   |   Advanced Search

Work with J2C resource adapter properties files

We can use properties files to install or remove J2EE Connector Architecture (J2C) resource adapters.

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

From the server profile bin directory, run wsadmin -lang jython

Using a properties file, we 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.

resource adapter properties files. We can create and
Action Procedure
create (install)

  1. Create a properties file that sets required properties for a J2C resource adapter and containing the following lines in the header:
    CreateDeleteCommandProperties=true
    commandName=installResourceAdapter

  2. Run the applyConfigProperties command to install the resource adapter.
modify Not applicable
delete (remove) To remove the entire resource adapter, uncomment #DELETE=true and then run the deleteConfigProperties command.
create Property Not applicable
delete Property Not applicable

Optionally, we can use interactive mode with the commands:


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.


Related tasks

  • Extracting properties files
  • 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

  • PropertiesBasedConfiguration (AdminTask)