stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohanadarshan Vivekanandalingam <mo...@wso2.com>
Subject Re: [Dev] [CEP][Error] Configured CEP with stratos
Date Tue, 02 Jun 2015 14:15:50 GMT
If you are not encountered any other exception in CEP (believe, you are
trying out with standalone CEP 3.1.0), then only possible reason is
extension jar is not picked by the OSGI environment.. Below steps may help
you to check the issue,

1) Are there many extension jars available? Whether they have same package
name ? If yes, you cannot have like that in OSGI environment then some jars
which have the same package name will not be picked by the OSGI class
loader.. You need to have unique package name..

2) Check how many OSGI bundles are exists in dropins folder.. If you are
put a jar in to lib directory then it will be converted in to OSGI bundle
and copies to dropins folder. Then if you delete a jar in lib then you also
need to delete it from dropins as well..

If you cannot resolve the issue by following above approaches then there
might be an issue with siddhi extension and/or need to check deeper on
that..


On Tue, Jun 2, 2015 at 7:22 PM, Pranavan Theivendiram <
pranavan.11@cse.mrt.ac.lk> wrote:

> Hi Nirmal,
>
> Cannot Load Siddhi extension errors is coming again and again.
>
> *T. Pranavan*
> *BSc Eng Undergraduate| Department of Computer Science & Engineering
> ,University of Moratuwa*
> *Mobile| *0775136836
>
> On 2 June 2015 at 19:14, Pranavan Theivendiram <pranavan.11@cse.mrt.ac.lk>
> wrote:
>
>> Hi Nirmal,
>>
>> Thanks. I will check and update.
>>
>> *T. Pranavan*
>> *BSc Eng Undergraduate| Department of Computer Science & Engineering
>> ,University of Moratuwa*
>> *Mobile| *0775136836
>>
>> On 2 June 2015 at 19:05, Nirmal Fernando <nirmal@wso2.com> wrote:
>>
>>> Please add that file into CEP (<CEP_HOME>/repository/conf/siddhi) and
>>> restart CEP and see.
>>>
>>> On Tue, Jun 2, 2015 at 6:59 PM, Pranavan Theivendiram <
>>> pranavan.11@cse.mrt.ac.lk> wrote:
>>>
>>>> Hi Nirmal,
>>>>
>>>> I am following the docs given below.
>>>>
>>>>    1.
>>>>    https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Complex+Event+Processor+Configuration
>>>>
>>>>
>>>>
>>>> *T. Pranavan*
>>>> *BSc Eng Undergraduate| Department of Computer Science & Engineering
>>>> ,University of Moratuwa*
>>>> *Mobile| *0775136836
>>>>
>>>> On 2 June 2015 at 18:57, Nirmal Fernando <nirmal@wso2.com> wrote:
>>>>
>>>>> There should be a siddhi.extension file in <CEP_HOME>/repository/conf/siddhi
>>>>> which loads all these Stratos extensions. Which guide you are following?
>>>>>
>>>>> I can see this file here:
>>>>>
>>>>> https://github.com/apache/stratos/blob/master/products/stratos/modules/distribution/src/main/conf/siddhi/siddhi.extension
>>>>>
>>>>> On Tue, Jun 2, 2015 at 6:47 PM, Pranavan Theivendiram <
>>>>> pranavan.11@cse.mrt.ac.lk> wrote:
>>>>>
>>>>>> Hi Nirmal,
>>>>>>
>>>>>> I have added. ( I built this component and got the jar and added)
>>>>>>
>>>>>> *T. Pranavan*
>>>>>> *BSc Eng Undergraduate| Department of Computer Science & Engineering
>>>>>> ,University of Moratuwa*
>>>>>> *Mobile| *0775136836
>>>>>>
>>>>>> On 2 June 2015 at 18:42, Nirmal Fernando <nirmal@wso2.com>
wrote:
>>>>>>
>>>>>>> Ok. Did you add the Stratos extensions jar into CEP
>>>>>>> (repository/components/lib) directory ?
>>>>>>> https://github.com/apache/stratos/tree/master/extensions/cep/stratos-cep-extension
>>>>>>>
>>>>>>> On Tue, Jun 2, 2015 at 6:37 PM, Pranavan Theivendiram <
>>>>>>> pranavan.11@cse.mrt.ac.lk> wrote:
>>>>>>>
>>>>>>>> Hi Nirmal,
>>>>>>>>
>>>>>>>> I am using WSO2 CEP 3.1.0, but I am getting those errors.
>>>>>>>>
>>>>>>>> *T. Pranavan*
>>>>>>>> *BSc Eng Undergraduate| Department of Computer Science &
>>>>>>>> Engineering ,University of Moratuwa*
>>>>>>>> *Mobile| *0775136836
>>>>>>>>
>>>>>>>> On 2 June 2015 at 18:29, Nirmal Fernando <nirmal@wso2.com>
wrote:
>>>>>>>>
>>>>>>>>> If you are trying to setup Stratos in distributed mode,
you have
>>>>>>>>> to use WSO2 CEP 3.1.0 released version. If you want to
use Stratos in
>>>>>>>>> single JVM mode, you do not need an external CEP.
>>>>>>>>>
>>>>>>>>> On Tue, Jun 2, 2015 at 6:23 PM, Pranavan Theivendiram
<
>>>>>>>>> pranavan.11@cse.mrt.ac.lk> wrote:
>>>>>>>>>
>>>>>>>>>> Hi All,
>>>>>>>>>>
>>>>>>>>>> I am getting the following error log at the cep start
up. Can
>>>>>>>>>> anyone help me in this issue?
>>>>>>>>>>
>>>>>>>>>> [*2015-06-02 18:19:35,848] ERROR - {SiddhiExtensionLoader}
>>>>>>>>>>  Cannot load Siddhi extension *
>>>>>>>>>> *[2015-06-02 18:19:35,878] ERROR - {EventProcessorDeployer}
>>>>>>>>>>  Execution plan is not deployed and in inactive state
:
>>>>>>>>>> SecondDerivativeOfHealthRequest.xml*
>>>>>>>>>> *org.wso2.carbon.event.processor.core.exception.ExecutionPlanConfigurationException:
>>>>>>>>>> Invalid query specified, No extension exist for
>>>>>>>>>> OutputAttributeExtension{extensionName='stratos',
functionName='concat',
>>>>>>>>>> rename='health_second_der_cluster_network'}*
>>>>>>>>>>
>>>>>>>>>> Thanks in adavance.
>>>>>>>>>>
>>>>>>>>>> *T. Pranavan*
>>>>>>>>>> *BSc Eng Undergraduate| Department of Computer Science
&
>>>>>>>>>> Engineering ,University of Moratuwa*
>>>>>>>>>> *Mobile| *0775136836
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Dev mailing list
>>>>>>>>>> Dev@wso2.org
>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>>
>>>>>>>>> Thanks & regards,
>>>>>>>>> Nirmal
>>>>>>>>>
>>>>>>>>> Associate Technical Lead - Data Technologies Team, WSO2
Inc.
>>>>>>>>> Mobile: +94715779733
>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> Thanks & regards,
>>>>>>> Nirmal
>>>>>>>
>>>>>>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>>>>>>> Mobile: +94715779733
>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Thanks & regards,
>>>>> Nirmal
>>>>>
>>>>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>>>>> Mobile: +94715779733
>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Thanks & regards,
>>> Nirmal
>>>
>>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>>> Mobile: +94715779733
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>>
>>>
>>
>


-- 
*V. Mohanadarshan*
*Senior Software Engineer,*
*Data Technologies Team,*
*WSO2, Inc. http://wso2.com <http://wso2.com> *
*lean.enterprise.middleware.*

email: mohan@wso2.com
phone:(+94) 771117673

Mime
View raw message