modifySCAModuleProperty command

Use the modifySCAModuleProperty command to modify the property values for a specified Service Component Architecture (SCA) module.

After using the command, save your changes to the master configuration using one of the following commands:
  • For Jython:
    AdminConfig.save()
  • For Jacl:
    $AdminConfig save

Prerequisites

The following conditions must be met:

Location

Start the wsadmin scripting client from the install_root/profiles/deployment_manager_profile/bin directory.

Syntax

Required parameters

-moduleName moduleName
SCA module name.
-propertyName propertyName
SCA module property name.
If the property is a member of a group, you must include the name of the group in the property name in the form:
-propertyName [groupName]propertyName
-newPropertyValue propertyValue
New value for the SCA module property.

Optional parameters

-applicationName applicationName
The name of the application associated with the SCA module. Providing an applicationName improves performance.

Example

This example changes mypropName property (in group mygroupName) to myNewPropValue.
  • Jython example:
    Note: This example uses the Jython list format for the command arguments to escape the group delimiter characters [ and ] in the property name parameter value:
    AdminTask.modifySCAModuleProperty(['-moduleName', 'MyModule',  
    '-applicationName', 'myApplication', '-propertyName', '[mygroupName]mypropName', 
    '-newPropertyValue', 'myNewPropValue'])
  • Jacl example:
    $AdminTask modifySCAModuleProperty {-moduleName MyModule 
    -applicationName myApplication -propertyName [mygroupName]mypropName 
    -newPropertyValue myNewPropValue}