[Carbon-dev] Loading Services From Bundles does not work on 2.0.1 branch

Afkham Azeez azeez at wso2.com
Thu Aug 20 20:50:45 PDT 2009


Sameera,Please take a look into this

Azeez

On Fri, Aug 21, 2009 at 3:35 AM, Srinath Perera <srinath at wso2.com> wrote:

> BTW I have few bundles that does not have services.xml and they works
> fine via dropins folder.
>
> On Fri, Aug 21, 2009 at 9:03 AM, Srinath Perera<srinath at wso2.com> wrote:
> > Hi All;
> >
> > 1. I have a bundle which have a service.xml, and when I copy the
> > bundle to repository/componets/dropins carbon does not load the
> > bundle, nor service.
> > 2. But if I install the bundle via OSGI console and then start it via
> > console, the bundle is loaded, service is deployed, and everything
> > works fine.
> >
> > osgi> install
> file:repository/components/dropins/org.wso2.carbon.registry.contentSearch.service-2.0.0.SNAPSHOT.jar
> > Bundle id is 186
> >
> > osgi> start 186
> >
> > 3. Based on Azeez suggestion, I copied the bundle to
> >
> ../webapps/ROOT/WEB-INF/plugins/console/org.wso2.carbon.registry.contentSearch.service-2.0.0.SNAPSHOT.jar
> > and added following entry to
> >
> ../webapps/ROOT/WEB-INF/eclipse/configuration/org.eclipse.equinox.simpleconfigurator/
> bundles.info.
> > (Old way of deploying bundles)
> >
> >
> org.wso2.carbon.registry.contentSearch.service,2.0.0.SNAPSHOT,file:plugins/org.wso2.carbon.registry.contentSearch.service-2.0.0.SNAPSHOT.jar,10,true
> >
> > However it does not work either.
> >
> > 4. I turned on the logging via launch.ini, but did not see any error
> > there as well.
> >
> > Q1: Is there a other place I should be putting bundles that has
> > services? does repository/componets/dropins is the right place.
> > Q2: Is this a bug? Any chance we can fix this?
> >
> > I have an workaround for now (which is install the bundle via carbon
> > console, but if I restart, the bundle is gone and I have to redo).
> >
> > Thanks
> > Srinath
> >
> >
> > --
> > ============================
> > Srinath Perera, Ph.D.
> >   WSO2 Inc. http://wso2.com
> >   Blog: http://srinathsview.blogspot.com/
> >
>
>
>
> --
> ============================
> Srinath Perera, Ph.D.
>   WSO2 Inc. http://wso2.com
>   Blog: http://srinathsview.blogspot.com/
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev at wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>



-- 
--
Afkham Azeez
azeez at wso2.com
WSO2 Inc. http://wso2.com
Blog: http://afkham.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.wso2.org/pipermail/carbon-dev/attachments/20090821/10475f0b/attachment-0001.htm 


More information about the Carbon-dev mailing list