Administering bundles in the internal bundle repository using the administrative console

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.

Before you begin

You can administer bundles in the internal bundle repository by using the administrative console as described in this topic, or by using wsadmin commands as described in Administering bundles in the internal bundle repository using wsadmin commands.

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

  1. Start the administrative console.
  2. Navigate to Environment > OSGi bundle repositories > Internal bundle repository.

    The list of bundles stored in the internal bundle repository is displayed in the Internal bundle repository [Collection] form.

  3. 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:
      1. Click New. The Upload bundle [Settings] form is displayed.
      2. 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.
      3. 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.
  4. 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.

Icon that indicates the topic type Task topic

Terms and conditions for information centers | Feedback


Timestamp icon Last updated: Saturday, 20 October 2012
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v700osgijpa&product=was-nd-mp&topic=ta_admin_obr_int_console

Copyright IBM Corporation 2009, 2012.
This information center is powered by Eclipse technology. (http://www.eclipse.org)