That means felix is not safe in JNI mode...its really strange.. I mean..you cant use felix in this kind of setup??? i mean where There is a C++ exe which creates JVM and java classes, Thread..from there you launch felix? It appears from the question that...felix is working Equinox is not working..!
--- On Thu, 25/2/10, Richard S. Hall <[email protected]> wrote: From: Richard S. Hall <[email protected]> Subject: Re: is felix (latest) safe to use from C++ thread? or is this having any issues like classloaders? To: [email protected] Date: Thursday, 25 February, 2010, 2:36 PM On 2/25/10 10:12 PM, Mahammad Nasir wrote: > 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 reason for this is Equinox has > Thread.currentthread.getContextClassLoader which returns null (I am not > fully sure, if this is the prob). > > But i want to make sure that felix is not having such an issue. Unfortunatly > i dont have access to felix code..(I am not able to download for some > security reasons). But i have access to older felix code (1.0.3). In this > version i did not find any use of > Thread.currentthread.getcontextclassloader. > > Now my question is is felix (latest) safe to use from C++ thread? or is this > having any issues like classloaders? > Hard for me to say, but I can say we don't use the TCCL in any way. Why exactly can't you get the new Felix source code? -> richard > > > Regards > Nasir > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/

