Use the removeOSGiExtensions command to remove several composite bundle extensions from a composition unit.
To run the command, use the AdminTask object of the wsadmin scripting client.
The wsadmin scripting client is run from Qshell. For more information, see Configuring Qshell to run WebSphere® Application Server scripts.
print AdminTask.help('OSGiApplicationCommands')
print AdminTask.help('command_name')
AdminConfig.save()
This command removes several composite bundle extensions from a composition unit.
You can use the listOSGiExtensions command to list the symbolic names and versions of all the extensions that are currently added to a composition unit. The output from the listOSGiExtensions command is formatted so that you can copy the list of extensions, then paste them into the removeOSGiExtensions command.
The specified composition unit.
A list of the composite bundle extensions to be removed. Each list entry contains the symbolic name and the version for a composite bundle. The symbolic name, together with the version, identifies a unique composite bundle.
None.
None.
AdminTask.removeOSGiExtensions([ '-cuName', 'cu_name', '-extensions', 'cba1_symbolic_name;cba1_version cba2_symbolic_name;cba2_version cba3_symbolic_name;cba3_version ' ])