Component Jar Files = OSGi Bundles


The java code that implements the algorithm for a component is compiled and gathered into a Java jar file called a bundle. Each bundle is a separate jar file. Bundles are stored in the bundles/aspire directory (for Aspire components) and the bundles/system"directory (for OSGi services).

You can automatically download bundles from Maven Repositories. These bundles will be loaded directly from the machine's local repository (where artifacts are stored after being downloaded from remote repositories). This allows for multiple instances of Aspire on the same machine to all share the same bundle code.

The OSGi Web Console


The OSGi web console can be accessed via http://localhost:50505/osgi . It is also available as a link on the top-right corner of the standard Aspire interface.

The standard username/password is admin/admin. Both can be changed in the Settings Configuration file.

Remove the OSGi web console

You may wish to remove the OSGi Web Console completely. You may want to do this because:

  • The OSGi Web Console admin password cannot be encrypted on disk.
  • The OSGi Web Console represents another admin access method.
  • The OSGi Web Console is not needed or used that much in a production system.

If this is the case, simply remove the "org.apache.felix.webconsole.jar" file from the "bundles/system" directory in your distribution.

Telnet access to OSGi

You can access Aspire using the Telnet protocol on the (default) port 6666.

For example, you can use PuTTY, select "telnet" as the protocol, enter 6666 as the host, and enter "localhost" (or whatever your server name is).

Telnet access provides basic Apache Felix controls, such as shutting down the server, installing and uninstalling bundles, etc.

Remove telnet access

Remove the "org.apache.felix.shell.remote.jar" file from the "bundles/system" directory in your distribution.


  • No labels