On Fri, Jun 22, 2012 at 6:16 PM, Dilshan Edirisuriya <[email protected]>wrote:

> Hi Nuwan,
>
> I believe this slf4j dependency should be added to ntask component. As
> products like AS already had this there was no issue when activating. But
> this fails in Jaggery.
>

I think you should import the slf4j bundle in ntask feature.

>
>
> Regards,
>
> Dilshan
>
>
> On Fri, Jun 22, 2012 at 4:18 PM, Nuwan Bandara <[email protected]> wrote:
>
>> Hi DIlshan,
>>
>> I believe if you add slf4j to dependencies this can be mitigated.
>>
>>  Regards,
>> /Nuwan
>>
>> On Fri, Jun 22, 2012 at 2:51 PM, Dilshan Edirisuriya <[email protected]>wrote:
>>
>>> Hi,
>>>
>>> When adding ntask feature to Jaggery it doesnt get activated due to
>>> missing dependency of slf4j.
>>>
>>>
>>> =====================
>>> osgi> ls -c 149
>>> Components in bundle org.wso2.carbon.ntask.core:
>>> ID      Component details
>>> 28      Component[
>>>         name = tasks.component
>>>         factory = null
>>>         autoenable = true
>>>         immediate = true
>>>         implementation =
>>> org.wso2.carbon.ntask.core.internal.TasksDSComponent
>>>         state = Unsatisfied
>>>         properties = {service.pid=tasks.component}
>>>         serviceFactory = false
>>>         serviceInterface = null
>>>         references = {
>>>                 Reference[name = registry.service, interface =
>>> org.wso2.carbon.registry.core.service.RegistryService, policy = dynamic,
>>> cardinality = 1..1, target = null, bind = setRegistryS
>>> ervice, unbind = unsetRegistryService]
>>>                 Reference[name = coordination.service, interface =
>>> org.wso2.carbon.coordination.core.services.CoordinationService, policy =
>>> dynamic, cardinality = 1..1, target = null, bind =
>>>  setCoordinationService, unbind = unsetCoordinationService]
>>>                 Reference[name = user.realmservice.default, interface =
>>> org.wso2.carbon.user.core.service.RealmService, policy = dynamic,
>>> cardinality = 1..1, target = null, bind = setRealmSe
>>> rvice, unbind = unsetRealmService]
>>>                 Reference[name = config.context.service, interface =
>>> org.wso2.carbon.utils.ConfigurationContextService, policy = dynamic,
>>> cardinality = 1..1, target = null, bind = setConfigu
>>> rationContextService, unbind = unsetConfigurationContextService]
>>>         }
>>>         located in bundle = org.wso2.carbon.ntask.core_4.0.0.SNAPSHOT
>>> [149]
>>> ]
>>> Dynamic information :
>>>   The component is satisfied
>>>   All component references are satisfied
>>>   Component configurations :
>>>     Configuration properties:
>>>       service.pid = tasks.component
>>>       component.name = tasks.component
>>>       component.id = 40
>>>     Instances:
>>>     No instances were created because: Can not activate instance of
>>> component org.wso2.carbon.ntask.core.internal.TasksDSComponent. The
>>> activation throws: java.lang.NoClassDefFoundError: org
>>> /slf4j/LoggerFactory
>>>
>>>
>>> =====================
>>>
>>> osgi> bundle 149
>>> org.wso2.carbon.ntask.core_4.0.0.SNAPSHOT [149]
>>>   Id=149, Status=ACTIVE      Data
>>> Root=E:\svn\platform\trunk\products\jaggery\modules\distribution\target\jaggery-0.9.0-ALPHA\carbon\repository\components\configuration\org.eclipse.osgi\bund
>>> les\149\data
>>>   No registered services.
>>>   No services in use.
>>>   Exported packages
>>>     org.wso2.carbon.ntask.core.internal; version="0.0.0"[exported]
>>>     org.wso2.carbon.ntask.core; version="0.0.0"[exported]
>>>     org.wso2.carbon.ntask.core.service; version="0.0.0"[exported]
>>>     org.wso2.carbon.ntask.core.impl; version="0.0.0"[exported]
>>>     org.wso2.carbon.ntask.core.service.impl; version="0.0.0"[exported]
>>>   Imported packages
>>>     org.quartz; version="2.1.1"<quartz_2.1.1.wso2v1 [184]>
>>>     org.quartz.impl; version="2.1.1"<quartz_2.1.1.wso2v1 [184]>
>>>     org.quartz.impl.matchers; version="2.1.1"<quartz_2.1.1.wso2v1 [184]>
>>>     org.apache.commons.logging;
>>> version="1.1.1"<org.wso2.carbon.logging_4.0.0.SNAPSHOT [143]>
>>>     org.osgi.service.component;
>>> version="1.1.0"<org.eclipse.osgi.services_3.3.0.v20110513 [99]>
>>>     org.wso2.carbon.user.core.service;
>>> version="4.0.0.SNAPSHOT"<org.wso2.carbon.user.core_4.0.0.SNAPSHOT [172]>
>>>     org.wso2.carbon.registry.core.service;
>>> version="1.0.1"<org.wso2.carbon.registry.core_4.0.0.SNAPSHOT [154]>
>>>     org.wso2.carbon.coordination.core.services;
>>> version="0.0.0"<org.wso2.carbon.coordination.core_4.0.0.SNAPSHOT [112]>
>>>     org.wso2.carbon.utils;
>>> version="4.0.0.SNAPSHOT"<org.wso2.carbon.utils_4.0.0.SNAPSHOT [177]>
>>>   No fragment bundles
>>>   Named class space
>>>     org.wso2.carbon.ntask.core; bundle-version="4.0.0.SNAPSHOT"[provided]
>>>   No required bundles
>>>
>>> =====================
>>>
>>>
>>> Regards,
>>>
>>> Dilshan
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Thanks & Regards,
>>
>> Nuwan Bandara
>> Associate Technical Lead & Member, MC, Development Technologies
>> WSO2 Inc. - lean . enterprise . middleware |  http://wso2.com
>> blog : http://nuwanbando.com; email: [email protected]; phone: +94 11 763
>> 9629
>> *
>> <http://www.nuwanbando.com/>
>>
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to