Re: Using the Bundle Repository

2009-03-26 Thread Kristian Köhler
Hi why not having a "OBR cache", somethink like a local repo (as for maven) which could be turned on/off. So you don't have to configure the Resolver not to search locally and you don't have to configure FileInstall (?) or something like that. Your application only has to ask the obr for the bundl

RE: Web Console Configuration

2009-03-26 Thread Joel Schuster
Perfect! Thanks, that's what I needed. From: Filippo Diotalevi [filippo.diotal...@gmail.com] Sent: Thursday, March 26, 2009 3:50 PM To: users@felix.apache.org Subject: Re: Web Console Configuration On Thu, Mar 26, 2009 at 6:55 PM, Joel Schuster wrote: > Is

Re: Using the Bundle Repository

2009-03-26 Thread Richard S. Hall
On 3/26/09 9:44 AM, Joel Schuster wrote: -Original Message- From: Richard S. Hall [mailto:he...@ungoverned.org] Sent: Thursday, March 26, 2009 10:11 AM To: users@felix.apache.org Subject: Re: Using the Bundle Repository On 3/26/09 8:39 AM, Richard S. Hall wrote: On 3/26/09 6:58 AM

Re: Web Console Configuration

2009-03-26 Thread Filippo Diotalevi
On Thu, Mar 26, 2009 at 6:55 PM, Joel Schuster wrote: > Is there a file in which I can specify the configuration for the web console > (realm, username, manager.root, etc)? > If it's the config.properties then what would the names of the properties be? > Or must I create a bundle that uses the Co

Re: Web Console Configuration

2009-03-26 Thread Felix Meschberger
Hi Joel, The Web Console is configured through the Configuration Admin and and hence can be configured by the Web Console itself. Please also refer to the Configuration section of [1] explaioning a bit more detail. Regards Felix [1] http://felix.apache.org/site/apache-felix-web-console.html Jo

Re: Blog on OSGi

2009-03-26 Thread Kirk Knoernschild
Pierre, Thank you for the links. I must take a look at the information. Kirk Knoernschild http://www.kirkk.com http://techdistrict.kirkk.com http://planet.kirkk.com twitter: pragkirk On Mar 26, 2009, at Mar 26, 12:04 PM, Pierre Dubois wrote: Have a look at: http://forge.ow2.org/projects/d

Re: Web Console Configuration

2009-03-26 Thread Alin Dreghiciu
You can use File install (http://felix.apache.org/site/apache-felix-file-install.html) to easy setup the configurations for Web Console. On Thu, Mar 26, 2009 at 7:55 PM, Joel Schuster wrote: > Is there a file in which I can specify the configuration for the web console > (realm, username, manage

Web Console Configuration

2009-03-26 Thread Joel Schuster
Is there a file in which I can specify the configuration for the web console (realm, username, manager.root, etc)? If it's the config.properties then what would the names of the properties be? Or must I create a bundle that uses the Config Admin to set these values?

Re: BundleSignerCondition problems

2009-03-26 Thread Karl Pauls
Can you explain what kind of certificate (chain) you are trying to match? The given filter: *; o=ENIT would match bundles that have been signed by any certificate that has been signed by a CA that has a CN that _starts_ with o=ENIT. Not impossible but maybe not what you wanted? In case what you w

BundleSignerCondition problems

2009-03-26 Thread Omar MAHMOUD
Hi All!! I'm working with OSGi security API under Felix. I wanted to test 4 bundles: 1-a bundles that manages the permissions. 2-RegisterService: a bundle that registers a service S. 3-GoodBundle: a signed bundle that consumes S. 4-MaliciousBundle: an unsigned bundles that attempts to consume S.

Re: Blog on OSGi

2009-03-26 Thread Pierre Dubois
Have a look at: http://forge.ow2.org/projects/dysoweb http://www.requea.com/do/Support/Documentation/Documentation/index?sysId=a40485cd-af22-4988-9514-53c1cad35ce0&pctx=dbf93cb31f622c43012043af25e444b4 http://www.requea.com/do/archi/dysoweb/Dysoweb On Mar 26, 2009, at 5:50 PM, Kirk Knoernschil

Re: [maven-bundle-plugin] how do I export-package a resource directory?

2009-03-26 Thread David Bosschaert
That makes sense, Richard. In my situation what is served out of this location is some XML schemas that are used during XML file processing. So what I could do is create an extender that registers an OSGi service, which can serve schemas. I could then register an XML schema handler (like an entity

Re: upnp base driver

2009-03-26 Thread stephane frenot
It seems that your routing table is wrong unless you have 2 network interfaces active. You can ping your two PCs, because you are on the same link (eth0) But when you throw your multicast announces you go through eth1, which go nowhere I presume. Try this : On PC1 : ifconfig eth0 192.168.0.20

Re: Blog on OSGi

2009-03-26 Thread Kirk Knoernschild
The techniques you are using are the types of best practices and patterns that are lacking, and that are impeding more widespread adoption. How are you embedding Felix in your apps? How do you support JSP? That type of thing. Can you share the techniques you're using to deploy web apps to t

RE: Using the Bundle Repository

2009-03-26 Thread Joel Schuster
> -Original Message- > From: Richard S. Hall [mailto:he...@ungoverned.org] > Sent: Thursday, March 26, 2009 10:11 AM > To: users@felix.apache.org > Subject: Re: Using the Bundle Repository > > On 3/26/09 8:39 AM, Richard S. Hall wrote: > > On 3/26/09 6:58 AM, Joel Schuster wrote: > >> I'm

Re: [maven-bundle-plugin] how do I export-package a resource directory?

2009-03-26 Thread Richard S. Hall
It seems like this sort of situation usually calls for something like the extender pattern. -> richard On 3/26/09 7:26 AM, David Bosschaert wrote: I understand that its better to avoid META-INF altogether, but in my case I have to deal with code that's already there. This code is used both in

Re: Using the Bundle Repository

2009-03-26 Thread Richard S. Hall
On 3/26/09 8:39 AM, Richard S. Hall wrote: On 3/26/09 6:58 AM, Joel Schuster wrote: I'm at somewhat of a loss. I'm trying to understand what the real advantage of using the Bundle Repository for installing bundles. I understand the advantage of it being able to discover dependencies and load

Re: Using the Bundle Repository

2009-03-26 Thread Richard S. Hall
On 3/26/09 6:58 AM, Joel Schuster wrote: I'm at somewhat of a loss. I'm trying to understand what the real advantage of using the Bundle Repository for installing bundles. I understand the advantage of it being able to discover dependencies and load those as well. However, if I deploy using o

Re: Seeing unclean bundle updates

2009-03-26 Thread Richard S. Hall
On 3/26/09 3:50 AM, Jeremias Maerki wrote: Hmm, I've just built FileInstall from SVN and the class loading issue disappeared. Sorry for that part of the noise. However, the activate->deactivate->activate is still there. Update stops an active bundle, then restarts it after the update. Then

Re: Blog on OSGi

2009-03-26 Thread Pierre Dubois
I second Rob. We came from a different perspective, but got the same result. Not saying it is trivial, but definitely doable. We do use pretty much the same stuff (log4j, hibernate, lucene, itext, jackrabbit) deployed in Felix. We do only Web dev, and our stuff runs in Tomcat, JBoss, Webl

Re: Blog on OSGi

2009-03-26 Thread Rob Walker
We do use Jetty, but we try and keep it in it's box as much as possible - doing the essentials of Http handling, resource and servlet serving, and supporting a few of the external APIs mechanisms we expose such as xmlrpc etc - Rob Kirk Knoernschild wrote: Rob, Curious - What application serv

Re: Problems with bundle resolving with bundle repository - endless resolving

2009-03-26 Thread Kristian Köhler
Hi I just added a "patch" to jira for this. https://issues.apache.org/jira/browse/FELIX-977 This solves my issue and runs much faster than the "old" implementation. Hope this helps. Kristian 2009/3/25 Kristian Köhler : > 2009/3/24 Richard S. Hall : >> But feel free to bug me some more. ;-) > >

Re: [maven-bundle-plugin] how do I export-package a resource directory?

2009-03-26 Thread David Bosschaert
I understand that its better to avoid META-INF altogether, but in my case I have to deal with code that's already there. This code is used both in the OSGi context as well as outside of OSGi. Besides, it's not so bad, because the directory that I need to export is META-INF/cxf, so there isn't reall

RE: Using the Bundle Repository

2009-03-26 Thread Joel Schuster
> -Original Message- > From: Marcel Offermans [mailto:marcel.offerm...@luminis.nl] > Sent: Thursday, March 26, 2009 8:09 AM > To: users@felix.apache.org > Subject: Re: Using the Bundle Repository > > Hello Joel, > > On Mar 26, 2009, at 14:58 , Joel Schuster wrote: > > > I'm trying to un

Re: upnp base driver

2009-03-26 Thread mathieu
according to what you sent, you don't have default route nor multicast route for *eth0* (you have a default route for eth1). please have a look to the following quotation that came from the how-to installation/usage of ushare (program that uses UPnP). i suggest you to try the quoted command. "[Yo

Re: Blog on OSGi

2009-03-26 Thread Kirk Knoernschild
Rob, Curious - What application server do you use? Jetty embedded within Felix? I never suggested it wasn't possible to do (I know it's possible), only that it isn't feasible for most organizations to attempt. But if I've got my current generation of applications deployed on WAS, WebLo

Re: Using the Bundle Repository

2009-03-26 Thread Marcel Offermans
Hello Joel, On Mar 26, 2009, at 14:58 , Joel Schuster wrote: I'm trying to understand what the real advantage of using the Bundle Repository for installing bundles. I understand the advantage of it being able to discover dependencies and load those as well. That is correct. However, if I

Using the Bundle Repository

2009-03-26 Thread Joel Schuster
I'm at somewhat of a loss. I'm trying to understand what the real advantage of using the Bundle Repository for installing bundles. I understand the advantage of it being able to discover dependencies and load those as well. However, if I deploy using obr it updates the cache, but doesn't update

Re: Blog on OSGi

2009-03-26 Thread Rob Walker
Nice response ;) I guess we just come at it from different directions. We do use OSGi for web app development, and it's been very successful. We've got rock solid GWT support, a decent spread of back end services, including all the usual infrastructure plumbing like logging, user auth, persona

Re: Blog on OSGi

2009-03-26 Thread Kirk Knoernschild
Rob, Thank you for the comment on my blog posting. I've responded, but will also take a moment to respond here, as well. I didn't intend to come across as narrowly focused. In fact, I thought I was pretty broadly focused and had made it clear I was talking about OSGi for web application d

Re: upnp base driver

2009-03-26 Thread chihi asma
This is the result of route command: Table de routage IP du noyau Destination Passerelle  Genmask Indic Metric Ref    Use Iface 192.168.0.0 *  255.255.255.0   U       0  0    0    eth0 link-local         *  255.255.0.0   U   0  

Re: Can a DS component be also a managed service?

2009-03-26 Thread Guido Spadotto
Felix Meschberger wrote: Hi Guido, [...] Point is that the Declarative Services implementation is providing the configuration to the component as part of the properties of the ComponentContext the component receives in the activate and deactivate method. So, given that the runtime is providing

Re: Seeing unclean bundle updates

2009-03-26 Thread Jeremias Maerki
Hmm, I've just built FileInstall from SVN and the class loading issue disappeared. Sorry for that part of the noise. However, the activate->deactivate->activate is still there. On 26.03.2009 12:26:06 Jeremias Maerki wrote: > I'm currently looking at a strange effect that I'm not sure how to deal >

Re: upnp base driver

2009-03-26 Thread Stefano Lenzi
In particular, I think that a route for the multicast addresses is missing. Can you provide more information regarding your network setup? Ciao, Stefano "Kismet" Lenzi mathieu wrote: Your network configuration may lack a default route. What does route command return ? mathieu On Wed, Mar 25,

Seeing unclean bundle updates

2009-03-26 Thread Jeremias Maerki
I'm currently looking at a strange effect that I'm not sure how to deal with. Maybe someone has an idea: I'm using the FileInstall 0.9.0 bundle with Felix 1.4.1. I have a bundle containing an LPR (line printer, port 515) server. Its uses Declarative Services. When I change something in that bundle

Re: Can a DS component be also a managed service?

2009-03-26 Thread Felix Meschberger
Hi Guido, Guido Spadotto schrieb: > Hi all, > I have already sent this mail to the Knopflerfish users mailing list > and received this answer from Gunnar Ekolin: > > > If I remember correctly, please correct me if not, a declarative > service component can not be a managed service itself. > > I

Re: Can a DS component be also a managed service?

2009-03-26 Thread Jeremias Maerki
I'm relatively new to OSGi so please take this with caution: DS constructs a ManagedService for you in the background. You don't have to do that yourself (so don't make ITemperatureService extend ManagedService). Instead, add the following method to your component (TemperatureSensorServiceImpl):

Re: upnp base driver

2009-03-26 Thread mathieu
Your network configuration may lack a default route. What does route command return ? mathieu On Wed, Mar 25, 2009 at 13:49, chihi asma wrote: > No there is no firewall, I can ping and telnet from one PC to the other. > > --- En date de : Mer 25.3.09, Francesco Furfari > a écrit : > > De: Fran

Can a DS component be also a managed service?

2009-03-26 Thread Guido Spadotto
Hi all, I have already sent this mail to the Knopflerfish users mailing list and received this answer from Gunnar Ekolin: If I remember correctly, please correct me if not, a declarative service component can not be a managed service itself. I think there was a discussion about this (or was it

AW: IPojo manipulation

2009-03-26 Thread Stéphane Amaudruz
Sorry, But it probably comes from a missing JAVA_HOME in the configuration. And compilation occurs with JDK 1.5. Tx everybody for your support. Stéphane -Ursprüngliche Nachricht- Von: Stéphane Amaudruz [mailto:stephane.amaud...@wikima4.com] Gesendet: Wednesday, March 25, 2009 5:49 PM