Hi Pranavan,

You have a new line as the last line of the siddhi.extension file. The
SiddhiExtensionLoader class uses BufferedReader#readLine method to read the
custom extension lines in the file. Therefore, the final line is read as
another empty line by the Extension Loader, and then tries to load that
extension using Class#forName() method. That is the reason for this error.
Can you remove the empty line at the end of the siddhi.extension and try
again?

On Wed, Jun 10, 2015 at 9:51 AM, Pranavan Theivendiram <
pranavan...@cse.mrt.ac.lk> wrote:

> Hi Isuru,
>
> Please find the attachment below.
>
>
> *T. Pranavan*
> *BSc Eng Undergraduate| Department of Computer Science & Engineering
> ,University of Moratuwa*
> *Mobile| *0775136836
>
> On 10 June 2015 at 09:45, Isuru Haththotuwa <isu...@apache.org> wrote:
>
>> Hi Pranavan,
>>
>> Please attach your siddhi.extension file which is in
>> <CEP_HOME>/repository/conf/siddhi/ directory.
>>
>> On Wed, Jun 10, 2015 at 9:36 AM, Pranavan Theivendiram <
>> pranavan...@cse.mrt.ac.lk> wrote:
>>
>>> Hi Lahiru,
>>>
>>> In my case I am getting the same error.
>>>
>>> *[2015-06-10 09:33:46,654] ERROR - {SiddhiExtensionLoader}  Cannot load
>>> Siddhi extension *
>>> *[2015-06-10 09:33:46,698] 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'}*
>>>
>>> What could be the possible reason?
>>>
>>>
>>> *T. Pranavan*
>>> *BSc Eng Undergraduate| Department of Computer Science & Engineering
>>> ,University of Moratuwa*
>>> *Mobile| *0775136836
>>>
>>> On 10 June 2015 at 08:55, Lahiru Sandaruwan <lahi...@wso2.com> wrote:
>>>
>>>> Hi Mari,
>>>>
>>>> It seems we do not have the information [1], in the corresponding page
>>>> of 4.1.0, [2].
>>>>
>>>> Thanks.
>>>>
>>>> [1]
>>>> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Complex+Event+Processor+Configuration
>>>>
>>>> [2]
>>>> https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Installing+Stratos+in+a+Distributed+Setup+Using+the+Installer
>>>>
>>>> On Wed, Jun 10, 2015 at 8:54 AM, Lahiru Sandaruwan <lahi...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Pranavan,
>>>>>
>>>>> I just ran a setup with external CEP, as explained in the guide you
>>>>> mentioned, [1]. There are no errors. However the mock stat publisher does
>>>>> not work when the CEP is running with port offset.
>>>>>
>>>>> Will have a look into it.
>>>>>
>>>>> Meanwhile, can you try this again with fresh CEP 3.1.0 pack again?
>>>>>
>>>>> Thanks.
>>>>>
>>>>> [1]
>>>>> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Complex+Event+Processor+Configuration
>>>>>
>>>>>
>>>>> On Tue, Jun 2, 2015 at 8:40 PM, Pranavan Theivendiram <
>>>>> pranavan...@cse.mrt.ac.lk> wrote:
>>>>>
>>>>>> Hi Mohan,
>>>>>>
>>>>>> I have checked. It looks like an issue.
>>>>>>
>>>>>> *T. Pranavan*
>>>>>> *BSc Eng Undergraduate| Department of Computer Science & Engineering
>>>>>> ,University of Moratuwa*
>>>>>> *Mobile| *0775136836
>>>>>>
>>>>>> On 2 June 2015 at 19:45, Mohanadarshan Vivekanandalingam <
>>>>>> mo...@wso2.com> wrote:
>>>>>>
>>>>>>> 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...@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...@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 <nir...@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...@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 <nir...@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...@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 <nir...@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...@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 <nir...@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...@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
>>>>>>>>>>>>>>>>> d...@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: mo...@wso2.com
>>>>>>> phone:(+94) 771117673
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Dev mailing list
>>>>>>> d...@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> d...@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> --
>>>>> Lahiru Sandaruwan
>>>>> Committer and PMC member, Apache Stratos,
>>>>> Senior Software Engineer,
>>>>> WSO2 Inc., http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> phone: +94773325954
>>>>> email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/
>>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> --
>>>> Lahiru Sandaruwan
>>>> Committer and PMC member, Apache Stratos,
>>>> Senior Software Engineer,
>>>> WSO2 Inc., http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> phone: +94773325954
>>>> email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/
>>>> linked-in:
>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>
>>>> --
>>>> <http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146>
>>>> <http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146>
>>>> Thanks and Regards,
>>>>
>>>> Isuru H.
>>>> <http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146>
>>>> +94 716 358 048
>>>> <http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146>*
>>>> <http://wso2.com/>*
>>>>
>>>>
>>>> * <http://wso2.com/>*
>>>>
>>>>
>>>>
>


-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* <http://wso2.com/>*

Reply via email to