Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Let's run the server in Felix 13.80.01. As a prerequisite it requires some of the OSGi Compendium Specification interfaces. These don't come with the Felix download, but you can install a bundle that contains these interfaces straight from Maven.
In this walkthrough I'm using the single-bundle distribution of CXF/DOSGi which can be installed straight from the Maven release repository.

To set up my Felix environment, I'm running the following commands:

Code Block
C:\felix-1framework-3.8.0>java -jar bin\felix.jar0.1>

Welcome to Apache Felix.
=================

-> ps
START LEVEL 1
   ID   State     Gogo
g! install http://repo1.maven.org/maven2/org/osgi/org.osgi.compendium/4.2.0/org.osgi.compendium-4.2.0.jar
g! start http://www.apache.org/dist/cxf/dosgi/1.1/cxf-dosgi-ri-singlebundle-distribution-1.1.jar
... some log messages may appear...
g! lb
    0|Active     Level|  Name
[  0|org.apache.felix.framework 0] [Active(3.0.1)
    1|Active  ] [  |  0] System Bundle 1|org.apache.felix.bundlerepository (1.86.02)
[   1] [2|Active     ]| [    1] Apache Felix Shell Service (1.21|org.apache.felix.gogo.command (0.6.0)
[   2] [3|Active     ] [|    1] Apache Felix Shell TUI (1.2|org.apache.felix.gogo.runtime (0.6.0)
[   3] [4|Active     ] [|    1] Apache Felix Bundle Repository (1.4|org.apache.felix.gogo.shell (0.6.0)
-> start http://repo1.maven.org/maven2/org/osgi/org.osgi.compendium/    5|Resolved   |    1|osgi.cmpn (4.2.0/org.osgi.compendium-4.2.0.jar
-> start http://www.apache.org/dist/cxf/dosgi/1.1/.200908310645)
    6|Active     |    1|cxf-dosgi-ri-singlebundle-distribution- (1.1.jar

2.0)

Some log messages may come up now.

...