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

Srinath Perera srinath at wso2.com
Thu Aug 20 21:48:16 PDT 2009


drop all 4 bundles to dropins .. other three get pick up, but not the
org.wso2.carbon.registry.contentSearch.service-2.0.0.SNAPSHOT.jar
--Srinath

On Fri, Aug 21, 2009 at 10:17 AM, Srinath Perera<srinath at wso2.com> wrote:
> They are here
>
> https://www.slashtmp.iu.edu/public/download.php?FILE=hperera/15946NnQeSF
>
> --Srinath
>
> On Fri, Aug 21, 2009 at 9:36 AM, Afkham Azeez<azeez at wso2.com> wrote:
>> Please mail the bundles to this list if they are not too large, or host it
>> somewhere and post the link
>> Azeez
>>
>> On Fri, Aug 21, 2009 at 4:02 AM, Srinath Perera <srinath at wso2.com> wrote:
>>>
>>> Hi Sameera;
>>>
>>> I can either send you four bundles, or we can debug it from my laptop.
>>> Let me know.
>>>
>>> --Srinath
>>>
>>> On Fri, Aug 21, 2009 at 9:20 AM, Afkham Azeez<azeez at wso2.com> wrote:
>>> > 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
>>> >
>>>
>>>
>>>
>>> --
>>> ============================
>>> Srinath Perera, Ph.D.
>>>   WSO2 Inc. http://wso2.com
>>>   Blog: http://srinathsview.blogspot.com/
>>
>>
>>
>> --
>> --
>> Afkham Azeez
>> azeez at wso2.com
>> WSO2 Inc. http://wso2.com
>> Blog: http://afkham.org
>>
>
>
>
> --
> ============================
> 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/



More information about the Carbon-dev mailing list