Hi all,

I was using a previously used package with different extension class name
to deploy the extension. I now tried it with a different package and now it
is working.

Thank you
Nishali

On Thu, Oct 30, 2014 at 1:52 PM, Damith Wickramasinghe <[email protected]>
wrote:

> Hi Nishali,
>
> Sometimes you will get this error If you have same package name with
> different extension class names. Its a known error in OSGI. Please check
> whether you have multiple extensions in a same package.
> eg: org.wso2.cep.extOne and org.wso2.cep.extTwo will throw you the error
> when you try to deploy extTwo extension.
>
> Thanks,
> Damith.
>
>
> On Thu, Oct 30, 2014 at 1:30 PM, Nishali Wijesinghe <[email protected]>
> wrote:
>
>> Hi,
>>
>> I'm  trying to write a siddhi custom output attribute aggregator for CEP.
>> I wrote the following 2 classes and created the jar file with extension
>> Name=ext1 and function Name=StdDev_sample.
>>   StdDevOutputAttributeAggregatorSample
>>   StdDevOutputAttributeAggregatorSampleFactory
>>
>> And then I added the jar file to <CEP_HOME>/repository/components/lib and
>> then added the fully qualified class name as
>> "org.wso2.siddhi.extension.StdDevOutputAttributeAggregatorSampleFactory" to
>> <CEP_HOME>/repository/conf/siddhi.
>>
>> But when i try to use the extension in CEP i get the following error.
>>
>> No extension exist for OutputAttributeExtension{extensionName='ext1',
>> functionName='StdDev_sample', rename='std'}
>>
>> Thank you.
>>
>> --
>> Nishali Wijesinghe
>> Intern - Engineering
>> WSO2, Inc.
>> lean.enterprise.middleware.
>> Tel: +94716913495
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Software Engineer
> WSO2 Inc.; http://wso2.com
> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
> lean.enterprise.middleware
>
> mobile: *+94728671315 <%2B94728671315>*
>
>


-- 
Nishali Wijesinghe
Intern - Engineering
WSO2, Inc.
lean.enterprise.middleware.
Tel: +94716913495
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to