You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by lahami mariam <la...@gmail.com> on 2012/08/28 13:16:55 UTC
About Wire Admin service
Hello,
I would like to build a case study based on the Wire admin Service.
So I found the source code of this specification in this link
http://svn.apache.org/viewvc/felix/trunk/wireadmin/
I have built it and i obtained the wireAdmin jar file.
But when i started it in felix i am faced to such problems:
g! start
file:../WireAdminExample/org.apache.felix.wireadmin-0.9.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Activator start error in bundle
org.apache.f
elix.wireadmin [9].
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:3
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(CommandSessi
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:3
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(CommandSessi
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.ClassCastException:
org.apache.felix.wireadmin.Activator ca
nnot be cast to org.osgi.framework.BundleActivator
at
org.apache.felix.framework.Felix.createBundleActivator(Felix.java:381
4)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1899)
... 32 more
java.lang.ClassCastException: org.apache.felix.wireadmin.Activator cannot
be cas
t to org.osgi.framework.BundleActivator
I did not understood which is lacking here ?
Is there some body that can help me ?
--
Best regards,
Meriam LAHAMI