modifySCAModuleProperty command
Use the modifySCAModuleProperty command to modify the property values for a specified Service Component Architecture (SCA) module.
Location
Start the wsadmin scripting client from the install_root/profiles/deployment_manager_profile/bin directory.
Syntax
modifySCAModuleProperty
-moduleName moduleName
-propertyName propertyName
-newPropertyValue propertyValue
[-applicationName applicationName]
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.
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'])