Use the administrative console to list, delete, add, or
show further details for bundles or composite bundles in the bundle repository that is included in the product.
About this task
WebSphere® Application Server includes an internal bundle repository, in which you can store the bundles and composite bundles for your OSGi applications. The internal bundle repository can store bundles that are referenced by OSGi applications running in WebSphere Application Server. When an OSGi application is imported as an asset, the provisioner attempts to satisfy all its dependencies by using the contents of the asset, the contents of the internal bundle repository, and the contents of any available external bundle repositories. You can list, delete, add, or show further details for bundles that are held in the internal bundle repository.
Procedure
- Start the administrative console.
- Navigate to .
The list of bundles stored in the internal bundle repository
is displayed in the Internal bundle repository [Collection] form.
- Delete, add, or show details of bundles that are held in
the internal bundle repository.
- To delete one or more bundles from the repository, select the
required bundles then click Delete.
You cannot
delete a bundle if it is contained in, or referenced by, a composite bundle. You
must delete the composite bundle first, then delete the bundle.
- To add a new bundle to the repository:
- Click New. The Upload bundle [Settings] form
is displayed.
- Enter the path to the asset (typically a JAR file) that contains
the bundles you want to upload. The asset can be available on a local
or remote file system.
- Click OK. The asset is
uploaded, and displayed in the list of bundles in the Internal bundle repository [Collection] form.
- To show the details for an existing bundle in the repository,
click the name of the bundle. The details are displayed in the Internal bundle repository [Settings] form.
You cannot modify the bundle details.
- Save your changes to the master configuration. If you add a new bundle to the repository, you must save the changes before you can install an enterprise bundle archive (EBA) that depends on that bundle.