You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by spandit2 <sp...@csc.com> on 2012/10/05 20:16:58 UTC

Bundle packaging for Blueprint and ClassNotfoundexception.

Hello experts ,

I am new to Felix . We have been using Jboss  AS version 7  and CXF DOSGI to
expose  OSGI services . We have packaged these bundles with  all the service
implementation classes are packaged in separate plain jar file . This jar is
listed on bundle-classpath in manifest file of the bundle and is placed at
root of the bundle . 

everything works fine.

Now we are trying to deploy this bundle in Felix which is part of FuseESB .
We are exposing services using blueprint  and the service implementation
class is still in the plain jar file. However I get an exception 

org.osgi.service.blueprint.container.ComponentDefinitionException  Caused
by: java.lang.ClassNotFoundException:  

So my question is how should I package this bundle . I cannot convert the
plain jar file to a bundle . 

Why the blueprintcontainer is not able to resolve the classes in the jar
files listed on Bundle-ClassPath:

Appreciate any insights on this .

Thanks
Sunil



--
View this message in context: http://apache-felix.18485.n6.nabble.com/Bundle-packaging-for-Blueprint-and-ClassNotfoundexception-tp4999656.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Bundle packaging for Blueprint and ClassNotfoundexception.

Posted by Felix Meschberger <fm...@adobe.com>.
Hi Sunil

Without more information (at least maybe a stack trace), this is hard to help with.

On the other hand, this is about Blueprint. You might want to ask this question on the Aries user's list where more Blueprint specialist are listening.

Regards
Felix

Am 05.10.2012 um 20:16 schrieb spandit2:

> Hello experts ,
> 
> I am new to Felix . We have been using Jboss  AS version 7  and CXF DOSGI to
> expose  OSGI services . We have packaged these bundles with  all the service
> implementation classes are packaged in separate plain jar file . This jar is
> listed on bundle-classpath in manifest file of the bundle and is placed at
> root of the bundle . 
> 
> everything works fine.
> 
> Now we are trying to deploy this bundle in Felix which is part of FuseESB .
> We are exposing services using blueprint  and the service implementation
> class is still in the plain jar file. However I get an exception 
> 
> org.osgi.service.blueprint.container.ComponentDefinitionException  Caused
> by: java.lang.ClassNotFoundException:  
> 
> So my question is how should I package this bundle . I cannot convert the
> plain jar file to a bundle . 
> 
> Why the blueprintcontainer is not able to resolve the classes in the jar
> files listed on Bundle-ClassPath:
> 
> Appreciate any insights on this .
> 
> Thanks
> Sunil
> 
> 
> 
> --
> View this message in context: http://apache-felix.18485.n6.nabble.com/Bundle-packaging-for-Blueprint-and-ClassNotfoundexception-tp4999656.html
> Sent from the Apache Felix - Users mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org