top

4. Installing the NMR in Equinox

This page is outdated and needs to be reworked.
Some work has been done inside the Eclipse Swordfish project ...

Installation

Here are the required steps to install the NMR and JBI layer in Equinox:

The config.ini file can be downloaded from config.ini.
You can find a shell script for unix based OS to set up the whole environment here. If you're on Windows, grab it nonetheless but download all the jars manually using the URLs in this file.

#top

Running Equinox

Run the following command:

and the NMR and JBI layer should be started.

Installing a JBI application

In the console, run the following commands:

Use the ss command to find the IDs of the four installed bundles and start them:

Below is an example of the output of the start command:

start 27 May 15, 2008 3:10:14 PM org.apache.servicemix.jbi.deployer.impl.Deployer installSharedLibrary INFO: Deploying bundle 'null (servicemix-shared)' as a JBI shared library osgi> start 28 May 15, 2008 3:10:18 PM org.apache.servicemix.jbi.deployer.impl.Deployer installComponent INFO: Deploying bundle 'null (servicemix-jsr181)' as a JBI component May 15, 2008 3:10:22 PM org.apache.servicemix.jbi.runtime.impl.ComponentRegistryImpl doRegister INFO: JBI component registered with properties: {NAME=servicemix-jsr181, TYPE=service-engine, objectClass=[Ljava.lang.String;@5b2fd8, service.id=37} log4j:WARN No appenders could be found for logger (org.apache.servicemix.jsr181.Jsr181Component). log4j:WARN Please initialize the log4j system properly. osgi> start 29 May 15, 2008 3:10:26 PM org.apache.servicemix.jbi.deployer.impl.Deployer installComponent INFO: Deploying bundle 'null (servicemix-http)' as a JBI component May 15, 2008 3:10:26 PM org.apache.servicemix.jbi.runtime.impl.ComponentRegistryImpl doRegister INFO: JBI component registered with properties: {NAME=servicemix-http, TYPE=binding-component, objectClass=[Ljava.lang.String;@ef33ad, service.id=41} osgi> start 30 May 15, 2008 3:10:30 PM org.apache.servicemix.jbi.deployer.impl.Deployer deployServiceAssembly INFO: Deploying bundle 'null (wsdl-first-sa)' as a JBI service assembly ]]>

Starting the JBI application

The JBI application has been automatically started, so now, just point your web browser to: