Return-Path: X-Original-To: apmail-felix-users-archive@minotaur.apache.org Delivered-To: apmail-felix-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DBB239045 for ; Sun, 1 Jan 2012 20:22:48 +0000 (UTC) Received: (qmail 14132 invoked by uid 500); 1 Jan 2012 20:22:48 -0000 Delivered-To: apmail-felix-users-archive@felix.apache.org Received: (qmail 14084 invoked by uid 500); 1 Jan 2012 20:22:47 -0000 Mailing-List: contact users-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@felix.apache.org Delivered-To: mailing list users@felix.apache.org Delivered-To: moderator for users@felix.apache.org Received: (qmail 13947 invoked by uid 99); 1 Jan 2012 20:20:17 -0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=HTML_MESSAGE,MSGID_MULTIPLE_AT,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) From: "Meriam LAHAMI" To: Subject: about the bundle IOConnector Date: Sun, 1 Jan 2012 21:19:44 +0100 Message-ID: <000301ccc8c2$b3f2dbb0$1bd89310$@lahami@redcad.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0004_01CCC8CB.15B743B0" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AczIqdqufl60Q9LOQ4qt2wP8ryui8QAGMW4A Content-Language: fr X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - marzal.websitewelcome.com X-AntiAbuse: Original Domain - felix.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - redcad.org X-BWhitelist: no X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (PCdeMeriam) [41.224.105.30]:55297 X-Source-Auth: redcado X-Email-Count: 1 X-Source-Cap: cmVkY2Fkbzthc207bWFyemFsLndlYnNpdGV3ZWxjb21lLmNvbQ== ------=_NextPart_000_0004_01CCC8CB.15B743B0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello, I would like to create two bundles: a client and a server communicating through TCP/IP socket as given in this tutorial : http://dz.prosyst.com/pdoc/mBS_PE/um/framework/bundles/osgi/connector/connec tor.html I began by creating the server bundle and I tried to install it in felix . So I had such exceptions: org.osgi.framework.BundleException: Activator start error in bundle ServerBundle [20]. at org.apache.felix.framework.Felix.activateBundle(Felix.java:1951) at org.apache.felix.framework.Felix.startBundle(Felix.java:1822) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:927) at org.apache.felix.gogo.command.Basic.start(Basic.java:758) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.felix.gogo.runtime.Reflective.method(Reflective.java:136) at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java 82) at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:469) at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java: 95) at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108) at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183) at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120) at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSess onImpl.java:89) at org.apache.felix.gogo.shell.Console.run(Console.java:62) at org.apache.felix.gogo.shell.Shell.console(Shell.java:203) at org.apache.felix.gogo.shell.Shell.gosh(Shell.java:128) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.felix.gogo.runtime.Reflective.method(Reflective.java:136) at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java 82) at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:469) at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java: 95) at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108) at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183) at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120) at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSess onImpl.java:89) at org.apache.felix.gogo.shell.Activator.run(Activator.java:75) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: javax/microedition/io/ConnectionNotF undException at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at org.apache.felix.framework.Felix.createBundleActivator(Felix.java:38 4) at org.apache.felix.framework.Felix.activateBundle(Felix.java:1899) ... 32 more Caused by: java.lang.ClassNotFoundException: javax.microedition.io.ConnectionNo FoundException not found by ServerBundle [20] at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegatio (ModuleImpl.java:812) at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:72) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(Mo uleImpl.java:1807) at java.lang.ClassLoader.loadClass(Unknown Source) ... 39 more java.lang.NoClassDefFoundError: javax/microedition/io/ConnectionNotFoundExcepti n Have you an idea about this problem? I hope that you can help me, thanks in advance. Best regards Meriam LAHAMI ------=_NextPart_000_0004_01CCC8CB.15B743B0--