Re: [osgi-dev] Interpreting the ServiceComponentRuntime DTOs

2016-10-18 Thread Benson Margulies
On Tue, Oct 18, 2016 at 3:18 PM, Paul F Fraser  wrote:
> Hi Benson,
>
> Instead of null
>
> try using configurationAdmin.getConfiguration(pid, "?");

Thanks. This seems to have improved things. Now I can't explain why
the working test worked before, but you can't have everything.

>
> Paul
>
>
> On 18/10/2016 11:46 PM, Benson Margulies wrote:
>>
>> On Tue, Oct 18, 2016 at 8:40 AM, Timothy Ward 
>> wrote:
>>>
>>> How are you creating the configuration?
>>>
>>> Configuration Admin uses the concept of a bundle location to restrict the
>>> visibility of a pid to a particular bundle. This almost always trips people
>>> up when they create the configuration themselves (i.e. in code) as the
>>> “default” methods bind the configuration to the bundle creating it (rarely
>>> what you actually want).
>>
>> I carefully use a 'null' location:
>>
>>   configurationAdmin.getConfiguration(pid, null);
>>
>> which I thought was the right recipe.
>>
>> Here's some debug from felix CM:
>>
>> 08:37:00.164 [CM Event Dispatcher (Fire ConfigurationEvent:
>> pid=com.basistech.ws.headless.config)] DEBUG
>> org.apache.felix.configadmin.1.8.10 -
>>
>> [[org.osgi.service.cm.ConfigurationAdmin]]getConfiguration(pid=com.basistech.ws.bus,
>> location=null)
>> 08:37:00.164 [CM Event Dispatcher (Fire ConfigurationEvent:
>> pid=com.basistech.ws.headless.config)] DEBUG
>> org.apache.felix.configadmin.1.8.10 -
>> [[org.osgi.service.cm.ConfigurationAdmin]]No SecurityManager
>> installed; grant CONFIGURE permission on configuration bound to * to
>> bundle
>> /Users/benson/x/rosapi-on-premise/embedded/test/../pre-package/target/bundles/base/rosapi-headless-config-reader-1.4.101-SNAPSHOT.jar
>> 08:37:00.164 [CM Event Dispatcher (Fire ConfigurationEvent:
>> pid=com.basistech.ws.headless.config)] DEBUG
>> org.apache.felix.configadmin.1.8.10 -
>>
>> [[org.osgi.service.cm.ConfigurationAdmin]]createConfiguration(com.basistech.ws.bus,
>> null, null)
>> 08:37:00.165 [CM Event Dispatcher (Fire ConfigurationEvent:
>> pid=com.basistech.ws.headless.config)] DEBUG
>> org.apache.felix.configadmin.1.8.10 -
>>
>> [[org.osgi.service.cm.ConfigurationAdmin]]update(properties={licensePathname=/Users/benson/x/rosapi-on-premise/embedded/test/target/test-config/rosapi/rlp-license.xml})
>> org.apache.felix.configadmin.1.8.10 -
>> [[org.osgi.service.cm.ConfigurationAdmin]]Updating config
>> com.basistech.ws.bus with
>>
>> {licensePathname=/Users/benson/x/rosapi-on-premise/embedded/test/target/test-config/rosapi/rlp-license.xml}
>> 08:37:00.166 [CM Event Dispatcher (Fire ConfigurationEvent:
>> pid=com.basistech.ws.headless.config)] DEBUG
>> org.apache.felix.configadmin.1.8.10 -
>> [[org.osgi.service.cm.ConfigurationAdmin]]No
>> SynchronousConfigurationListeners to send CM_UPDATED event to.
>> 08:37:00.166 [CM Event Dispatcher (Fire ConfigurationEvent:
>> pid=com.basistech.ws.headless.config)] DEBUG
>> org.apache.felix.configadmin.1.8.10 -
>> [[org.osgi.service.cm.ConfigurationAdmin]]Scheduling task Fire
>> ConfigurationEvent: pid=com.basistech.ws.bus
>> 08:37:00.166 [CM Event Dispatcher (Fire ConfigurationEvent:
>> pid=com.basistech.ws.headless.config)] DEBUG
>> org.apache.felix.configadmin.1.8.10 -
>> [[org.osgi.service.cm.ConfigurationAdmin]]Scheduling task Update:
>> pid=com.basistech.ws.bus
>> 08:37:00.166 [CM Event Dispatcher (Fire ConfigurationEvent:
>> pid=com.basistech.ws.headless.config)] DEBUG
>> org.apache.felix.configadmin.1.8.10 -
>>
>> [[org.osgi.service.cm.ConfigurationAdmin]]UpdateConfiguration(com.basistech.ws.bus)
>> scheduled
>>
>>
>>
>>> Also, if your component is not immediate *and* it provides a service then
>>> it will not activate until somebody “gets” the service.
>>
>> Yes, but I have 10 other components stuck waiting for it, so that
>> problem should be solved.
>>
>> While I thank you for advice on diagnosing the problem, I also want to
>> remind you that my original question is how the state is reflected in
>> the DTOs. Solving the actual problem is probably just a matter of log
>> comparison with the working environment.
>>
>>
>>> Regards,
>>>
>>> Tim
>>>
>>>
 On 18 Oct 2016, at 12:47, Benson Margulies 
 wrote:

 Here's my puzzle.

 I have a set of services that all have unsatisfied references to the
 same thing - a vanilla @Reference to the interface WorkerBusService.

 In each case, there is a configuration DTO with an unsatisfied
 reference with name BusConfigured and target null.

 WorkerBusService is implemented by an @Component named BusService.

 it has a required configuration pid and is _not_ immediate. The
 configuration should be there, I see a log message corresponding to my
 code that updates it into place.

 When things time out, BusService has no configuration dtos at all,
 just the description DTO. So, how do I tell why it hasn't started?
 Note that this is an environment where 

Re: [osgi-dev] SATISFIED versus ACTIVE

2016-10-18 Thread BJ Hargrave
If the activate method of a component instance has run, then the component instance is ACTIVE. A non-immediate SATISFIED component instance will generally not have been instantiated or activated given the lazy nature of DS for non-immediate components.
 
Also, since a component can have multiple instances (factory configurations), you could see some instances as ACTIVE while others are SATISFIED since the service of the component instance may be unused.
 
--BJ HargraveSenior Technical Staff Member, IBM // office: +1 386 848 1781OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788hargr...@us.ibm.com
 
 
- Original message -From: Benson Margulies Sent by: osgi-dev-boun...@mail.osgi.orgTo: OSGi Developer Mail List Cc:Subject: [osgi-dev] SATISFIED versus ACTIVEDate: Tue, Oct 18, 2016 8:26 AM 
I've got a component that I know has been activated: I've seen logmessages from its activate message. Yet the DTO says state isSATISFIED, not ACTIVE.___OSGi Developer Mail Listosgi-dev@mail.osgi.orghttps://mail.osgi.org/mailman/listinfo/osgi-dev 
 

___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Re: [osgi-dev] Interpreting the ServiceComponentRuntime DTOs

2016-10-18 Thread Raymond Auge
Perhaps it might help to show the DTO you've dumped here so more eyes can
look at it.

Sincerely,
- Ray

On Tue, Oct 18, 2016 at 8:46 AM, Benson Margulies 
wrote:

> On Tue, Oct 18, 2016 at 8:40 AM, Timothy Ward 
> wrote:
> > How are you creating the configuration?
> >
> > Configuration Admin uses the concept of a bundle location to restrict
> the visibility of a pid to a particular bundle. This almost always trips
> people up when they create the configuration themselves (i.e. in code) as
> the “default” methods bind the configuration to the bundle creating it
> (rarely what you actually want).
>
> I carefully use a 'null' location:
>
>  configurationAdmin.getConfiguration(pid, null);
>
> which I thought was the right recipe.
>
> Here's some debug from felix CM:
>
> 08:37:00.164 [CM Event Dispatcher (Fire ConfigurationEvent:
> pid=com.basistech.ws.headless.config)] DEBUG
> org.apache.felix.configadmin.1.8.10 -
> [[org.osgi.service.cm.ConfigurationAdmin]]getConfiguration(pid=com.
> basistech.ws.bus,
> location=null)
> 08:37:00.164 [CM Event Dispatcher (Fire ConfigurationEvent:
> pid=com.basistech.ws.headless.config)] DEBUG
> org.apache.felix.configadmin.1.8.10 -
> [[org.osgi.service.cm.ConfigurationAdmin]]No SecurityManager
> installed; grant CONFIGURE permission on configuration bound to * to
> bundle /Users/benson/x/rosapi-on-premise/embedded/test/../pre-
> package/target/bundles/base/rosapi-headless-config-reader-
> 1.4.101-SNAPSHOT.jar
> 08:37:00.164 [CM Event Dispatcher (Fire ConfigurationEvent:
> pid=com.basistech.ws.headless.config)] DEBUG
> org.apache.felix.configadmin.1.8.10 -
> [[org.osgi.service.cm.ConfigurationAdmin]]createConfiguration(com.
> basistech.ws.bus,
> null, null)
> 08:37:00.165 [CM Event Dispatcher (Fire ConfigurationEvent:
> pid=com.basistech.ws.headless.config)] DEBUG
> org.apache.felix.configadmin.1.8.10 -
> [[org.osgi.service.cm.ConfigurationAdmin]]update(
> properties={licensePathname=/Users/benson/x/rosapi-on-
> premise/embedded/test/target/test-config/rosapi/rlp-license.xml})
> org.apache.felix.configadmin.1.8.10 -
> [[org.osgi.service.cm.ConfigurationAdmin]]Updating config
> com.basistech.ws.bus with
> {licensePathname=/Users/benson/x/rosapi-on-premise/
> embedded/test/target/test-config/rosapi/rlp-license.xml}
> 08:37:00.166 [CM Event Dispatcher (Fire ConfigurationEvent:
> pid=com.basistech.ws.headless.config)] DEBUG
> org.apache.felix.configadmin.1.8.10 -
> [[org.osgi.service.cm.ConfigurationAdmin]]No
> SynchronousConfigurationListeners to send CM_UPDATED event to.
> 08:37:00.166 [CM Event Dispatcher (Fire ConfigurationEvent:
> pid=com.basistech.ws.headless.config)] DEBUG
> org.apache.felix.configadmin.1.8.10 -
> [[org.osgi.service.cm.ConfigurationAdmin]]Scheduling task Fire
> ConfigurationEvent: pid=com.basistech.ws.bus
> 08:37:00.166 [CM Event Dispatcher (Fire ConfigurationEvent:
> pid=com.basistech.ws.headless.config)] DEBUG
> org.apache.felix.configadmin.1.8.10 -
> [[org.osgi.service.cm.ConfigurationAdmin]]Scheduling task Update:
> pid=com.basistech.ws.bus
> 08:37:00.166 [CM Event Dispatcher (Fire ConfigurationEvent:
> pid=com.basistech.ws.headless.config)] DEBUG
> org.apache.felix.configadmin.1.8.10 -
> [[org.osgi.service.cm.ConfigurationAdmin]]UpdateConfiguration(com.
> basistech.ws.bus)
> scheduled
>
>
>
> >
> > Also, if your component is not immediate *and* it provides a service
> then it will not activate until somebody “gets” the service.
>
> Yes, but I have 10 other components stuck waiting for it, so that
> problem should be solved.
>
> While I thank you for advice on diagnosing the problem, I also want to
> remind you that my original question is how the state is reflected in
> the DTOs. Solving the actual problem is probably just a matter of log
> comparison with the working environment.
>
>
> >
> > Regards,
> >
> > Tim
> >
> >
> >> On 18 Oct 2016, at 12:47, Benson Margulies 
> wrote:
> >>
> >> Here's my puzzle.
> >>
> >> I have a set of services that all have unsatisfied references to the
> >> same thing - a vanilla @Reference to the interface WorkerBusService.
> >>
> >> In each case, there is a configuration DTO with an unsatisfied
> >> reference with name BusConfigured and target null.
> >>
> >> WorkerBusService is implemented by an @Component named BusService.
> >>
> >> it has a required configuration pid and is _not_ immediate. The
> >> configuration should be there, I see a log message corresponding to my
> >> code that updates it into place.
> >>
> >> When things time out, BusService has no configuration dtos at all,
> >> just the description DTO. So, how do I tell why it hasn't started?
> >> Note that this is an environment where I can't use the shell, so I've
> >> basically written code that dumps useful output from the introspection
> >> into a String.
> >>
> >> Note that all this works in a slightly different environment, and I'm
> >> trying to hone these diagnostic tools 

Re: [osgi-dev] SATISFIED versus ACTIVE

2016-10-18 Thread Raymond Auge
This is described in section 112.5.2 of the DS specification.

Your component:
- is enabled
- your component either requires configuration and has it, or doesn't
require configuration
- has all it's references satisfied
- is NOT immediate
- no bundles have requested it

Basically it's lazy and lonely. (I was gonna a a quip but I won't!)

HTH
- Ray

On Tue, Oct 18, 2016 at 8:26 AM, Benson Margulies 
wrote:

> I've got a component that I know has been activated: I've seen log
> messages from its activate message. Yet the DTO says state is
> SATISFIED, not ACTIVE.
> ___
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org
> https://mail.osgi.org/mailman/listinfo/osgi-dev
>



-- 
*Raymond Augé* 
 (@rotty3000)
Senior Software Architect *Liferay, Inc.* 
 (@Liferay)
Board Member & EEG Co-Chair, OSGi Alliance  (@OSGiAlliance)
___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Re: [osgi-dev] Interpreting the ServiceComponentRuntime DTOs

2016-10-18 Thread Benson Margulies
On Tue, Oct 18, 2016 at 8:40 AM, Timothy Ward  wrote:
> How are you creating the configuration?
>
> Configuration Admin uses the concept of a bundle location to restrict the 
> visibility of a pid to a particular bundle. This almost always trips people 
> up when they create the configuration themselves (i.e. in code) as the 
> “default” methods bind the configuration to the bundle creating it (rarely 
> what you actually want).

I carefully use a 'null' location:

 configurationAdmin.getConfiguration(pid, null);

which I thought was the right recipe.

Here's some debug from felix CM:

08:37:00.164 [CM Event Dispatcher (Fire ConfigurationEvent:
pid=com.basistech.ws.headless.config)] DEBUG
org.apache.felix.configadmin.1.8.10 -
[[org.osgi.service.cm.ConfigurationAdmin]]getConfiguration(pid=com.basistech.ws.bus,
location=null)
08:37:00.164 [CM Event Dispatcher (Fire ConfigurationEvent:
pid=com.basistech.ws.headless.config)] DEBUG
org.apache.felix.configadmin.1.8.10 -
[[org.osgi.service.cm.ConfigurationAdmin]]No SecurityManager
installed; grant CONFIGURE permission on configuration bound to * to
bundle 
/Users/benson/x/rosapi-on-premise/embedded/test/../pre-package/target/bundles/base/rosapi-headless-config-reader-1.4.101-SNAPSHOT.jar
08:37:00.164 [CM Event Dispatcher (Fire ConfigurationEvent:
pid=com.basistech.ws.headless.config)] DEBUG
org.apache.felix.configadmin.1.8.10 -
[[org.osgi.service.cm.ConfigurationAdmin]]createConfiguration(com.basistech.ws.bus,
null, null)
08:37:00.165 [CM Event Dispatcher (Fire ConfigurationEvent:
pid=com.basistech.ws.headless.config)] DEBUG
org.apache.felix.configadmin.1.8.10 -
[[org.osgi.service.cm.ConfigurationAdmin]]update(properties={licensePathname=/Users/benson/x/rosapi-on-premise/embedded/test/target/test-config/rosapi/rlp-license.xml})
org.apache.felix.configadmin.1.8.10 -
[[org.osgi.service.cm.ConfigurationAdmin]]Updating config
com.basistech.ws.bus with
{licensePathname=/Users/benson/x/rosapi-on-premise/embedded/test/target/test-config/rosapi/rlp-license.xml}
08:37:00.166 [CM Event Dispatcher (Fire ConfigurationEvent:
pid=com.basistech.ws.headless.config)] DEBUG
org.apache.felix.configadmin.1.8.10 -
[[org.osgi.service.cm.ConfigurationAdmin]]No
SynchronousConfigurationListeners to send CM_UPDATED event to.
08:37:00.166 [CM Event Dispatcher (Fire ConfigurationEvent:
pid=com.basistech.ws.headless.config)] DEBUG
org.apache.felix.configadmin.1.8.10 -
[[org.osgi.service.cm.ConfigurationAdmin]]Scheduling task Fire
ConfigurationEvent: pid=com.basistech.ws.bus
08:37:00.166 [CM Event Dispatcher (Fire ConfigurationEvent:
pid=com.basistech.ws.headless.config)] DEBUG
org.apache.felix.configadmin.1.8.10 -
[[org.osgi.service.cm.ConfigurationAdmin]]Scheduling task Update:
pid=com.basistech.ws.bus
08:37:00.166 [CM Event Dispatcher (Fire ConfigurationEvent:
pid=com.basistech.ws.headless.config)] DEBUG
org.apache.felix.configadmin.1.8.10 -
[[org.osgi.service.cm.ConfigurationAdmin]]UpdateConfiguration(com.basistech.ws.bus)
scheduled



>
> Also, if your component is not immediate *and* it provides a service then it 
> will not activate until somebody “gets” the service.

Yes, but I have 10 other components stuck waiting for it, so that
problem should be solved.

While I thank you for advice on diagnosing the problem, I also want to
remind you that my original question is how the state is reflected in
the DTOs. Solving the actual problem is probably just a matter of log
comparison with the working environment.


>
> Regards,
>
> Tim
>
>
>> On 18 Oct 2016, at 12:47, Benson Margulies  wrote:
>>
>> Here's my puzzle.
>>
>> I have a set of services that all have unsatisfied references to the
>> same thing - a vanilla @Reference to the interface WorkerBusService.
>>
>> In each case, there is a configuration DTO with an unsatisfied
>> reference with name BusConfigured and target null.
>>
>> WorkerBusService is implemented by an @Component named BusService.
>>
>> it has a required configuration pid and is _not_ immediate. The
>> configuration should be there, I see a log message corresponding to my
>> code that updates it into place.
>>
>> When things time out, BusService has no configuration dtos at all,
>> just the description DTO. So, how do I tell why it hasn't started?
>> Note that this is an environment where I can't use the shell, so I've
>> basically written code that dumps useful output from the introspection
>> into a String.
>>
>> Note that all this works in a slightly different environment, and I'm
>> trying to hone these diagnostic tools rather than brute-force a
>> comparison to explain the discrepancy.
>> ___
>> OSGi Developer Mail List
>> osgi-dev@mail.osgi.org
>> https://mail.osgi.org/mailman/listinfo/osgi-dev
>
> ___
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org
> https://mail.osgi.org/mailman/listinfo/osgi-dev

Re: [osgi-dev] Interpreting the ServiceComponentRuntime DTOs

2016-10-18 Thread Timothy Ward
How are you creating the configuration?

Configuration Admin uses the concept of a bundle location to restrict the 
visibility of a pid to a particular bundle. This almost always trips people up 
when they create the configuration themselves (i.e. in code) as the “default” 
methods bind the configuration to the bundle creating it (rarely what you 
actually want).

Also, if your component is not immediate *and* it provides a service then it 
will not activate until somebody “gets” the service.

Regards,

Tim


> On 18 Oct 2016, at 12:47, Benson Margulies  wrote:
> 
> Here's my puzzle.
> 
> I have a set of services that all have unsatisfied references to the
> same thing - a vanilla @Reference to the interface WorkerBusService.
> 
> In each case, there is a configuration DTO with an unsatisfied
> reference with name BusConfigured and target null.
> 
> WorkerBusService is implemented by an @Component named BusService.
> 
> it has a required configuration pid and is _not_ immediate. The
> configuration should be there, I see a log message corresponding to my
> code that updates it into place.
> 
> When things time out, BusService has no configuration dtos at all,
> just the description DTO. So, how do I tell why it hasn't started?
> Note that this is an environment where I can't use the shell, so I've
> basically written code that dumps useful output from the introspection
> into a String.
> 
> Note that all this works in a slightly different environment, and I'm
> trying to hone these diagnostic tools rather than brute-force a
> comparison to explain the discrepancy.
> ___
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org
> https://mail.osgi.org/mailman/listinfo/osgi-dev

___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

[osgi-dev] SATISFIED versus ACTIVE

2016-10-18 Thread Benson Margulies
I've got a component that I know has been activated: I've seen log
messages from its activate message. Yet the DTO says state is
SATISFIED, not ACTIVE.
___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev


[osgi-dev] Interpreting the ServiceComponentRuntime DTOs

2016-10-18 Thread Benson Margulies
Here's my puzzle.

I have a set of services that all have unsatisfied references to the
same thing - a vanilla @Reference to the interface WorkerBusService.

In each case, there is a configuration DTO with an unsatisfied
reference with name BusConfigured and target null.

WorkerBusService is implemented by an @Component named BusService.

it has a required configuration pid and is _not_ immediate. The
configuration should be there, I see a log message corresponding to my
code that updates it into place.

When things time out, BusService has no configuration dtos at all,
just the description DTO. So, how do I tell why it hasn't started?
Note that this is an environment where I can't use the shell, so I've
basically written code that dumps useful output from the introspection
into a String.

Note that all this works in a slightly different environment, and I'm
trying to hone these diagnostic tools rather than brute-force a
comparison to explain the discrepancy.
___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev


Re: [osgi-dev] Bndtools/Eclipse Help

2016-10-18 Thread manoj.vrajamani
Thanks Toni… Shall take a look ☺

From: osgi-dev-boun...@mail.osgi.org [mailto:osgi-dev-boun...@mail.osgi.org] On 
Behalf Of Toni Menzel
Sent: 18 October 2016 13:06
To: OSGi Developer Mail List 
Subject: Re: [osgi-dev] Bndtools/Eclipse Help


** This mail has been sent from an external source **
Hi Manoj,

there are no dumb questions. Just lazy mailing lists. ;)
We've got all your mails. No need to resend them just after 24 hours. Be 
patient.

To be honest, i have problems to understand your problem.
Do you want to integrate non-bundle java libraries (jars) in your OSGi 
application? Then all you want is "wrapping" java libraries. Best follow this 
way: http://enroute.osgi.org/tutorial_wrap/050-start.html

You mention ".so" which refers to Native Libraries (not Java lib!!). You may 
want to follow this page: http://enroute.osgi.org/appnotes/native-libraries.html

Let us know if you need anything.

Toni


Toni Menzel

[https://docs.google.com/uc?export=download=0BxdYipU72utcQ3l6aGJVNF84cWM=0BxdYipU72utcVzF1K1lDOUlxd3A2YjA4VWtPN1VOZVpMWjZvPQ]

Developer Advocates - The Rebaze Way

www.rebaze.de | www.rebaze.com | 
@rebazeio

On Tue, Oct 18, 2016 at 9:29 AM, 
> wrote:
Experts..please reply.. even if it is a dumb question ☺ We are in the learning 
stages.. ☺

From: Manoj Venkatesh Rajamani (Product Engineering Service)
Sent: 18 October 2016 10:59
To: 'OSGi Developer Mail List' 
>
Subject: RE: Bndtools/Eclipse Help

Did not get any reply. Resending… ☺

From: Manoj Venkatesh Rajamani (Product Engineering Service)
Sent: 17 October 2016 10:17
To: OSGi Developer Mail List 
>
Subject: Bndtools/Eclipse Help

Hi All,


1.   I have some plain Java jar files and some java lib files (.so) 

2.   I want to make use these jar/libs in a certain Java app source file 
and form an OSGi bundle out of it.

3.   Further I want to insert this bundle into an existing Enroute/BndTools 
app (I am on eclipse ide) for inter bundle (Enroute app bundle and Java app 
bundle) interaction.

How do I do this (2 second part and 3)?  Please provide some pointers… I am 
using Enroute/Bndtools on Eclipse IDE

Thanks,
Manoj
The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. WARNING: Computer viruses can be transmitted via email. The 
recipient should check this email and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused by any virus 
transmitted by this email. www.wipro.com

___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. WARNING: Computer viruses can be transmitted via email. The 
recipient should check this email and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused by any virus 
transmitted by this email. www.wipro.com
___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Re: [osgi-dev] Bndtools/Eclipse Help

2016-10-18 Thread Toni Menzel
Hi Manoj,

there are no dumb questions. Just lazy mailing lists. ;)
We've got all your mails. No need to resend them just after 24 hours. Be
patient.

To be honest, i have problems to understand your problem.
Do you want to integrate non-bundle java libraries (jars) in your OSGi
application? Then all you want is "wrapping" java libraries. Best follow
this way: http://enroute.osgi.org/tutorial_wrap/050-start.html

You mention ".so" which refers to Native Libraries (not Java lib!!). You
may want to follow this page:
http://enroute.osgi.org/appnotes/native-libraries.html

Let us know if you need anything.

Toni

*Toni Menzel*


*Developer Advocates - The Rebaze Way *

*www.rebaze.de  | www.rebaze.com
 | @rebazeio *

On Tue, Oct 18, 2016 at 9:29 AM,  wrote:

> Experts..please reply.. even if it is a dumb question J We are in the
> learning stages.. J
>
>
>
> *From:* Manoj Venkatesh Rajamani (Product Engineering Service)
> *Sent:* 18 October 2016 10:59
> *To:* 'OSGi Developer Mail List' 
> *Subject:* RE: Bndtools/Eclipse Help
>
>
>
> Did not get any reply. Resending… J
>
>
>
> *From:* Manoj Venkatesh Rajamani (Product Engineering Service)
> *Sent:* 17 October 2016 10:17
> *To:* OSGi Developer Mail List 
> *Subject:* Bndtools/Eclipse Help
>
>
>
> Hi All,
>
>
>
> 1.   I have some plain Java jar files and some java lib files (.so)
> 
>
> 2.   I want to make use these jar/libs in a certain Java app source
> file and form an OSGi bundle out of it.
>
> 3.   Further I want to insert this bundle into an existing
> Enroute/BndTools app (I am on eclipse ide) for inter bundle (Enroute app
> bundle and Java app bundle) interaction.
>
>
>
> How do I do this (2 second part and 3)?  Please provide some pointers… I
> am using Enroute/Bndtools on Eclipse IDE
>
>
>
> Thanks,
>
> Manoj
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies of
> this message and any attachments. WARNING: Computer viruses can be
> transmitted via email. The recipient should check this email and any
> attachments for the presence of viruses. The company accepts no liability
> for any damage caused by any virus transmitted by this email.
> www.wipro.com
>
> ___
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org
> https://mail.osgi.org/mailman/listinfo/osgi-dev
>
___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Re: [osgi-dev] Bndtools/Eclipse Help

2016-10-18 Thread manoj.vrajamani
Experts..please reply.. even if it is a dumb question :) We are in the learning 
stages.. :)

From: Manoj Venkatesh Rajamani (Product Engineering Service)
Sent: 18 October 2016 10:59
To: 'OSGi Developer Mail List' 
Subject: RE: Bndtools/Eclipse Help

Did not get any reply. Resending... :)

From: Manoj Venkatesh Rajamani (Product Engineering Service)
Sent: 17 October 2016 10:17
To: OSGi Developer Mail List 
>
Subject: Bndtools/Eclipse Help

Hi All,


1.   I have some plain Java jar files and some java lib files (.so) 

2.   I want to make use these jar/libs in a certain Java app source file 
and form an OSGi bundle out of it.

3.   Further I want to insert this bundle into an existing Enroute/BndTools 
app (I am on eclipse ide) for inter bundle (Enroute app bundle and Java app 
bundle) interaction.

How do I do this (2 second part and 3)?  Please provide some pointers... I am 
using Enroute/Bndtools on Eclipse IDE

Thanks,
Manoj
The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. WARNING: Computer viruses can be transmitted via email. The 
recipient should check this email and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused by any virus 
transmitted by this email. www.wipro.com
___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev