Re: A couple of questions on iPojo

2009-10-11 Thread Clement Escoffier
Hi, On 12.10.2009, at 02:01, Vlatko Davidovski wrote: Hi! As I am new to iPojo, I have a couple of questions: 1. How to get the value of the annotated field managedservice programmatically? The Architecture service can give you such information. If not disabled, every instance exposed an

A couple of questions on iPojo

2009-10-11 Thread Vlatko Davidovski
Hi! As I am new to iPojo, I have a couple of questions: 1. How to get the value of the annotated field managedservice programmatically? 2. Does immediate attribute of service A mean that required services (B & C) are monitored and as soon as they are available, an instance of the service A

Re: Default web app integration behavior

2009-10-11 Thread Felix Meschberger
Hi Richard S. Hall schrieb: > On 10/10/09 22:46, Felix Meschberger wrote: >> Hi, >> >> Richard S. Hall schrieb: >> >>> On 10/9/09 14:01, Edelson, Justin wrote: >>> Finally, I do think it's a worthwhile discussion to see if the Sling launcher should be better housed in the Felix or Karaf

Re: Help with unresolved constraint on org.osgi.framework version 1.5

2009-10-11 Thread Richard S. Hall
You shouldn't be trying to load the framework JAR file as a bundle, nor is there much reason to load the OSGi core JAR as a bundle. It is not really clear what you are trying to do. I assume you can start Felix 2.0.0 with the PAX tools...perhaps you should ask over on their mailing lists if no

Re: Help with unresolved constraint on org.osgi.framework version 1.5

2009-10-11 Thread Guo Du
On Sun, Oct 11, 2009 at 10:54 AM, Ivanhoe Abrahams wrote: > org.osgi.framework.BundleException: Bundle symbolic name and version are not > unique: org.apache.felix.framework:2.0.0 I am not familiar with pax, it looks like you have felix 1.x.x and 2.0.0 loaded at the same time. You may configure p

Re: Default web app integration behavior

2009-10-11 Thread Richard S. Hall
On 10/10/09 22:46, Felix Meschberger wrote: Hi, Richard S. Hall schrieb: On 10/9/09 14:01, Edelson, Justin wrote: Finally, I do think it's a worthwhile discussion to see if the Sling launcher should be better housed in the Felix or Karaf projects, merely because, as you point out, it "has no

Re: Help with unresolved constraint on org.osgi.framework version 1.5

2009-10-11 Thread Ivanhoe Abrahams
H Guo Thank you for your response I have tried your suggestion, but I am now getting different error Welcome to Felix org.osgi.framework.BundleException: Bundle symbolic name and version are not unique: org.apache.felix.framework:2.0.0 at org.apache.felix.framework.Bundl

Re: Logging and iPOJO

2009-10-11 Thread Clement Escoffier
On 10.10.2009, at 21:27, Henrik Niehaus wrote: Hi Clement, I'm not sure, if I understood you right. Do you mean, I should create a central method for logging for each bundle? Maybe a static one like BundleXYLogger.log(...) ? OSGi generally discourage using statis. Something that you can