Return-Path: Delivered-To: apmail-incubator-felix-dev-archive@www.apache.org Received: (qmail 16937 invoked from network); 17 Aug 2006 07:33:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Aug 2006 07:33:07 -0000 Received: (qmail 93988 invoked by uid 500); 17 Aug 2006 07:33:06 -0000 Delivered-To: apmail-incubator-felix-dev-archive@incubator.apache.org Received: (qmail 93943 invoked by uid 500); 17 Aug 2006 07:33:06 -0000 Mailing-List: contact felix-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: felix-dev@incubator.apache.org Delivered-To: mailing list felix-dev@incubator.apache.org Received: (qmail 93932 invoked by uid 99); 17 Aug 2006 07:33:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Aug 2006 00:33:06 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 213.36.80.91 is neither permitted nor denied by domain of didier.donsez@imag.fr) Received: from [213.36.80.91] (HELO mail.libertysurf.net) (213.36.80.91) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Aug 2006 00:33:05 -0700 Received: from [127.0.0.1] (83.156.65.164) by mail.libertysurf.net (7.3.105.2) id 447EB007006B3AE5 for felix-dev@incubator.apache.org; Thu, 17 Aug 2006 09:32:42 +0200 Message-ID: <44E41BA5.6070500@imag.fr> Date: Thu, 17 Aug 2006 09:32:53 +0200 From: Didier Donsez User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: en-us, en MIME-Version: 1.0 To: felix-dev@incubator.apache.org Subject: Re: FELIX-26: Improve native library matching algorithm References: <44E32E78.4050503@ungoverned.org> <44E33BFE.5000608@ungoverned.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Arnaud java.lang.NoClassDefFoundError: org/osgi/framework/BundleContext means : The http://oscar-osgi.sf.net/repo/simple/simple.jar manifest does not import package org.osgi.framework The Oscar CL is permissive than Felix for this package To test natives for Windows, you can have a look on those bundles (if you have a serial port) http://www-adele.imag.fr/users/Didier.Donsez/dev/osgi/rxtx/ http://www-adele.imag.fr/users/Didier.Donsez/dev/osgi/rxtxcmd and the commands to launch http://www-adele.imag.fr/users/Didier.Donsez/dev/osgi/script/rxtx.txt Didier Arnaud Quiblier wrote: > Well, java-svn-maven2-eclipse-felix are now installed on my box ... ;-) > Launch Felix, all is OK. > Download Simple Bundle from Oscar Bundle Repository. > Copy it to the bundle directory ... and launch Felix. > Starting the Simple Bundle fails ... > > [...] > DEBUG: WIRE: 3.0 -> org.apache.felix.shell -> 1.0 > -> install file:bundle/simple.jar <<< install Simple Bundle > -> ps <<< get bundle id > START LEVEL 1 > ID State Level Name > [ 0] [Active ] [ 0] System Bundle (0.8.0.SNAPSHOT) > [ 1] [Active ] [ 1] ShellService (0.8.0.SNAPSHOT) > [ 2] [Active ] [ 1] ShellTUI (0.8.0.SNAPSHOT) > [ 3] [Active ] [ 1] BundleRepository (0.8.0.SNAPSHOT) > [ 4] [Installed ] [ 1] Simple (1.0.0) > -> start 4 <<< start Simple Bundle > org.osgi.framework.BundleException: Activator start error. > at org.apache.felix.framework.Felix._startBundle(Felix.java:1261) > at org.apache.felix.framework.Felix.startBundle(Felix.java:1149) > at > org.apache.felix.framework.BundleImpl.start(BundleImpl.java:326) > at org.apache.felix.shell.impl.StartCommandImpl.execute( > StartCommandImpl.java:80) > at > org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand( > Activator.java:263) > at org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run( > Activator.java:165) > at java.lang.Thread.run(Thread.java:595) > Caused by: java.lang.NoClassDefFoundError: > org/osgi/framework/BundleContext > at org.ungoverned.osgi.bundle.simple.SimpleBundle.start( > SimpleBundle.java:58) > at org.apache.felix.framework.Felix._startBundle(Felix.java:1216) > ... 6 more > java.lang.NoClassDefFoundError: org/osgi/framework/BundleContext > -> > > Any idea ? I continue my hack ... > Does anybody use Felix with native libs ? > -- --------------------------------------------------------- Didier DONSEZ Laboratoire LSR, Institut Imag, Universite Joseph Fourier Bat. C, 220 rue de la Chimie, Domaine Universitaire BP 53, 38041 Grenoble Cedex 9, France GPS : lat 45�11'38.3"N, lon 05�46'14.7"E, alt 223m http://www-adele.imag.fr/users/Didier.Donsez/map/map.html Tel : +33 4 76 63 55 49 Fax : +33 4 76 63 55 50 mailto:Didier.Donsez@imag.fr URL: http://www-adele.imag.fr/users/Didier.Donsez ---------------------------------------------------------