Mohit, If you downloaded the ServiceMix NMR binary, you should have a file named features.xml in there. A copy of this file is available on-line at http://repo2.maven.org/maven2/org/apache/servicemix/nmr/apache-servicemix-nmr/1.0.0/apache-servicemix-nmr-1.0.0-features.xml.
If you look in the <feature name="nmr" version="1.0.0"> element, you'll find a list of all bundles that we install for running the NMR on ServiceMix Kernel. An example: the second exception you get, about the missing javax.jbi package, will be resolved by installing the jbi-api-1.0 specs bundle that is in the list. ServiceMix Kernel also comes with Spring DM, which is what the other messages you're seeing are about. You can find out more about Spring DM at http://www.springsource.org/osgi (there's also a link to download it there). Regards, Gert Vanthienen ------------------------ Open Source SOA: http://fusesource.com Blog: http://gertvanthienen.blogspot.com/ 2009/4/7 Mohit.Gupta <[email protected]>: > > These are the steps that I performed :- > 1. Downloaded and unzipped ServiceMix NMR binary. > 2. Installed felix-framework 1.6.0. > 3. Installed 4 modules under nmr_install_root/lib/ on felix framework. > 4. Started the above modules, 3 modules get started while > servicemix-client.jar gives the following error :- > > -> ERROR: Error starting > file:///space/servicemix/sm4/apache-servicemix-nmr-1.0.0/src/assembly/target/installation/apache-servicemix-nmr-1.0.0/lib/servicemix-client.jar > (org.osgi.framework.BundleException: Unresolved constraint in bundle 6: > package; (&(package=org.springframework.osgi.context)(version>=1.2.0.m2))) > org.osgi.framework.BundleException: Unresolved constraint in bundle 6: > package; (&(package=org.springframework.osgi.context)(version>=1.2.0.m2)) > at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3090) > at org.apache.felix.framework.Felix.startBundle(Felix.java:1439) > at > org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984) > at > org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263) > at java.lang.Thread.run(Thread.java:619) > > 5. On trying to install and start any component the following error is > displayed :- > org.osgi.framework.BundleException: Unresolved constraint in bundle 10: > package; (package=javax.jbi) > > - Mohit > > > Chris Custine wrote: >> >> This should be fairly easy to get working but we have not documented how >> to >> do it. Lets start by looking at the errors you are getting and go from >> there. Could you post some additional info on what is happening with your >> current configuration? >> >> Thanks, >> Chris >> -- >> Chris Custine >> FUSESource :: http://fusesource.com >> My Blog :: http://blog.organicelement.com >> Apache ServiceMix :: http://servicemix.apache.org >> Apache Directory Server :: http://directory.apache.org >> >> >> On Tue, Apr 7, 2009 at 12:22 AM, Mohit.Gupta <[email protected]> wrote: >> >>> >>> Hi, >>> >>> I am trying to run, ServiceMix-4 NMR on a Felix framework that is not the >>> ServiceMix kernel. For this I installed the bundles in the NMR/lib >>> directory >>> on the framework, but unable to get the NMR running. Am I going in the >>> right >>> direction? >>> >>> Is there any other thing that I need to do? >>> >>> Thanks >>> Mohit >>> -- >>> View this message in context: >>> http://www.nabble.com/newbie%3A-ServiceMix-4-NMR-on-felix-runtime-other-than-ServiceMix-kernel-tp22922654p22922654.html >>> Sent from the ServiceMix - User mailing list archive at Nabble.com. >>> >>> >> >> > > -- > View this message in context: > http://www.nabble.com/newbie%3A-ServiceMix-4-NMR-on-felix-runtime-other-than-ServiceMix-kernel-tp22922654p22925713.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. > >
