One thing I noticed in your description. You seem to mix features and
deploy folders.
Make sure you don't reference bundles placed in the deploy folder.
Or better don't put your bundles which you are using in your feature file
in the deploy folder
of Karaf.

regards, Achim


2014-06-09 22:28 GMT+02:00 lionceau <[email protected]>:

> Hi,
>
> Thank you JB for your answer , it's working on eclipse but in Karaf I see
> this error :
>
> karaf@root()> feature:install log6-bundle
> Error executing command: Could not start bundle
> file:///C:/Users/xxx/Downloa
>
> ds/apache-karaf-3.0.1/apache-karaf-3.0.1/deploy/bundles/log6/testLoggerVF.jar
> in
>  feature(s) log6-bundle-1.0: Activator start error in bundle
> com.vogella.osgi.fi
> rstbundle.internal.bundleLogV6 [107].
> karaf@root()>
>
>
> this is my Manifest :
>
> Manifest-Version: 1.0
> Bundle-ManifestVersion: 2
> Bundle-Name: Internal
> Bundle-SymbolicName: com.vogella.osgi.firstbundle.internal.bundleLogV6
> Bundle-Version: 1.0.0.qualifier
> Bundle-Activator:
> com.vogella.osgi.firstbundle.internal.BundleLogV6.Activator
> Bundle-Vendor: VOGELLA
> Bundle-RequiredExecutionEnvironment: JavaSE-1.7
> Import-Package: org.osgi.framework;version="1.3.0",
>  org.osgi.util.tracker;version="1.5.1",
>  org.slf4j;resolution:=optional;version="1.7.2"
> Bundle-ActivationPolicy: lazy
>
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/logging-and-karaf-how-to-do-it-tp4033438p4033444.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>

Software Architect / Project Manager / Scrum Master

Reply via email to