You can add the sentence which is "org.osgi.framework.bootdelegation=javax.* "in the felix's cfg file .Due to when felix load the JDK, it only load the java package, the javax and org packages aren't been loaded, so you need cfg the bootdelegation.
The most powerful enemy is yourself,beat your own,win the world! _________________________________________________________________________________________ 姚柯(Ivan Yao) 浙江网新恒天软件有限公司 Insigma Hengtian Software Ltd. Address: Building J1, Insigma Software Park, 1 Xiyuan8 Road, San Dun, West Lake District Zip Code: 310007 Tel:13735434226 MSN:[email protected] -----Original Message----- From: Marcel Offermans [mailto:[email protected]] Sent: 2010年11月19日 17:10 To: [email protected] Subject: Re: Class loading problem @Jean-Baptiste: Perhaps a stupid question, but since it's a javax.* class that cannot be found, are you actually exporting these packages through the system bundle? On 19 Nov 2010, at 10:01 , Karl Pauls wrote: > Can you share the manifest of your bundle with us? Additionally, can > you set the debug level to 4 and give the output as well? > > regards, > > Karl > > On Fri, Nov 19, 2010 at 8:21 AM, Jean-Baptiste Reich > <[email protected]> wrote: >> Hello, >> >> I tried to run felix on a CDC architecture and with jsse enabled (which is >> optional). For that, I add the jsse jars to the classpath on the command >> line when starting felix with my VM (cvm). >> Then in my bundle I try to load the class javax.net.ServerSocketFactory but >> I receive a NoClassDefFoundError. >> When I launch my project as a normal JAR (not a bundle) with exactly the >> same command line, it works (in that case the server is not embedded in >> felix). So, I assume there is a class loading problem but I don't understand >> it. >> >> Did I miss something ? Is there a special way to handle this? (I have >> already tried to change the bootdelegation and the bundle parent but it does >> not work) >> >> Thanks >> > > > > -- > Karl Pauls > [email protected] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

