Use the removeLocalRepositoryBundles command to remove bundles and composite bundles from the bundle repository that is included in the product.
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 bundles and composite bundles from the internal bundle repository.
You cannot remove composite bundles at the same time as you remove any bundles that they reference. You must first remove the composite bundles, then run the removeLocalRepositoryBundles command a second time to remove the referenced bundles.
You can use the listLocalRepositoryBundles command to list the symbolic names and versions of the bundles currently held in the repository. The output from the listLocalRepositoryBundles command is formatted so that you can copy the list of bundles, then paste them into the removeLocalRepositoryBundles command.
The specified bundles.
A list of the bundles to be removed.
The list entry for each bundle or composite bundle contains the bundle symbolic name and the bundle version. The bundle version is in the form n.n.n, for example 1.1.0. The bundle symbolic name, together with the bundle version, identifies a unique bundle.
None.
None.
AdminTask.removeLocalRepositoryBundles([ 'bundle1_symbolic_name;bundle1_version bundle2_symbolic_name;bundle2_version bundle3_symbolic_name;bundle3_version ' ])