Re: Using a Bundle to load other Bundles

2010-02-21 Thread Marcel Offermans
The problem you were having is that when you start the first bundle, it will try to resolve all its imports. That is likely to fail because there are a couple of bundles that still have not been installed. So installing all bundles first makes sure that as soon as you start starting bundles, at

Re: Using a Bundle to load other Bundles

2010-02-21 Thread Richard S. Hall
On 2/22/10 7:48 AM, Craig Dickson wrote: Thanks, that solved it apparently. For some explanation, the two-pass approach deals with dependencies among the bundles. If you install and start as you go, then depending on ordering the start will fail if dependent bundles have not been install

Re: Dependency with javax.* packages & UNRESOLVED CONSTRAINT (SMX4/FUSE4.2 - Felix 2.0.1)

2010-02-21 Thread Guo Du
On Sun, Feb 21, 2010 at 7:48 PM, Karl Pauls wrote: >> (org.osgi.framework.BundleException: Unresolved constraint in bundle >> maestro_SOAFw_WebServices [117]: package; >> (&(package=javax.xml.datatype)(version>=1.4.0))) > > And provided is: > >> If we check what is exported by the bundle 0 (=jre)

Re: unresolved package org.osgi.framework...

2010-02-21 Thread Richard S. Hall
On 2/21/10 7:06 PM, Mahammad Nasir wrote: Thank you..It worked...! Excellent. Feel free to offer some suggestions on improving the web page if it wasn't clear. -> richard -Original Message- From: Richard S. Hall [mailto:he...@ungoverned.org] Sent: Saturday, February 20, 2010 8:

Re: Using a Bundle to load other Bundles

2010-02-21 Thread Craig Dickson
Thanks, that solved it apparently. On Feb 21, 2010, at 10:58 AM, Marcel Offermans wrote: > On Feb 21, 2010, at 19:16 , Craig Dickson wrote: > >> for (String bundleLocation : bundleLocations) { >> try { >> Bundle b = context.installBundle("file:" + bundleLocation); >

Re: Felix trunk build fails: rev 912392

2010-02-21 Thread Marcel Offermans
On Feb 21, 2010, at 21:03 , steve.foster wrote: > Maybe I'm just not that familiar with Maven's build process, and I'm a > newbie when it comes to building Felix from scratch (although I did a month > ago, and it worked fine). I tried following the instructions at > http://felix.apache.org/site/b

Felix trunk build fails: rev 912392

2010-02-21 Thread steve.foster
Hello All, Maybe I'm just not that familiar with Maven's build process, and I'm a newbie when it comes to building Felix from scratch (although I did a month ago, and it worked fine). I tried following the instructions at http://felix.apache.org/site/building-felix.html Buillding Felix but it s

Re: Dependency with javax.* packages & UNRESOLVED CONSTRAINT (SMX4/FUSE4.2 - Felix 2.0.1)

2010-02-21 Thread Karl Pauls
Well, you have: > (org.osgi.framework.BundleException: Unresolved constraint in bundle > maestro_SOAFw_WebServices [117]: package; > (&(package=javax.xml.datatype)(version>=1.4.0))) And provided is: > If we check what is exported by the bundle 0 (=jre) of Felix, we see > that datatype is exporte

Re: Felix File Install - Immediately poll on startup

2010-02-21 Thread Guillaume Nodet
The configuration are pushes synchronously to the ConfigAdmin by FileInstall, but ConfigAdmin will then push the changes asynchronously. THis is only valid for ManagedService and ManagedServiceFactories though, as if a bundle asks for the configuration, the correct one will be retrieved. I think

Re: Using a Bundle to load other Bundles

2010-02-21 Thread Marcel Offermans
On Feb 21, 2010, at 19:16 , Craig Dickson wrote: >for (String bundleLocation : bundleLocations) { >try { >Bundle b = context.installBundle("file:" + bundleLocation); >b.start(); >} catch (BundleException ex) { >Logger.

Re: Felix File Install - Immediately poll on startup

2010-02-21 Thread steve.foster
Thanks, that makes sense. I really appreciate your help! I think I found a work around, that worked for me at least. Instead of assigning start levels, I just put all of the core felix bundles and Pax logging into the auto startup folder (default: ./bundle) and then dropped everything else includ

Using a Bundle to load other Bundles

2010-02-21 Thread Craig Dickson
Hi, I am attempting to integrate Spring DM with my embedded Felix instance. I have used Pax Runner with its Spring DM profile to launch my app and it loads all of the necessary Spring DM bundles for me, and my app works as expected. I have also launched the Felix Shell with all of the necessary

RE: unresolved package org.osgi.framework...

2010-02-21 Thread Mahammad Nasir
Thank you..It worked...! -Original Message- From: Richard S. Hall [mailto:he...@ungoverned.org] Sent: Saturday, February 20, 2010 8:24 PM To: users@felix.apache.org Subject: Re: unresolved package org.osgi.framework... On 2/20/10 5:33 PM, Mahammad Nasir wrote: > Hi richard > > I have t

Dependency with javax.* packages & UNRESOLVED CONSTRAINT (SMX4/FUSE4.2 - Felix 2.0.1)

2010-02-21 Thread Charles Moulliard
Here is more details about the unresolved constraint Here is what the bundle import : ka...@root> headers 117 MAESTRO :: SOA Fw :: WebServices (117) -- Bnd-LastModified = 1266589733099 Build-Jdk = 1.6.0_16 Built-By = T0106319 Bundle-ManifestVersion = 2 Bundle-