Re: Sharing the jar files across all the application

2010-07-10 Thread Mahammad Nasir 00900514
11:47 am Subject: Re: Sharing the jar files across all the application To: users@felix.apache.org > You should make bundles out of these JAR files. Otherwise, you are > justfighting OSGi. > > On 7/10/10 11:44 AM, Mahammad Nasir wrote: > > Hi, > > > > I have 5-6

Sharing the jar files across all the application

2010-07-10 Thread Mahammad Nasir
Hi, I have 5-6 non osgi jar files (Not budle). And i have many application bundles which uses this jar file. I want to know what is the best way to share these jar files acros all the applications. I can think of, 1) collect all the jar files and make this one bundle and load this in osgi and

RE: Symbolic Name uniqness

2010-06-18 Thread Mahammad Nasir
Thank you. -Original Message- From: Stuart McCulloch [mailto:mccu...@gmail.com] Sent: Friday, June 18, 2010 3:39 PM To: users@felix.apache.org Subject: Re: Symbolic Name uniqness On 18 June 2010 17:53, Mahammad Nasir wrote: > Hi All, > > I am bit confused about uniquness

Symbolic Name uniqness

2010-06-18 Thread Mahammad Nasir
Hi All, I am bit confused about uniquness of bundle symbolic name. What is unque in OSGI is that bundle name or Bundle symbolic name.? This means, i have to change the symbolic name or bundle name if i have to load same bundle with different version? Basically i wanted to know what is unique

This problem still exists?

2010-05-24 Thread Mahammad Nasir
Hi all, I just happen to see below link. Actually i am comparing felix and equinox. (If one ca suggest me if there is good resource already doing it.). I wanted to know, Does this problem still exists in new version? http://ray.media.berkeley.edu/blog/?p=20 it says: * Equinox lets every r

RE: Commercial OSGI implementation?

2010-05-24 Thread Mahammad Nasir
nt: Monday, May 24, 2010 1:49 PM To: users@felix.apache.org Subject: Re: Commercial OSGI implementation? Hello Nasir, On May 24, 2010, at 8:11 , Mahammad Nasir wrote: > I would like to know is there any commertial OSGI implementation? I > would like to compare felix with any other popula

Commercial OSGI implementation?

2010-05-23 Thread Mahammad Nasir
Hi All, I would like to know is there any commertial OSGI implementation? I would like to compare felix with any other popular implementation. Also, Can any one suggest me popular clients of OSGI? (Commertial) I hope this is a right place to ask this question. Nasir

RE: How to solve Startup dependency

2010-04-20 Thread Mahammad Nasir
can install bundle B into a higher start level, but you'd probably be better off not making it brittle like this. -> richard On 4/14/10 5:49, Mahammad Nasir wrote: > Hi > > I have a situation. > > 2 Threads are trying to install, start bundles. Thread 1 trying to >

RE: Can the thread context classloader issue be solved at all?

2010-04-16 Thread Mahammad Nasir
Equinox solved this problem? I think equinox uses this api through out the code. -Original Message- From: Richard S. Hall [mailto:he...@ungoverned.org] Sent: Friday, April 16, 2010 3:17 AM To: users@felix.apache.org Subject: Re: Can the thread context classloader issue be solved at all

RE: How to check if a bundle is already installed?

2010-04-14 Thread Mahammad Nasir
: Re: How to check if a bundle is already installed? On Wed, Apr 14, 2010 at 5:00 AM, Mahammad Nasir wrote: > > Thanks, I think this will solve my problem wherever I have symbolic > name. I have some places I have only bundle physical name. Is there > any otherways to check based

How to solve Startup dependency

2010-04-14 Thread Mahammad Nasir
Hi I have a situation. 2 Threads are trying to install, start bundles. Thread 1 trying to install and start bundle A. Thread 2 is trying to install and start Bundle B. Thread 2 always starts after Bundle A.start() called. (Before start returns). Bundle B is dependent on Bundle A. and it requi

RE: How to check if a bundle is already installed?

2010-04-13 Thread Mahammad Nasir
,%20java.lang.String%29 On Tue, Apr 13, 2010 at 5:27 AM, Mahammad Nasir wrote: > > HI, > I have bundle name /bundle symbolic name. and i have a bundle path > which i want to install next. But for some reason i must check if a > bundle is already installed or not. i have around 100 bundles ins

How to check if a bundle is already installed?

2010-04-13 Thread Mahammad Nasir
HI, I have bundle name /bundle symbolic name. and i have a bundle path which i want to install next. But for some reason i must check if a bundle is already installed or not. i have around 100 bundles installed. How can i check if a bundle is already installed? i dint find any api to check if i

Is this safe?

2010-03-13 Thread Mahammad Nasir
Hi, I am registering factory class (Which is outside osgi framewor) through the system bundle. This casls will instantiates the objects which is out side the framework. Now i have some thing like this. Registerservice(Factory.Icreateinterface,factoryobject,null) //This is done via system b

Not able to find javax.* related classes

2010-03-07 Thread Mahammad Nasir
Hi All My bundles are not able to find the packages related to javax.* But if i print values for key FRAMEWORK_SYSTEMPACKAGES, it prints all the javax packages. But bundles not able to find the classes/packages unless in manifest file we explicitly import the packages. As i remember earlier (

RE: Exception: javax/naming/NamingException not found.

2010-03-04 Thread Mahammad Nasir
@felix.apache.org Date: Thursday, 4 March, 2010, 6:37 PM Is your bundle importing javax.naming? -> richard On 3/4/10 12:43 PM, Mahammad Nasir wrote: > Hi All, > > I am getting following exception, Not able to find javax class > (naming?). I have trid this in both equinox and felix..

Exception: javax/naming/NamingException not found.

2010-03-04 Thread Mahammad Nasir
Hi All, I am getting following exception, Not able to find javax class (naming?). I have trid this in both equinox and felix.. Could any one pls tel what is happening here? osgi> start 7 org.osgi.framework.BundleException: Exception in com.huawei.isap.osgi.jmx.impl.JMXActivator.start() of bundle

RE: Which is the property from which we can set config file path to framework?

2010-03-03 Thread Mahammad Nasir
, Mahammad Nasir wrote: > HI.. > > Which is the property from which we can set config file path to framework? > Is this property present in specification or its just a felix/equinox > property?? > Is there any link where i can find detailed documentation for all the > properties

Which is the property from which we can set config file path to framework?

2010-03-03 Thread Mahammad Nasir
HI.. Which is the property from which we can set config file path to framework? Is this property present in specification or its just a felix/equinox property?? Is there any link where i can find detailed documentation for all the properties?? One more doubt... How can i specify path to prope

RE: is felix (latest) safe to use from C++ thread? or is this havingany issues like classloaders?

2010-02-26 Thread Mahammad Nasir
classloaders? The source is on the download page (http) as well. There is a section for the binary and for the source. You want to download the source for the framework and the main. regards, Karl On Fri, Feb 26, 2010 at 7:41 AM, Mahammad Nasir wrote: > > > Hard for me to say, but I c

RE: is felix (latest) safe to use from C++ thread? or is this having any issues like classloaders?

2010-02-25 Thread Mahammad Nasir
On Thu, 25/2/10, Richard S. Hall wrote: From: Richard S. Hall Subject: Re: is felix (latest) safe to use from C++ thread? or is this having any issues like classloaders? To: users@felix.apache.org Date: Thursday, 25 February, 2010, 2:36 PM On 2/25/10 10:12 PM, Mahammad Nasir wrote: > Hi...

RE: is felix (latest) safe to use from C++ thread? or is this havingany issues like classloaders?

2010-02-25 Thread Mahammad Nasir
, Feb 25, 2010 at 2:12 PM, Mahammad Nasir wrote: > Currently i am not facing any problems with   felix. But i am not able > to instantiate Equinox. It appears to me reason for this is Equinox > has Thread.currentthread.getContextClassLoader which returns null (I > am not fully sure, if

is felix (latest) safe to use from C++ thread? or is this having any issues like classloaders?

2010-02-25 Thread Mahammad Nasir
Hi... I am comparing both Equinox and felix usage in my ongoing project. My setup is some thing like this, C++ thread creates a java class, which instantiates felix/equinox. Currently i am not facing any problems with felix. But i am not able to instantiate Equinox. It appears to me rea

RE: Is it possible to to registerService for same interface, but multiple object provides a service.?

2010-02-23 Thread Mahammad Nasir
provides a service.? Hi On 2/23/10 9:08 AM, Mahammad Nasir wrote: > Hi.. > > Is it possible to to registerService for same interface, but multiple > object provides a service.? > > for example > > registerService("MyInterface",Obj1,prop1); > reg

Is it possible to to registerService for same interface, but multiple object provides a service.?

2010-02-23 Thread Mahammad Nasir
Hi.. Is it possible to to registerService for same interface, but multiple object provides a service.? for example registerService("MyInterface",Obj1,prop1); registerService("MyInterface",Obj2,prop2); Where prop1 can be like Key="Value1", prop2 can be Key="Value2" How to implement servi

RE: Why do i need to put felix.jar in the path if jar file is embeding felix?

2010-02-23 Thread Mahammad Nasir
, Mahammad Nasir wrote: > > If I don't put the felix.jar in application current dir, its not able > to instantiate (or load the class). > > I canot send the current code as it is, But later I will try to create > a similar example project. > Ok. Still sounds like

RE: Why do i need to put felix.jar in the path if jar file is embeding felix?

2010-02-22 Thread Mahammad Nasir
05 PM To: users@felix.apache.org Subject: Re: Why do i need to put felix.jar in the path if jar file is embeding felix? On 2/23/10 2:27 PM, Mahammad Nasir wrote: > Both the cases I am instanciating same way. > > Like Felix new Felix(map)// map sets only systempackages.extra. > > Even

RE: Why do i need to put felix.jar in the path if jar file is embeding felix?

2010-02-22 Thread Mahammad Nasir
, February 23, 2010 11:51 AM To: users@felix.apache.org Subject: Re: Why do i need to put felix.jar in the path if jar file is embeding felix? On 2/23/10 2:02 PM, Mahammad Nasir wrote: > Hi.. > > I have written a java application which launches felix. Here i have > set the external library

Why do i need to put felix.jar in the path if jar file is embeding felix?

2010-02-22 Thread Mahammad Nasir
Hi.. I have written a java application which launches felix. Here i have set the external library and set the felix.jar. When i lauch the application it works fine. i dint put the felix.jar in current dir of the applicaiton. It simply worked.It directly takes the jar from external library path wh

RE: unresolved package org.osgi.framework...

2010-02-22 Thread Mahammad Nasir
, 2010 6:29 AM To: users@felix.apache.org Subject: Re: unresolved package org.osgi.framework... On 2/21/10 7:06 PM, Mahammad Nasir wrote: > Thank you..It worked...! > Excellent. Feel free to offer some suggestions on improving the web page if it wasn't clear. -> richard &

RE: unresolved package org.osgi.framework...

2010-02-21 Thread Mahammad Nasir
Thank you..It worked...! -Original Message- From: Richard S. Hall [mailto:he...@ungoverned.org] Sent: Saturday, February 20, 2010 8:24 PM To: users@felix.apache.org Subject: Re: unresolved package org.osgi.framework... On 2/20/10 5:33 PM, Mahammad Nasir wrote: > Hi richard > &g

RE: unresolved package org.osgi.framework...

2010-02-20 Thread Mahammad Nasir
al Message- From: Richard S. Hall [mailto:he...@ungoverned.org] Sent: Saturday, February 20, 2010 2:43 PM To: users@felix.apache.org Subject: Re: unresolved package org.osgi.framework... On 2/20/10 4:25 PM, Mahammad Nasir wrote: > > Thanks a lot. > >

RE: unresolved package org.osgi.framework...

2010-02-20 Thread Mahammad Nasir
d.org] Sent: Saturday, February 20, 2010 1:05 PM To: users@felix.apache.org Subject: Re: unresolved package org.osgi.framework... On 2/20/10 2:46 PM, Mahammad Nasir wrote: > > > Thank you for reply. > > 1) I am using felix 1.0.3. I had read the l

RE: unresolved package org.osgi.framework...

2010-02-19 Thread Mahammad Nasir
[mailto:he...@ungoverned.org] Sent: Saturday, February 20, 2010 11:51 AM To: users@felix.apache.org Subject: Re: unresolved package org.osgi.framework... On 2/19/10 5:22 PM, Mahammad Nasir wrote: > Hi All > > I have a setup some thing like this. > > I have an exe which loads a jar file

unresolved package org.osgi.framework...

2010-02-19 Thread Mahammad Nasir
Hi All I have a setup some thing like this. I have an exe which loads a jar file say Service.jar (Which has a class CService). This jar file instantiates (Embed new Felix(,,)) Felix. Now using Felix instance i will register a service and pass object if CService to it. Now I have a felix bun