...
anchortop
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:
- create a new folder
- create a subfolder named
system
and another one namedconfiguration
- create a file named
configuration/config.ini
in this folder and paste the contents belowfrom config.ini - download the equinox framework jar (org.eclipse.osgi_xxx.jar) from here
- in the system folder, you need to download and put all the files listed in the configuration file. These files are available from Equinox, Orbit, the maven central repo and ServiceMix maven2 repo
...
The config.ini
...
osgi.bundles= \
system/org.apache.commons.logging_1.0.4.v200803061811.jar@start, \
system/org.eclipse.equinox.cm_3.2.0.v20070116.jar@start, \
system/org.eclipse.osgi.services_3.1.200.v20070605.jar@start, \
system/org.eclipse.equinox.common_3.3.0.v20070426.jar@start, \
system/org.eclipse.equinox.preferences_3.2.101.R33x_v20080117.jar@start, \
system/geronimo-activation_1.1_spec-1.0.2.jar@start, \
system/geronimo-jta_1.1_spec-1.1.1.jar@start, \
system/xbean-classloader-3.3.1-r631610.jar@start, \
system/org.apache.servicemix.bundles.aopalliance-1.0-1.0-m3.jar@start, \
system/org.apache.servicemix.bundles.ant-1.7.0-1.0-m3.jar@start, \
system/spring-aop-2.5.2.jar@start, \
system/spring-beans-2.5.2.jar@start, \
system/spring-context-2.5.2.jar@start, \
system/spring-core-2.5.2.jar@start, \
system/spring-osgi-core-1.0.2.jar@start, \
system/spring-osgi-extender-1.0.2.jar@start, \
system/spring-osgi-io-1.0.2.jar@start, \
system/org.apache.servicemix.kernel.filemonitor-1.0-m3.jar@start, \
system/org.apache.servicemix.nmr.api-1.0-m1.jar@start, \
system/org.apache.servicemix.nmr.core-1.0-m1.jar@start, \
system/org.apache.servicemix.nmr.osgi-1.0-m1.jar@start, \
system/org.apache.servicemix.nmr.spring-1.0-m1.jar@start, \
system/org.apache.servicemix.jbi.api-1.0-m1.jar@start, \
system/org.apache.servicemix.jbi.deployer-1.0-m1.jar@start, \
system/org.apache.servicemix.jbi.osgi-1.0-m1.jar@start, \
system/org.apache.servicemix.jbi.runtime-1.0-m1.jar@start
eclipse.ignoreApp=true
# removed javax.transaction from the system bundle
org.osgi.framework.system.packages= \
com.sun.jimi.core, \
com.sun.net.ssl, \
com.sun.net.ssl.internal.ssl, \
com.sun.org.apache.xalan.internal, \
com.sun.org.apache.xalan.internal.res, \
com.sun.org.apache.xalan.internal.xsltc.trax, \
com.sun.org.apache.xerces.internal.dom, \
com.sun.org.apache.xerces.internal.jaxp, \
com.sun.org.apache.xerces.internal.xni, \
com.sun.org.apache.xml.internal, \
com.sun.org.apache.xml.internal.utils, \
com.sun.org.apache.xpath.internal, \
com.sun.org.apache.xpath.internal.jaxp, \
com.sun.org.apache.xpath.internal.objects, \
com.sun.xml.fastinfoset.dom, \
com.sun.xml.fastinfoset.sax, \
com.sun.xml.fastinfoset.stax, \
javax.annotation, \
javax.annotation.security, \
javax.crypto, \
javax.crypto.interfaces, \
javax.crypto.spec, \
javax.imageio, \
javax.imageio.metadata, \
javax.imageio.stream, \
javax.jms, \
javax.management, \
javax.management.loading, \
javax.management.modelmbean, \
javax.management.remote, \
javax.naming, \
javax.naming.directory, \
javax.naming.spi, \
javax.net, \
javax.net.ssl, \
javax.rmi, \
javax.security.auth, \
javax.security.auth.callback, \
javax.security.auth.login, \
javax.security.auth.spi, \
javax.security.auth.x500, \
javax.security.cert, \
javax.security.sasl, \
javax.servlet, \
javax.sql, \
javax.swing, \
javax.swing.event, \
javax.xml.datatype, \
javax.xml.namespace, \
javax.xml.parsers, \
javax.xml.transform, \
javax.xml.transform.dom, \
javax.xml.transform.sax, \
javax.xml.transform.stream, \
javax.xml.validation, \
javax.xml.xpath, \
org.jvnet.fastinfoset, \
org.jvnet.staxex, \
org.omg.CORBA, \
org.omg.CosNaming, \
org.w3c.dom, \
org.w3c.dom.bootstrap, \
org.w3c.dom.ls, \
org.w3c.dom.traversal, \
org.xml.sax, \
org.xml.sax.ext, \
org.xml.sax.helpers, \
sun.misc, \
sun.security.provider
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.
...
Running Equinox
Run the following command:
...
...
and the NMR and JBI layer should be started.
...
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:
...
Starting the JBI application
The JBI application has been automatically started, so now, just point your web browser to:
...
...