Network Deployment (Distributed operating systems), v8.0 > Administer applications and their environment > Administer OSGi applications > Administer bundle repositories > Administer links to external bundle repositories


Administer links to external bundle repositories using wsadmin commands

Use wsadmin commands to list, remove, add, modify, or show details for links to external bundle repositories.


Before you begin

We can administer links to external bundle repositories by using wsadmin as described in this topic, or by using the administrative console as described in Administer links to external bundle repositories.


About this task

The external bundle repositories are bundle repositories that are available outside of WAS. If your OSGi applications reference bundles that are stored in an external bundle repository, configure a link (name and URL) to the repository so that the provisioner can retrieve the bundles when required. 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.

Depending on how the external bundle repository is implemented, you might not be able to use it to provision services, or to store composite bundles or bundles referenced by composite bundles. If your bundle includes Blueprint XML files that specify service or reference elements, and the bundle is included in a EBA asset or installed in the internal bundle repository, then these elements are respected during provisioning and appropriate services are provisioned when needed. See Provisioning for OSGi applications.


Procedure


What to do next

If you add, modify, or remove a link to an external bundle repository, save changes to the master configuration.

If you add or modify a link to an external bundle repository, save the changes before you can install an enterprise bundle archive (EBA) that depends on a bundle in that repository.


Subtopics

Parent topic: Administer links to external bundle repositories

Related concepts:

About OSGi Applications

Related tasks:

Secure OSGi Applications

Related reference:

OSGi Alliance RFC-0112 Bundle Repository Draft Specification
OSGi Applications: Troubleshooting tips
listExternalBundleRepositories command
removeExternalBundleRepository command
addExternalBundleRepository command
modifyExternalBundleRepository command

Related information:

External bundle repositories [Collection]
External bundle repositories [Settings]
Task topic Feedback
Copyright IBM Corporation 2009, 2011. All Rights Reserved.
This information center is powered by Eclipse technology.

+

Search Tips   |   Advanced Search