On 4/19/10 10:50, Norbert Somlai wrote:
Thanks for the tip, but I couldn't make it work, it throws a ClassNotFoundException for org.apache.felix.main.Main. Not to mention the fact I have no idea what this does. :-)
You must have to specify the absolute path to the felix.jar file in the command I suggested... Felix' launcher uses the standard OSGi launching API, so it can launch Equinox too. You just need to put Equinox on the class path first.
It seems we found the cause. For configuration admin we used org.eclipse.osgi.services_3.2.0.v20090520-1800.jar under Felix, thinking that it should be platform-independent. Replacing it with org.apache.felix.configadmin-1.2.4.jar seems to have solved the issue.
Good. Well, Felix Config Admin should be platform independent... -> richard
Richard S. Hall wrote:Depends on how Equinox is configured...I am not sure if they are still automatically boot delegating and to which class loader, but if so that could explain why it works. If you want to investigate some more, try to run your example on Equinox using the Felix launcher, that way we will know everything is configured the same. For example: java -cp /path/to/equinox.jar:./bin/felix.jar org.apache.felix.main.Main
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

