Re: felix security: Bundle in cache doesn't pass security check anymore.

2013-02-12 Thread Reto Bachmann-Gmür
Hi Karl Trying to compile the trunk version of framework.security I get: [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ org.apache.felix.framework.security --- [INFO] Compiling 11 source files to /data-ssd-unencrypted/projects-apache/felix/framework.security/target/classes

Re: felix security: Bundle in cache doesn't pass security check anymore.

2013-02-12 Thread Karl Pauls
You'd have to use java6 or lower to compile. I guess I can fix that too. regards, Karl On Tue, Feb 12, 2013 at 8:06 AM, Reto Bachmann-Gmür r...@wymiwyg.comwrote: Hi Karl Trying to compile the trunk version of framework.security I get: [INFO] --- maven-compiler-plugin:2.3.2:compile

Very beginner question: maven, netbeans. Implementing a client....

2013-02-12 Thread Imóveis Nacionais
Hi all, my first time I am a very new beginner in osgi and am stating with netbeans maven and felix I created the project MyOSGi as a Maven OSGi bundle. In the src folder I have the com.mycompany.myosgi package which has the activator and Serviceimpl In the src folder i have another package

Re: Very beginner question: maven, netbeans. Implementing a client....

2013-02-12 Thread Ferry Huberts
On 12/02/13 13:21, Imóveis Nacionais wrote: Hi all, my first time [snip] How can I access server bundle interface type during compile time? put the 'server bundle' on the classpath during compile -- Ferry Huberts -

Re: Very beginner question: maven, netbeans. Implementing a client....

2013-02-12 Thread Ferry Huberts
On 12/02/13 13:21, Imóveis Nacionais wrote: Hi all, my first time I am a very new beginner in osgi and am stating with netbeans maven and felix If you're willing to use Eclipse, then bndtools might be something you'd want to try. Follow the tutorial on http://bndtools.org/tutorial.html

RE: Very beginner question: maven, netbeans. Implementing a client....

2013-02-12 Thread Bellinger, Matthew
Hello Alex, I am by no means an OSGi expert either, but if I am understanding your code correctly, you are registering the 'ServiceImpl' as a service by it's class name, but asking for the HelloInterface service in your client. If ServiceImpl implements HelloInterface, then try registering

Re: Very beginner question: maven, netbeans. Implementing a client....

2013-02-12 Thread Holger Hoffstätte
On 02/12/13 13:21, Imóveis Nacionais wrote: How can I access server bundle interface type during compile time? By adding it into a separate -api jar for (both client and server) compile time. For runtime you can either turn that jar into a bundle as well (so that compile-time structure

Re: felix security: Bundle in cache doesn't pass security check anymore.

2013-02-12 Thread Reto Bachmann-Gmür
Rehi, Created FELIX-3893 nevertheless. I cannot assign the issue, but I can close the issue if can see the issue is solved in trunk ;) Cheers, Reto On Tue, Feb 12, 2013 at 8:06 AM, Reto Bachmann-Gmür r...@wymiwyg.com wrote: Hi Karl Trying to compile the trunk version of framework.security I

Re: felix security: Bundle in cache doesn't pass security check anymore.

2013-02-12 Thread Karl Pauls
Well, i just tried and it seems to work with the current framework and security trunk. It be nice if you could double-check as I'm not sure I did the right thing. regards, Karl On Tue, Feb 12, 2013 at 8:26 AM, Reto Bachmann-Gmür r...@apache.org wrote: Rehi, Created FELIX-3893 nevertheless.

Re: felix security: Bundle in cache doesn't pass security check anymore.

2013-02-12 Thread Karl Pauls
I commited a fix for the java7 issue so the security provider should compile for you. regards, Karl On Tue, Feb 12, 2013 at 3:28 PM, Karl Pauls karlpa...@gmail.com wrote: Well, i just tried and it seems to work with the current framework and security trunk. It be nice if you could

Re: felix security: Bundle in cache doesn't pass security check anymore.

2013-02-12 Thread Reto Bachmann-Gmür
Pomising If you could deploy the trunk version to https://repository.apache.org/content/repositories/snapshots/org/apache/felix/org.apache.felix.framework.security/ this would safe me from installing an old java version. Cheers, Reto On Tue, Feb 12, 2013 at 3:28 PM, Karl Pauls

Re: felix security: Bundle in cache doesn't pass security check anymore.

2013-02-12 Thread Karl Pauls
Just try again with the latest trunk - it should compile with java7 now. regards, Karl On Tue, Feb 12, 2013 at 3:33 PM, Reto Bachmann-Gmür r...@apache.org wrote: Pomising If you could deploy the trunk version to

Re: Very beginner question: maven, netbeans. Implementing a client....

2013-02-12 Thread Imóveis Nacionais
On Tue, Feb 12, 2013 at 12:47 PM, Holger Hoffstätte holger.hoffstae...@googlemail.com wrote: On 02/12/13 13:21, Imóveis Nacionais wrote: How can I access server bundle interface type during compile time? By adding it into a separate -api jar for (both client and server) compile time.

RE: Very beginner question: maven, netbeans. Implementing a client....

2013-02-12 Thread Bellinger, Matthew
You should only have to import the interface (api) that you are trying to get the service for. You don't have to specifically import the implementation. ~Matt -Original Message- From: Imóveis Nacionais [mailto:imoveisnacion...@gmail.com] Sent: Tuesday, February 12, 2013 10:10 AM To:

UPnP BaseDriver

2013-02-12 Thread Trabelsi MAHER
Hi everyone, how can I get the list of registered devices by BaseDriver. thanks for reply - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org

Re: Very beginner question: maven, netbeans. Implementing a client....

2013-02-12 Thread Imóveis Nacionais
Done! On client, I have to do RClick on dependencies folder | add | open projects | and add the bundle server project. Everythings is fine and works now.! My first OSGi app!! :-) Thanks you all! Alex On Tue, Feb 12, 2013 at 3:15 PM, Bellinger, Matthew matthew.bellin...@saabsensis.com wrote:

Nakamura component always goes down

2013-02-12 Thread Mike Ottinger
Hi All, We are using the Nakmura core (version 1.5.0) and SOLR (version 1.4.4) bundles with a CQ5.5 and Solr integration. When we do a package install of the core and solr bundles in Felix (version 3.0.8) , the org.sakaiproject. nakamura.lite.storage.mem.MemoryStorageClientPool component comes

Console calling OSGi bundle returns “cannot be cast to…”

2013-02-12 Thread Imóveis Nacionais
I have 2 bundles, one that supplys a service and the other that calls the service. When both are installed and started in felix framework everything works. Now, I would like to drop/forget the client bundle and create a console app to launch felix, install server bundle and call the service.

[iPOJO] Publishing an OSGi service, annotated with iPOJO's @Component and @Provides after manual instantiating

2013-02-12 Thread Alexander Tumin
Hello, i have a felix OSGi system and iPOJO bundles in it, managing service dependencies for all other bundles. And i have three types of public services (interfaces) in this system: - Subscriber-- represents a participant in system's messaging. - ProtocolInstance -- represents a

Re: Console calling OSGi bundle returns “cannot be cast to…”

2013-02-12 Thread Richard S. Hall
You are loading the class from two different class loaders, thus they are not compatible with each other. You cannot import packages from bundles when you are on the outside of the framework, such as you are trying to do by moving your client to the outside. The only way you can get this to