Deploying OSGi composite bundle projects
Before you begin
Important: Applicable to WebSphere®
Application Server traditional
- Create a composite bundle project.
- Install WebSphere Application
Server:
- Open the IBM® Installation Manager.
- Click Install. The Install Packages page opens.
- In the package list, select the WebSphere Application Server version that you want to install, then click Next.
- Read the license agreements. Accept the license agreements then click Next.
- Follow the instructions in the Installation Manager to install the WebSphere Application Server product.
Important: If you use a different test environment, the steps to deploy your application differ from the steps provided in this topic.
About this task
Important: Updating a deployed CBA does not
automatically republish the EBAs that reference the CBA.
- If the publishing setting for your server is set to run the resources in your workspace, restart the application on the server in order for the EBA to recognize the changes in the CBA.
- If the publishing setting for your server is set to run the resources on the server, remove the application from the server and then republish the application.
For more information, see Checking the update status of an OSGi composition unit.
To deploy your OSGi composite bundle to a server:
Procedure
Add your OSGi composite bundle to a server instance
Procedure
- In the Servers view (Add and Remove. The Add and Remove dialog opens. ), right-click your server instance and select
- In the list of Available resources, select your OSGi composite bundle project and then click Add to add it to the list of configured resources.
- Click Finish.
Results

When you add your OSGi composite bundle project to the server, the server checks any package dependencies. If your composite bundle has package dependencies outside of your composite bundle project, the dependencies are resolved against any configured bundle repositories. The composite is started after all bundle dependencies are verified.
Run your application on the server
Procedure
If the server is not running, go to the Servers view (Start.
Your OSGi application is started after the publish completes. ), right-click your server instance, and then select