rkmoquin wrote
> Have you tried viewing the bundle headers or info from the Karaf console?

I checked the web console. Since it had appeared there so I did not bother
much and also did not see any error in logs.

rkmoquin wrote
> I could be wrong, but the astricks seem in odd positions in your manifest.
> Did you generate the manifest yourself?

I generated it via maven, but then modified it manually as I was relying of
the hot deployment option which is cool feature.


rkmoquin wrote
> Off the top of my head, for karaf 3.0.0, I would do a bundle:list to find
> the bundle number, then do bundle:headers # and bundle:info # (where # is
> the id of the bundle) and see if it highlights anything in read, which it
> does if there is something that it doesn't like in your manifest.  Is the
> bundle in a started state?

Check this 
Core API (120)
--------------
Manifest-Version = 1.0
Archiver-Version = Plexus Archiver
Built-By = vickykak
Build-Jdk = 1.7.0
Created-By = Apache Maven

Bundle-Activator = org.dallaybatta.osgi.Activator
Bundle-Name = Core API
Bundle-Version = 2.0.0

Import-Package = 
        org.osgi.framework,
        org.dallaybatta.osgi.api;version=1.0.0
Export-Package = 
        org.dallaybatta.osgi.api;version=2.0.0



Core API (121)
--------------
Manifest-Version = 1.0
Archiver-Version = Plexus Archiver
Built-By = vickykak
Build-Jdk = 1.7.0
Created-By = Apache Maven

Bundle-Activator = org.dallaybatta.osgi.Activator
Bundle-Name = Core API
Bundle-SymbolicName = api-bundle-V1
Bundle-Version = 1.0.0

Import-Package = 
        org.osgi.framework,
        org.dallaybatta.osgi.api;version=1.0.0
Export-Package = 
        org.dallaybatta.osgi.api;version=1.0.0


karaf@root()> bundle:list
START LEVEL 100 , List Threshold: 50
 ID | State  | Lvl | Version | Name    
---------------------------------------
120 | Active |  80 | 2.0.0   | Core API
121 | Active |  80 | 1.0.0   | Core API

Thanks,
Vicky



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Unable-to-do-load-BundleActivator-after-package-is-exported-in-manifest-for-a-bundle-tp4032661p4032676.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to