Return-Path: X-Original-To: apmail-stratos-dev-archive@minotaur.apache.org Delivered-To: apmail-stratos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E3E0017836 for ; Thu, 5 Mar 2015 02:21:03 +0000 (UTC) Received: (qmail 23973 invoked by uid 500); 5 Mar 2015 02:21:03 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 23916 invoked by uid 500); 5 Mar 2015 02:21:03 -0000 Mailing-List: contact dev-help@stratos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.apache.org Delivered-To: mailing list dev@stratos.apache.org Received: (qmail 23903 invoked by uid 99); 5 Mar 2015 02:21:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2015 02:21:03 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of udara@wso2.com designates 209.85.220.43 as permitted sender) Received: from [209.85.220.43] (HELO mail-pa0-f43.google.com) (209.85.220.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2015 02:20:38 +0000 Received: by padet14 with SMTP id et14so14542108pad.11 for ; Wed, 04 Mar 2015 18:19:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wso2.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=PUYM5TH7/XsjhxiX8a07m8Bf22ILBFYAYVUQKZryKPM=; b=FNH0sZJbjN5QvTfti2YtASg+18jcoMwco9txzuVPXKYoXwq6kl0Ss3BC8jaXrCdY7e CqGnUmvVkRGyay/h4KC/YCbyELo5ET7ftyN7hRcqFLSoL7782dJUC5Pg2bO+kWgBRPqi YtTBOTHyks5d+b7uQcQ9CAnJevW4x4nbECdgs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=PUYM5TH7/XsjhxiX8a07m8Bf22ILBFYAYVUQKZryKPM=; b=jvvCwYeok9FJKw0Jn7qs421ScCXjqNflHHEtMWkBza7J8F8IQwtk06SIqJjc2AW+I3 AmyPXGYXUwHweriecwG5pyqUGL0Aw7WZHsWUBgMFPGmYzqFUxQLqDRX6WGYall7xxx3a eX7HYIzGBAmrCDXra5VKbYelr3tzGnxZGf0zf9VSNX5W0rKaMHaRjN3BT1zttfi8bq8r 6W1kAxzQq4FtOuJHpADqyWO+DmUxWWiKh7CcQxegWo9/ny4v93/m4kw0wR1ESmdU9+Qw Qv+G6pAJNKz3q/04nBO6Cv22sK/becazd4DzSkqrncLxzxgqBaHvoO8swutDaWd0AVxs pQoQ== X-Gm-Message-State: ALoCoQk/6bQaQyXLyPy4g02Xpa+uBFtw0qDZ6XJZuaVOK4jc6ZBi/Ukp3J2TmUpugRJ1uCwbdTL/ MIME-Version: 1.0 X-Received: by 10.66.141.176 with SMTP id rp16mr11846907pab.11.1425521945646; Wed, 04 Mar 2015 18:19:05 -0800 (PST) Received: by 10.70.132.4 with HTTP; Wed, 4 Mar 2015 18:19:05 -0800 (PST) Received: by 10.70.132.4 with HTTP; Wed, 4 Mar 2015 18:19:05 -0800 (PST) In-Reply-To: References: Date: Thu, 5 Mar 2015 07:49:05 +0530 Message-ID: Subject: Re: ISSUE: Configure WSO2 CEP for Stratos From: Udara Liyanage To: dev Content-Type: multipart/alternative; boundary=001a1133322030b00e05108131c6 X-Virus-Checked: Checked by ClamAV on apache.org --001a1133322030b00e05108131c6 Content-Type: text/plain; charset=UTF-8 Hi, Errors seems to say you haven't deployed execution plans to CEP. Have you copied them to repository/deployment/server of CEP On 5 Mar 2015 03:49, "Imesh Gunaratne" wrote: > Hi Bathiya, > > I suppose you are running an external CEP. You can find all the CEP > artifacts in this folder [1], we just need to check whether all the > artifacts are copied to CEP according to their folder structure/artifact > type. You can also refer the stratos installer [2] for more details. > > [1] https://github.com/apache/stratos/tree/master/extensions/cep/artifacts > [2] > https://github.com/apache/stratos/blob/master/tools/stratos-installer/setup.sh > > On Wed, Mar 4, 2015 at 5:34 PM, Bhathiya Supun wrote: > >> While following this [1] >> >> documentation for $subject I'm getting >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> *TID: [0] [CEP] [2015-03-04 17:00:01,709] ERROR >> {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution >> plan is not deployed and in inactive state : >> SecondDerivativeOfRequestsInFlightFinder.xml >> org.wso2.carbon.event.processor.core.exception.ExecutionPlanConfigurationException: >> Invalid query specified, No extension exist for >> OutputAttributeExtension{extensionName='stratos', functionName='concat', >> rename='rif_second_der_cluster_network'} at >> org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.addExecutionPlanConfiguration(CarbonEventProcessorService.java:311) >> at >> org.wso2.carbon.event.processor.core.EventProcessorDeployer.processDeploy(EventProcessorDeployer.java:138) >> at >> org.wso2.carbon.event.processor.core.EventProcessorDeployer.deploy(EventProcessorDeployer.java:76) >> at >> org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) >> at >> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807) >> at >> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) >> at >> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377) >> at >> org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) >> at >> org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:135) >> at >> org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:464) >> at >> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95) >> at >> org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65) >> at >> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398) >> at >> org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219) >> at >> org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:77) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:606) at >> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260) >> at >> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) >> at >> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347) >> at >> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620) >> at >> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197) >> at >> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343) >> at >> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222) >> at >> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) >> at >> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) >> at >> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) >> at >> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) >> at >> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) >> at >> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) >> at >> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) >> at >> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) >> at >> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) >> at >> org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)* >> >> Looks like problem is in cep extention packaging as mentioned here [2] >> . Any >> known solution for this? >> >> [1] - >> https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Installing+Stratos+Manually+in+a+Distributed+Setup >> >> [2] - http://mail.wso2.org/mailarchive/dev/2014-October/038611.html >> >> -- >> Bhathiya Supun >> >> *Software Engineering Intern,* >> >> *WSO2 Inc.*+94 71 0648636 >> > > > > -- > Imesh Gunaratne > > Technical Lead, WSO2 > Committer & PMC Member, Apache Stratos > --001a1133322030b00e05108131c6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hi,

Errors seems to say you haven't deployed execution plans= to CEP. Have you copied them to repository/deployment/server of CEP

On 5 Mar 2015 03:49, "Imesh Gunaratne"= <imesh@apache.org> wrote:
Hi Ba= thiya,

I suppose you are running an external CEP. You ca= n find all the CEP artifacts in this folder [1], we just need to check whet= her all the artifacts are copied to CEP according to their folder structure= /artifact type. You can also refer the stratos installer [2] for more detai= ls.


On Wed, Mar 4, 2015 at 5:34 PM,= Bhathiya Supun <supunb@wso2.com> wrote:
While following this [1] documentation for $su= bject I'm getting

TID: [0] [CEP] [2015-03-04 17:00:01,709] E= RROR {org.wso2.carbon.event.processor.core.EventProcessorDeployer} -=C2=A0 = Execution plan is not deployed and in inactive state : SecondDerivativeOfRe= questsInFlightFinder.xml
org.wso2.carbon.event.processor.core.exception= .ExecutionPlanConfigurationException: Invalid query specified, No extension= exist for OutputAttributeExtension{extensionName=3D'stratos', func= tionName=3D'concat', rename=3D'rif_second_der_cluster_network&#= 39;}
=C2=A0=C2=A0=C2=A0 at org.wso2.carbon.event.processor.core.internal= .CarbonEventProcessorService.addExecutionPlanConfiguration(CarbonEventProce= ssorService.java:311)
=C2=A0=C2=A0=C2=A0 at org.wso2.carbon.event.proces= sor.core.EventProcessorDeployer.processDeploy(EventProcessorDeployer.java:1= 38)
=C2=A0=C2=A0=C2=A0 at org.wso2.carbon.event.processor.core.EventProc= essorDeployer.deploy(EventProcessorDeployer.java:76)
=C2=A0=C2=A0=C2=A0 = at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(De= ploymentFileData.java:136)
=C2=A0=C2=A0=C2=A0 at org.apache.axis2.deploy= ment.DeploymentEngine.doDeploy(DeploymentEngine.java:807)
=C2=A0=C2=A0= =C2=A0 at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSI= nfoList.java:144)
=C2=A0=C2=A0=C2=A0 at org.apache.axis2.deployment.Repo= sitoryListener.update(RepositoryListener.java:377)
=C2=A0=C2=A0=C2=A0 at= org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryLis= tener.java:254)
=C2=A0=C2=A0=C2=A0 at org.apache.axis2.deployment.Deploy= mentEngine.loadServices(DeploymentEngine.java:135)
=C2=A0=C2=A0=C2=A0 at= org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigu= rator.java:464)
=C2=A0=C2=A0=C2=A0 at org.apache.axis2.context.Configura= tionContextFactory.createConfigurationContext(ConfigurationContextFactory.j= ava:95)
=C2=A0=C2=A0=C2=A0 at org.wso2.carbon.core.CarbonConfigurationCo= ntextFactory.createNewConfigurationContext(CarbonConfigurationContextFactor= y.java:65)
=C2=A0=C2=A0=C2=A0 at org.wso2.carbon.core.init.CarbonServerM= anager.initializeCarbon(CarbonServerManager.java:398)
=C2=A0=C2=A0=C2=A0= at org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager= .java:219)
=C2=A0=C2=A0=C2=A0 at org.wso2.carbon.core.internal.CarbonCor= eServiceComponent.activate(CarbonCoreServiceComponent.java:77)
=C2=A0=C2= =A0=C2=A0 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)=C2=A0=C2=A0=C2=A0 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMe= thodAccessorImpl.java:57)
=C2=A0=C2=A0=C2=A0 at sun.reflect.DelegatingMe= thodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
=C2=A0=C2= =A0=C2=A0 at java.lang.reflect.Method.invoke(Method.java:606)
=C2=A0=C2= =A0=C2=A0 at org.eclipse.equinox.internal.ds.model.ServiceComponent.activat= e(ServiceComponent.java:260)
=C2=A0=C2=A0=C2=A0 at org.eclipse.equinox.i= nternal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:14= 6)
=C2=A0=C2=A0=C2=A0 at org.eclipse.equinox.internal.ds.model.ServiceCo= mponentProp.build(ServiceComponentProp.java:347)
=C2=A0=C2=A0=C2=A0 at o= rg.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProce= ss.java:620)
=C2=A0=C2=A0=C2=A0 at org.eclipse.equinox.internal.ds.Insta= nceProcess.buildComponents(InstanceProcess.java:197)
=C2=A0=C2=A0=C2=A0 = at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)<= br>=C2=A0=C2=A0=C2=A0 at org.eclipse.equinox.internal.ds.SCRManager.service= Changed(SCRManager.java:222)
=C2=A0=C2=A0=C2=A0 at org.eclipse.osgi.inte= rnal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredService= Listener.java:107)
=C2=A0=C2=A0=C2=A0 at org.eclipse.osgi.framework.inte= rnal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
= =C2=A0=C2=A0=C2=A0 at org.eclipse.osgi.framework.eventmgr.EventManager.disp= atchEvent(EventManager.java:230)
=C2=A0=C2=A0=C2=A0 at org.eclipse.osgi.= framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.jav= a:148)
=C2=A0=C2=A0=C2=A0 at org.eclipse.osgi.internal.serviceregistry.S= erviceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
= =C2=A0=C2=A0=C2=A0 at org.eclipse.osgi.internal.serviceregistry.ServiceRegi= stry.publishServiceEvent(ServiceRegistry.java:771)
=C2=A0=C2=A0=C2=A0 at= org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register= (ServiceRegistrationImpl.java:130)
=C2=A0=C2=A0=C2=A0 at org.eclipse.osg= i.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.= java:214)
=C2=A0=C2=A0=C2=A0 at org.eclipse.osgi.framework.internal.core= .BundleContextImpl.registerService(BundleContextImpl.java:433)
=C2=A0=C2= =A0=C2=A0 at org.eclipse.equinox.http.servlet.internal.Activator.registerHt= tpService(Activator.java:81)


Looks like problem is in cep = extention packaging as mentioned here [2]. Any known = solution for this?



--
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos
=
--001a1133322030b00e05108131c6--