{scrollbar} |
Here are the required steps to install the NMR and JBI layer in Equinox:
system
and another one named configuration
configuration/config.ini
in this folder and paste the contents from config.iniThe 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.
{scrollbar} |
Run the following command:
java -jar org.eclipse.osgi_3.3.2.R33x_v20080105.jar -console |
and the NMR and JBI layer should be started.
In the console, run the following commands:
install jbi:http://repo1.maven.org/maven2/org/apache/servicemix/servicemix-shared-compat/3.2.1/servicemix-shared-compat-3.2.1-installer.zip install jbi:http://repo1.maven.org/maven2/org/apache/servicemix/servicemix-jsr181/3.2.1/servicemix-jsr181-3.2.1-installer.zip install jbi:http://repo1.maven.org/maven2/org/apache/servicemix/servicemix-http/3.2.1/servicemix-http-3.2.1-installer.zip install jbi:http://repo1.maven.org/maven2/org/apache/servicemix/samples/wsdl-first/wsdl-first-sa/3.2.1/wsdl-first-sa-3.2.1.zip |
Use the ss
command to find the IDs of the four installed bundles and start them:
start xxx |
Below is an example of the output of the start command:
osgi> 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 |
The JBI application has been automatically started, so now, just point your web browser to:
http://localhost:8192/ |