Re: ClassNotFoundException while exporting packages via org.osgi.framework.system.packages.extra

2010-02-16 Thread Richard S. Hall
If you specify "-jar" then "-classpath" is ignored. You have to add felix.jar to "-classpath" and then specify its main class. -> richard On 2/16/10 11:25 PM, achuthan_prak...@emc.com wrote: Hi, I am exporting packages from non-OSGi jar (Oracle Coherence) via felix system packages extra pro

iPojo unit testing

2010-02-16 Thread David Allen
I have a component that has a plugin style array of optionally required services: @Requires(optional=true) Plugin plugins[]; I'm trying to write a unit test for the component and I'm having problems understanding how to implement the dependencies so that iPojo is happy during a

Re: ClassNotFoundException while exporting packages via org.osgi.framework.system.packages.extra

2010-02-16 Thread Nima Kaviani
Thanks Cliff for the hint on changing the log level. I was just too much into finding the bug to think of reconsidering the log info! It turned out that I was checking the dependencies on the wrong bundle. I did some manipulations to the other bundle that was the source of the issue and the issue i

Re: ClassNotFoundException while exporting packages via org.osgi.framework.system.packages.extra

2010-02-16 Thread Clifford H. James
Try turning the log level up a bit (-Dfelix.log.level=1) then re-starting the framework. This should show the package wiring that is occurring. Do you have any bootDelegation settings on? ~Cliff Nima Kaviani wrote: Hi guys, it seems like I am having the same problem when trying to use the

Re: ClassNotFoundException while exporting packages via org.osgi.framework.system.packages.extra

2010-02-16 Thread Nima Kaviani
Hi guys, it seems like I am having the same problem when trying to use the SWING library. I have got the following list of libraries exported using system.packages.extra (I made the list shorter for brevity): *org.osgi.framework.system.packages.extra=\ javax.sound.sampled.spi, \ javax.sql, \

Features Plugin behavior

2010-02-16 Thread Clifford H. James
The 'features-maven-plugin' from Servicemix is nice, but it tries to *implicitly* guess the dependencies from a POM file by recursing through all child dependencies. In practice, I've oftentimes had to make use of exclusions on dependencies to avoid accidently pulling them in when I run the pl

webconsole and "Importing Bundles"

2010-02-16 Thread Sahoo
When I look at the details about a bundle using Felix web console (I am on version 2.0.6), I see some entries under the header "Importing Bundles," which I don't understand. To give an example, for bundle #77, I see the following: Imported Packages: javax.security.jacc, version=1.4.0 from org

Re: ClassNotFoundException while exporting packages via org.osgi.framework.system.packages.extra

2010-02-16 Thread Karl Pauls
try to set the parent classloader to framework via the following property: org.osgi.framework.bundle.parent=framework regards, Karl On Tue, Feb 16, 2010 at 4:25 PM, wrote: > Hi, > > > > I am exporting packages from non-OSGi jar (Oracle Coherence) via felix > system packages extra property  (s

ClassNotFoundException while exporting packages via org.osgi.framework.system.packages.extra

2010-02-16 Thread Achuthan_Prakash
Hi, I am exporting packages from non-OSGi jar (Oracle Coherence) via felix system packages extra property (snippet below) org.osgi.framework.system.packages.extra=\ . . com.tangosol.util,\ com.tangosol.net,\ com.tangosol.net.cache,\ com.tangosol.util.filter,\ com.tangosol.util.processo

webconsole in obr

2010-02-16 Thread Sahoo
I have two questions: 1. Should the two variants [1] of web console use the same symbolic name and version? 2. The felix release repo [2] contains bare variant of the webconsole. Could it contain both the variants? Is the answer NO because they use same symbolic name and version. Thanks, Saho

Re: Question about the WebConsole JSON API

2010-02-16 Thread Carsten Ziegeler
Hi, Daniel Bimschas wrote: > Hi list, > > I have a question regarding the API that is (implicitly) exposed by the > WebConsole bundle. > I need to write an application-specific web based GUI. Some of the actions in this GUI will > also do interaction with e.g. the Configuration Admin Service. No