Open pubudup opened 7 years ago
@chamaraanu : Labels: High, 3.1.0-alpha
Tested the analytics scripts by manually running the script at [1] manually against both analytics databases and I was able to start the analytics component without any error messages. [1][$HOME]/wso2/analytics/dbscripts/oracle.sql
@madhawap , @geethkokila, @chamaraanu : We can drop the priority of this ticket to medium since there is a workaround for this issue and -Dsetup is not recommended to be run in production environments.
Same issue is being discussed in this mail thread [1] [1] "[Dev] [DAS][3.0.1] -Dsetup startup error"
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Pre-Conditions:-
Expected Results:-
Actual Results:-
[2017-06-30 14:44:08,595] [IoT-Analytics] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Starting WSO2 Carbon... [2017-06-30 14:44:08,596] [IoT-Analytics] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Operating System : Mac OS X 10.12.2, x86_64 [2017-06-30 14:44:08,596] [IoT-Analytics] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Home : /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre [2017-06-30 14:44:08,596] [IoT-Analytics] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Version : 1.8.0_121 [2017-06-30 14:44:08,596] [IoT-Analytics] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM : Java HotSpot(TM) 64-Bit Server VM 25.121-b13,Oracle Corporation [2017-06-30 14:44:08,596] [IoT-Analytics] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Carbon Home : /Users/pubudup/Documents/WSO2/IoT/Oracle12c/wso2iot-3.1.0-alpha/wso2/analytics [2017-06-30 14:44:08,596] [IoT-Analytics] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Temp Dir : /Users/pubudup/Documents/WSO2/IoT/Oracle12c/wso2iot-3.1.0-alpha/wso2/analytics/tmp [2017-06-30 14:44:08,596] [IoT-Analytics] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - User : pubudup, en-US, Asia/Colombo [2017-06-30 14:44:09,024] [IoT-Analytics] INFO {org.wso2.carbon.event.output.adapter.kafka.internal.ds.KafkaEventAdapterServiceDS} - Successfully deployed the Kafka output event adaptor service [2017-06-30 14:44:09,092] [IoT-Analytics] INFO {org.wso2.carbon.event.processor.manager.core.internal.util.ManagementModeConfigurationLoader} - CEP started in Single node mode [2017-06-30 14:44:09,163] [IoT-Analytics] INFO {org.wso2.carbon.event.template.manager.core.internal.ds.TemplateDeployerServiceTrackerDS} - Successfully deployed the execution manager tracker service [2017-06-30 14:44:10,718] [IoT-Analytics] INFO {org.wso2.carbon.databridge.receiver.binary.internal.BinaryDataReceiver} - Started Binary SSL Transport on port : 9713 [2017-06-30 14:44:10,719] [IoT-Analytics] INFO {org.wso2.carbon.databridge.receiver.binary.internal.BinaryDataReceiver} - Started Binary TCP Transport on port : 9613 [2017-06-30 14:44:10,726] [IoT-Analytics] INFO {org.wso2.carbon.databridge.core.internal.DataBridgeDS} - Successfully deployed Agent Server [2017-06-30 14:44:11,032] [IoT-Analytics] INFO {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} - Configured Registry in 165ms [2017-06-30 14:44:11,255] [IoT-Analytics] INFO {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} - Registry Mode : READ-WRITE [2017-06-30 14:44:12,588] [IoT-Analytics] INFO {org.wso2.carbon.metrics.impl.util.JmxReporterBuilder} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics' [2017-06-30 14:44:13,164] [IoT-Analytics] INFO {org.wso2.carbon.metrics.impl.util.JDBCReporterBuilder} - Metrics tables exist. Skipping the Metrics Database setup process. [2017-06-30 14:44:13,164] [IoT-Analytics] INFO {org.wso2.carbon.metrics.impl.util.JDBCReporterBuilder} - Creating JDBC reporter for Metrics with source 'localhost', data source 'jdbc/WSO2MetricsDB' and 60 seconds polling period [2017-06-30 14:44:13,165] [IoT-Analytics] INFO {org.wso2.carbon.metrics.impl.reporter.AbstractReporter} - Started JMX reporter for Metrics [2017-06-30 14:44:13,171] [IoT-Analytics] INFO {org.wso2.carbon.metrics.impl.reporter.AbstractReporter} - Started JDBC reporter for Metrics [2017-06-30 14:44:14,882] [IoT-Analytics] INFO {org.wso2.carbon.registry.indexing.solr.SolrClient} - Default Embedded Solr Server Initialized [2017-06-30 14:44:15,134] [IoT-Analytics] INFO {org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} - Carbon UserStoreMgtDSComponent activated successfully. [2017-06-30 14:44:27,289] [IoT-Analytics] INFO {org.apache.catalina.startup.TaglibUriRule} - TLD skipped. URI: http://tiles.apache.org/tags-tiles is already defined [2017-06-30 14:44:29,503] [IoT-Analytics] INFO {org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer} - User Store Configuration Deployer initiated. [2017-06-30 14:44:29,504] [IoT-Analytics] INFO {org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer} - User Store Configuration Deployer initiated. [2017-06-30 14:44:32,735] [IoT-Analytics] INFO {org.wso2.carbon.core.init.CarbonServerManager} - Repository : /Users/pubudup/Documents/WSO2/IoT/Oracle12c/wso2iot-3.1.0-alpha/wso2/analytics/repository/deployment/server/ [2017-06-30 14:44:32,738] [IoT-Analytics] INFO {org.wso2.carbon.event.input.adapter.kafka.internal.ds.KafkaEventAdapterServiceHolder} - Kafka input event adaptor waiting for dependent configurations to load [2017-06-30 14:44:32,762] [IoT-Analytics] INFO {org.wso2.carbon.core.multitenancy.eager.TenantLoadingConfig} - Using tenant lazy loading policy... [2017-06-30 14:44:32,770] [IoT-Analytics] INFO {org.wso2.carbon.core.internal.permission.update.PermissionUpdater} - Permission cache updated for tenant -1234 [2017-06-30 14:44:32,832] [IoT-Analytics] ERROR {org.wso2.carbon.identity.core.internal.IdentityCoreServiceComponent} - Error occurred while populating identity configuration properties org.wso2.carbon.identity.base.IdentityRuntimeException: java.io.FileNotFoundException: /Users/pubudup/Documents/WSO2/IoT/Oracle12c/wso2iot-3.1.0-alpha/wso2/analytics/dbscripts/identity/h2.sql (No such file or directory) at org.wso2.carbon.identity.base.IdentityRuntimeException.error(IdentityRuntimeException.java:71) at org.wso2.carbon.identity.core.persistence.IdentityDBInitializer.executeSQLScript(IdentityDBInitializer.java:273) at org.wso2.carbon.identity.core.persistence.IdentityDBInitializer.createIdentityDatabase(IdentityDBInitializer.java:141) at org.wso2.carbon.identity.core.persistence.JDBCPersistenceManager.initializeDatabase(JDBCPersistenceManager.java:112) at org.wso2.carbon.identity.core.internal.IdentityCoreServiceComponent.activate(IdentityCoreServiceComponent.java:130) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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:345) 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.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:514) at org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219) at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:94) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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:345) 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) at org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40) at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1269) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1182) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1072) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5368) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5660) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.FileNotFoundException: /Users/pubudup/Documents/WSO2/IoT/Oracle12c/wso2iot-3.1.0-alpha/wso2/analytics/dbscripts/identity/h2.sql (No such file or directory) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) at java.io.FileInputStream.<init>(FileInputStream.java:138) at java.io.FileInputStream.<init>(FileInputStream.java:93) at org.wso2.carbon.identity.core.persistence.IdentityDBInitializer.executeSQLScript(IdentityDBInitializer.java:235) ... 63 more [2017-06-30 14:44:32,865] [IoT-Analytics] INFO {org.wso2.carbon.core.transports.http.HttpTransportListener} - HTTP port : 9765 [2017-06-30 14:44:32,865] [IoT-Analytics] INFO {org.wso2.carbon.core.transports.http.HttpsTransportListener} - HTTPS port : 9445 [2017-06-30 14:44:32,916] [IoT-Analytics] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: echo {super-tenant} [2017-06-30 14:44:32,977] [IoT-Analytics] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: Version {super-tenant} [2017-06-30 14:44:32,984] [IoT-Analytics] INFO {org.wso2.carbon.event.receiver.core.EventReceiverDeployer} - Event receiver deployment held back and in inactive state: android_sense_receiver-carbon.super.xml, Stream validation exception: Stream org.wso2.iot.android.sense:1.0.0 does not exist [2017-06-30 14:44:32,992] [IoT-Analytics] INFO {org.wso2.carbon.event.simulator.core.CSVFileDeployer} - CSV file events.csv deployed successfully. [2017-06-30 14:44:33,022] [IoT-Analytics] INFO {org.wso2.carbon.event.receiver.core.EventReceiverDeployer} - Event Receiver undeployed successfully: android_sense_receiver-carbon.super.xml [2017-06-30 14:44:33,054] [IoT-Analytics] INFO {org.wso2.carbon.event.input.adapter.core.internal.InputAdapterRuntime} - Connecting receiver android_sense_receiver-carbon.super [2017-06-30 14:44:33,056] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:org.wso2.iot.android.sense:1.0.0 [2017-06-30 14:44:33,056] [IoT-Analytics] INFO {org.wso2.carbon.event.receiver.core.EventReceiverDeployer} - Event Receiver configuration successfully deployed and in active state: android_sense_receiver-carbon.super [2017-06-30 14:44:33,057] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : org.wso2.iot.android.sense:1.0.0 [2017-06-30 14:44:34,207] [IoT-Analytics] INFO {org.springframework.web.context.support.XmlWebApplicationContext} - Refreshing Root WebApplicationContext: startup date [Fri Jun 30 14:44:34 IST 2017]; root of context hierarchy [2017-06-30 14:44:34,248] [IoT-Analytics] INFO {org.springframework.beans.factory.xml.XmlBeanDefinitionReader} - Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml] [2017-06-30 14:44:34,290] [IoT-Analytics] INFO {org.springframework.beans.factory.xml.XmlBeanDefinitionReader} - Loading XML bean definitions from URL [jndi:/localhost/analytics/WEB-INF/cxf-servlet.xml] [2017-06-30 14:44:34,402] [IoT-Analytics] INFO {org.springframework.beans.factory.support.DefaultListableBeanFactory} - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@47195580: defining beans [cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,analyticsServices,analyticsBean,analyticsExceptionMapper,analyticsIndexExceptionMapper,analyticsTableNotFoundExceptionMapper,analyticsTimeoutExceptionMapper,jacksonJsonProvider,httpHeadersOutInterceptor]; root of factory hierarchy [2017-06-30 14:44:34,888] [IoT-Analytics] INFO {org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer} - Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/analytics].File[/Users/pubudup/Documents/WSO2/IoT/Oracle12c/wso2iot-3.1.0-alpha/wso2/analytics/repository/deployment/server/webapps/analytics.war] [2017-06-30 14:44:34,935] [IoT-Analytics] INFO {org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer} - Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/inputwebsocket].File[/Users/pubudup/Documents/WSO2/IoT/Oracle12c/wso2iot-3.1.0-alpha/wso2/analytics/repository/deployment/server/webapps/inputwebsocket.war] [2017-06-30 14:44:34,962] [IoT-Analytics] INFO {org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer} - Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/outputwebsocket].File[/Users/pubudup/Documents/WSO2/IoT/Oracle12c/wso2iot-3.1.0-alpha/wso2/analytics/repository/deployment/server/webapps/outputwebsocket.war] [2017-06-30 14:44:35,299] [IoT-Analytics] INFO {org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer} - Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/secured-websocket].File[/Users/pubudup/Documents/WSO2/IoT/Oracle12c/wso2iot-3.1.0-alpha/wso2/analytics/repository/deployment/server/webapps/secured-websocket.war] [2017-06-30 14:44:37,689] [IoT-Analytics] INFO {net.sf.ehcache.pool.sizeof.filter.AnnotationSizeOfFilter} - Using regular expression provided through VM argument net.sf.ehcache.pool.sizeof.ignore.pattern for IgnoreSizeOf annotation : ^.*cache\..*IgnoreSizeOf$ [2017-06-30 14:44:37,694] [IoT-Analytics] INFO {net.sf.ehcache.pool.impl.DefaultSizeOfEngine} - Using user supplied filter @ jar:file:/Users/pubudup/Documents/WSO2/IoT/Oracle12c/wso2iot-3.1.0-alpha/wso2/analytics/repository/deployment/server/webapps/shindig/WEB-INF/lib/shindig-common-2.5.2.jar!/org/apache/shindig/common/cache/ehcache/SizeOfFilter.txt [2017-06-30 14:44:37,714] [IoT-Analytics] INFO {net.sf.ehcache.pool.sizeof.JvmInformation} - Detected JVM data model settings of: 64-Bit HotSpot JVM with Compressed OOPs [2017-06-30 14:44:37,966] [IoT-Analytics] INFO {net.sf.ehcache.pool.sizeof.AgentLoader} - Extracted agent jar to temporary file /Users/pubudup/Documents/WSO2/IoT/Oracle12c/wso2iot-3.1.0-alpha/wso2/analytics/tmp/ehcache-sizeof-agent4383469275398336034.jar [2017-06-30 14:44:37,967] [IoT-Analytics] INFO {net.sf.ehcache.pool.sizeof.AgentLoader} - Trying to load agent @ /Users/pubudup/Documents/WSO2/IoT/Oracle12c/wso2iot-3.1.0-alpha/wso2/analytics/tmp/ehcache-sizeof-agent4383469275398336034.jar objc[56169]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/java (0x102d1b4c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x110b9f4e0). One of the two will be used. Which one is undefined. [2017-06-30 14:44:37,973] [IoT-Analytics] INFO {net.sf.ehcache.pool.impl.DefaultSizeOfEngine} - using Agent sizeof engine [2017-06-30 14:44:38,008] [IoT-Analytics] INFO {net.sf.ehcache.pool.impl.DefaultSizeOfEngine} - using Agent sizeof engine [2017-06-30 14:44:38,080] [IoT-Analytics] INFO {org.apache.shindig.gadgets.features.FeatureRegistry} - Resources from res:features/features.txt are loading. [2017-06-30 14:44:38,087] [IoT-Analytics] INFO {org.apache.shindig.common.xml.XmlUtil} - The XML processor being used does not support secure parsing. [2017-06-30 14:44:38,088] [IoT-Analytics] INFO {org.apache.shindig.common.xml.XmlUtil} - Document builders are being reused. [2017-06-30 14:44:38,257] [IoT-Analytics] INFO {org.apache.shindig.gadgets.features.FeatureRegistry} - Resources from res:features-extras/features.txt are loading. [2017-06-30 14:44:38,272] [IoT-Analytics] INFO {org.apache.shindig.gadgets.features.FeatureRegistry} - Resources from res:wso2features/features.txt are loading. [2017-06-30 14:44:38,281] [IoT-Analytics] WARN {org.apache.shindig.gadgets.features.FeatureRegistry} - The container.site.gadget feature with definition at res:wso2features/container.site.gadget/feature.xml is being overridden. [2017-06-30 14:44:38,467] [IoT-Analytics] INFO {org.apache.shindig.config.JsonContainerConfigLoader} - Resources from containers/default/container.js are loading. [2017-06-30 14:44:38,467] [IoT-Analytics] INFO {org.apache.shindig.config.JsonContainerConfigLoader} - Container configuration containers/default/container.js is being read. [2017-06-30 14:44:39,132] [IoT-Analytics] INFO {org.apache.shindig.gadgets.oauth2.logger.FilteredLogger} - Using random key for OAuth2 client-side state encryption [2017-06-30 14:44:39,132] [IoT-Analytics] INFO {org.apache.shindig.gadgets.oauth2.logger.FilteredLogger} - OAuth2CrypterProvider constructor [2017-06-30 14:44:39,156] [IoT-Analytics] INFO {org.apache.shindig.gadgets.oauth.OAuthModule} - The OAuth signing key from res://wso2carbon.pem is loading. [2017-06-30 14:44:39,163] [IoT-Analytics] INFO {org.apache.shindig.gadgets.oauth.OAuthModule$OAuthCrypterProvider} - Using random key for OAuth client-side state encryption [2017-06-30 14:44:39,164] [IoT-Analytics] INFO {org.apache.shindig.gadgets.oauth.OAuthModule} - A random key for OAuth client-side state encryption is being used. [2017-06-30 14:44:39,459] [IoT-Analytics] INFO {org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer} - Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/shindig].File[/Users/pubudup/Documents/WSO2/IoT/Oracle12c/wso2iot-3.1.0-alpha/wso2/analytics/repository/deployment/server/webapps/shindig.war] [2017-06-30 14:44:40,062] [IoT-Analytics] INFO {org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} - Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/portal].File[/Users/pubudup/Documents/WSO2/IoT/Oracle12c/wso2iot-3.1.0-alpha/wso2/analytics/repository/deployment/server/jaggeryapps/portal] [2017-06-30 14:44:40,082] [IoT-Analytics] INFO {org.wso2.carbon.databridge.receiver.thrift.ThriftDataReceiver} - Thrift Server started at 0.0.0.0 [2017-06-30 14:44:40,096] [IoT-Analytics] INFO {org.wso2.carbon.databridge.receiver.thrift.ThriftDataReceiver} - Thrift SSL port : 7713 [2017-06-30 14:44:40,099] [IoT-Analytics] INFO {org.wso2.carbon.databridge.receiver.thrift.ThriftDataReceiver} - Thrift port : 7613 [2017-06-30 14:44:40,121] [IoT-Analytics] INFO {org.apache.tomcat.util.net.NioSelectorPool} - Using a shared selector for servlet write/read [2017-06-30 14:44:40,151] [IoT-Analytics] INFO {org.apache.tomcat.util.net.NioSelectorPool} - Using a shared selector for servlet write/read [2017-06-30 14:44:40,235] [IoT-Analytics] INFO {org.wso2.carbon.ntask.core.service.impl.TaskServiceImpl} - Task service starting in STANDALONE mode... [2017-06-30 14:44:40,618] [IoT-Analytics] INFO {org.wso2.carbon.analytics.dataservice.core.indexing.IndexNodeCoordinator} - My Analytics Node ID: 37917da8-11fc-48bd-81f7-6a842fd7c758 [2017-06-30 14:44:41,216] [IoT-Analytics] INFO {org.wso2.carbon.analytics.dataservice.core.indexing.IndexNodeCoordinator} - Indexing Initialized: STANDALONE | Current Node Indexing: Yes [2017-06-30 14:44:41,217] [IoT-Analytics] INFO {org.wso2.carbon.analytics.dataservice.core.AnalyticsDataServiceImpl} - Current Node Data Purging: Yes [2017-06-30 14:44:41,218] [IoT-Analytics] INFO {org.wso2.carbon.analytics.dataservice.core.indexing.IndexNodeCoordinator} - Initializing indexing shards: [0, 1, 2, 3, 4, 5] [2017-06-30 14:44:41,294] [IoT-Analytics] INFO {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} - Task scheduled: [-1234][ANALYTICS_DATA_PURGING_GLOBAL][GLOBAL_DATA_PURGING] [2017-06-30 14:44:41,350] [IoT-Analytics] INFO {org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor} - Loading Spark defaults from /Users/pubudup/Documents/WSO2/IoT/Oracle12c/wso2iot-3.1.0-alpha/wso2/analytics/conf/analytics/spark/spark-defaults.conf [2017-06-30 14:44:41,491] [IoT-Analytics] ERROR {org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener} - Failed to create an oauth token with jwt grant type. org.wso2.carbon.identity.jwt.client.extension.exception.JWTClientException: Failed loading the private key. at org.wso2.carbon.identity.jwt.client.extension.util.JWTClientUtil.generateSignedJWTAssertion(JWTClientUtil.java:301) at org.wso2.carbon.identity.jwt.client.extension.util.JWTClientUtil.generateSignedJWTAssertion(JWTClientUtil.java:212) at org.wso2.carbon.identity.jwt.client.extension.JWTClient.getAccessToken(JWTClient.java:71) at org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener.getToken(MQTTAdapterListener.java:338) at org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener.startListener(MQTTAdapterListener.java:183) at org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener.run(MQTTAdapterListener.java:302) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at org.wso2.carbon.core.util.KeyStoreManager.getDefaultPrivateKey(KeyStoreManager.java:395) at org.wso2.carbon.identity.jwt.client.extension.util.JWTClientUtil.generateSignedJWTAssertion(JWTClientUtil.java:276) ... 6 more [2017-06-30 14:44:42,060] [IoT-Analytics] INFO {org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor} - Starting SPARK in the Client Local. Master : local [2017-06-30 14:44:42,060] [IoT-Analytics] INFO {org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor} - Initializing the Spark application locally [2017-06-30 14:44:42,915] [IoT-Analytics] INFO {Remoting} - Starting remoting [2017-06-30 14:44:43,034] [IoT-Analytics] INFO {Remoting} - Remoting started; listening on addresses :[akka.tcp://sparkDriverActorSystem@10.100.7.24:13003] [2017-06-30 14:44:44,202] [IoT-Analytics] INFO {org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor} - Started Spark CLIENT in the cluster pointing to MASTER local with the application name : CarbonAnalytics and UI port : 4042 [2017-06-30 14:44:44,232] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Deploying Carbon Application : accelerometer_sensor.car... [2017-06-30 14:44:45,689] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : org.wso2.iot.devices.accelerometer:1.0.0 [2017-06-30 14:44:45,696] [IoT-Analytics] INFO {org.wso2.carbon.event.input.adapter.core.internal.InputAdapterRuntime} - Connecting receiver accelerometer_receiver [2017-06-30 14:44:45,696] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:org.wso2.iot.devices.accelerometer:1.0.0 [2017-06-30 14:44:45,696] [IoT-Analytics] INFO {org.wso2.carbon.event.receiver.core.EventReceiverDeployer} - Event Receiver configuration successfully deployed and in active state: accelerometer_receiver [2017-06-30 14:44:45,699] [IoT-Analytics] INFO {org.wso2.carbon.dashboard.deployment.DashboardDeployer} - Created gadget,layout and widget directories for tenant [carbon.super] [2017-06-30 14:44:45,702] [IoT-Analytics] INFO {org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer} - Deploying spark script: accelerometer_script.xml for tenant : -1234 [2017-06-30 14:44:45,754] [IoT-Analytics] INFO {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} - Task scheduled: [-1234][ANALYTICS_SPARK][accelerometer_script] [2017-06-30 14:44:45,757] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Successfully Deployed Carbon Application : accelerometer_1.0.0 {super-tenant} [2017-06-30 14:44:45,757] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Deploying Carbon Application : androidsense.car... [2017-06-30 14:44:45,833] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.activity.stats:1.0.0 [2017-06-30 14:44:45,834] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.activity:1.0.0 [2017-06-30 14:44:45,835] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.audio:1.0.0 [2017-06-30 14:44:45,836] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.battery.stats:1.0.0 [2017-06-30 14:44:45,836] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.battery:1.0.0 [2017-06-30 14:44:45,837] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.call.stats:1.0.0 [2017-06-30 14:44:45,838] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.call:1.0.0 [2017-06-30 14:44:45,838] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.data.stats:1.0.0 [2017-06-30 14:44:45,839] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.data:1.0.0 [2017-06-30 14:44:45,839] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.device.details:1.0.0 [2017-06-30 14:44:45,840] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.filtered.audio:1.0.0 [2017-06-30 14:44:45,840] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.headset.stats:1.0.0 [2017-06-30 14:44:45,841] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.location.stats:1.0.0 [2017-06-30 14:44:45,841] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.location:1.0.0 [2017-06-30 14:44:45,842] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.screen.stats:1.0.0 [2017-06-30 14:44:45,842] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.screen:1.0.0 [2017-06-30 14:44:45,844] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.sms.stats:1.0.0 [2017-06-30 14:44:45,844] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.sms:1.0.0 [2017-06-30 14:44:45,845] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.accelerometer:1.0.0 [2017-06-30 14:44:45,845] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.accelerometer.stats:1.0.0 [2017-06-30 14:44:45,846] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.gyroscope:1.0.0 [2017-06-30 14:44:45,846] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.gyroscope.stats:1.0.0 [2017-06-30 14:44:45,847] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.gravity:1.0.0 [2017-06-30 14:44:45,847] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.gravity.stats:1.0.0 [2017-06-30 14:44:45,848] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.magnetic:1.0.0 [2017-06-30 14:44:45,848] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.magnetic.stats:1.0.0 [2017-06-30 14:44:45,849] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.rotation:1.0.0 [2017-06-30 14:44:45,849] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.rotation.stats:1.0.0 [2017-06-30 14:44:45,850] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.light:1.0.0 [2017-06-30 14:44:45,851] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.light.stats:1.0.0 [2017-06-30 14:44:45,851] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.pressure:1.0.0 [2017-06-30 14:44:45,852] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.pressure.stats:1.0.0 [2017-06-30 14:44:45,852] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.proximity:1.0.0 [2017-06-30 14:44:45,853] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.android.proximity.stats:1.0.0 [2017-06-30 14:44:45,863] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:org.wso2.iot.android.sense:1.0.0 [2017-06-30 14:44:45,914] [IoT-Analytics] INFO {org.wso2.carbon.event.publisher.core.EventPublisherDeployer} - Event Publisher configuration successfully deployed and in active state : android_sense_publisher [2017-06-30 14:44:46,109] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.filtered.audio:1.0.0 [2017-06-30 14:44:46,110] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Consumer added to the junction. Stream:iot.per.device.stream.android.audio:1.0.0 [2017-06-30 14:44:46,111] [IoT-Analytics] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution plan is deployed successfully and in active state : Android-Audio-Filter-ExecutionPlan [2017-06-30 14:44:46,165] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.activity.stats:1.0.0 [2017-06-30 14:44:46,165] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Consumer added to the junction. Stream:iot.per.device.stream.android.activity:1.0.0 [2017-06-30 14:44:46,165] [IoT-Analytics] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution plan is deployed successfully and in active state : Android-Activity-ExecutionPlan [2017-06-30 14:44:46,190] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.headset.stats:1.0.0 [2017-06-30 14:44:46,190] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Consumer added to the junction. Stream:iot.per.device.stream.android.audio:1.0.0 [2017-06-30 14:44:46,190] [IoT-Analytics] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution plan is deployed successfully and in active state : Android-Audio-ExecutionPlan [2017-06-30 14:44:46,198] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.battery.stats:1.0.0 [2017-06-30 14:44:46,198] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Consumer added to the junction. Stream:iot.per.device.stream.android.battery:1.0.0 [2017-06-30 14:44:46,198] [IoT-Analytics] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution plan is deployed successfully and in active state : Android-Battery-ExecutionPlan [2017-06-30 14:44:46,209] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.call.stats:1.0.0 [2017-06-30 14:44:46,210] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Consumer added to the junction. Stream:iot.per.device.stream.android.call:1.0.0 [2017-06-30 14:44:46,210] [IoT-Analytics] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution plan is deployed successfully and in active state : Android-Call-ExecutionPlan [2017-06-30 14:44:46,220] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.data.stats:1.0.0 [2017-06-30 14:44:46,220] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Consumer added to the junction. Stream:iot.per.device.stream.android.data:1.0.0 [2017-06-30 14:44:46,221] [IoT-Analytics] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution plan is deployed successfully and in active state : Android-Data-ExecutionPlan [2017-06-30 14:44:46,236] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.location.stats:1.0.0 [2017-06-30 14:44:46,236] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Consumer added to the junction. Stream:iot.per.device.stream.android.location:1.0.0 [2017-06-30 14:44:46,236] [IoT-Analytics] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution plan is deployed successfully and in active state : Android-Location-ExecutionPlan [2017-06-30 14:44:46,243] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.screen.stats:1.0.0 [2017-06-30 14:44:46,243] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Consumer added to the junction. Stream:iot.per.device.stream.android.screen:1.0.0 [2017-06-30 14:44:46,243] [IoT-Analytics] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution plan is deployed successfully and in active state : Android-Screen-ExecutionPlan [2017-06-30 14:44:46,301] [IoT-Analytics] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution plan deployment held back and in inactive state : Android-Sense-ExecutionPlan.siddhiql, Dependency validation exception: Stream org.wso2.iot.LocationStream:1.0.0 does not exist [2017-06-30 14:44:46,306] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.sms.stats:1.0.0 [2017-06-30 14:44:46,307] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Consumer added to the junction. Stream:iot.per.device.stream.android.sms:1.0.0 [2017-06-30 14:44:46,307] [IoT-Analytics] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution plan is deployed successfully and in active state : Android-SMS-ExecutionPlan [2017-06-30 14:44:46,312] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.accelerometer.stats:1.0.0 [2017-06-30 14:44:46,312] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Consumer added to the junction. Stream:iot.per.device.stream.android.accelerometer:1.0.0 [2017-06-30 14:44:46,312] [IoT-Analytics] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution plan is deployed successfully and in active state : Android-Accelerometer-ExecutionPlan [2017-06-30 14:44:46,319] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.gyroscope.stats:1.0.0 [2017-06-30 14:44:46,319] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Consumer added to the junction. Stream:iot.per.device.stream.android.gyroscope:1.0.0 [2017-06-30 14:44:46,319] [IoT-Analytics] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution plan is deployed successfully and in active state : Android-Gyroscope-ExecutionPlan [2017-06-30 14:44:46,325] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.gravity.stats:1.0.0 [2017-06-30 14:44:46,325] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Consumer added to the junction. Stream:iot.per.device.stream.android.gravity:1.0.0 [2017-06-30 14:44:46,325] [IoT-Analytics] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution plan is deployed successfully and in active state : Android-Gravity-ExecutionPlan [2017-06-30 14:44:46,333] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.magnetic.stats:1.0.0 [2017-06-30 14:44:46,333] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Consumer added to the junction. Stream:iot.per.device.stream.android.magnetic:1.0.0 [2017-06-30 14:44:46,333] [IoT-Analytics] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution plan is deployed successfully and in active state : Android-Magnetic-ExecutionPlan [2017-06-30 14:44:46,338] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.rotation.stats:1.0.0 [2017-06-30 14:44:46,338] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Consumer added to the junction. Stream:iot.per.device.stream.android.rotation:1.0.0 [2017-06-30 14:44:46,338] [IoT-Analytics] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution plan is deployed successfully and in active state : Android-Rotation-ExecutionPlan [2017-06-30 14:44:46,343] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.light.stats:1.0.0 [2017-06-30 14:44:46,343] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Consumer added to the junction. Stream:iot.per.device.stream.android.light:1.0.0 [2017-06-30 14:44:46,343] [IoT-Analytics] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution plan is deployed successfully and in active state : Android-Light-ExecutionPlan [2017-06-30 14:44:46,349] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.pressure.stats:1.0.0 [2017-06-30 14:44:46,349] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Consumer added to the junction. Stream:iot.per.device.stream.android.pressure:1.0.0 [2017-06-30 14:44:46,349] [IoT-Analytics] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution plan is deployed successfully and in active state : Android-Pressure-ExecutionPlan [2017-06-30 14:44:46,355] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.proximity.stats:1.0.0 [2017-06-30 14:44:46,355] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Consumer added to the junction. Stream:iot.per.device.stream.android.proximity:1.0.0 [2017-06-30 14:44:46,355] [IoT-Analytics] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution plan is deployed successfully and in active state : Android-Proximity-ExecutionPlan [2017-06-30 14:44:46,356] [IoT-Analytics] INFO {org.wso2.carbon.dashboard.deployment.DashboardDeployer} - Created gadget,layout and widget directories for tenant [carbon.super] [2017-06-30 14:44:46,357] [IoT-Analytics] INFO {org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer} - Deploying spark script: AndroidActivityScript.xml for tenant : -1234 [2017-06-30 14:44:46,382] [IoT-Analytics] INFO {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} - Task scheduled: [-1234][ANALYTICS_SPARK][AndroidActivityScript] [2017-06-30 14:44:46,383] [IoT-Analytics] INFO {org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer} - Deploying spark script: AndroidAudioScript.xml for tenant : -1234 [2017-06-30 14:44:46,399] [IoT-Analytics] INFO {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} - Task scheduled: [-1234][ANALYTICS_SPARK][AndroidAudioScript] [2017-06-30 14:44:46,399] [IoT-Analytics] INFO {org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer} - Deploying spark script: AndroidCallScript.xml for tenant : -1234 [2017-06-30 14:44:46,493] [IoT-Analytics] INFO {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} - Task scheduled: [-1234][ANALYTICS_SPARK][AndroidCallScript] [2017-06-30 14:44:46,493] [IoT-Analytics] INFO {org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer} - Deploying spark script: AndroidDataScript.xml for tenant : -1234 [2017-06-30 14:44:46,514] [IoT-Analytics] INFO {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} - Task scheduled: [-1234][ANALYTICS_SPARK][AndroidDataScript] [2017-06-30 14:44:46,515] [IoT-Analytics] INFO {org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer} - Deploying spark script: AndroidFrequentContactsScript.xml for tenant : -1234 [2017-06-30 14:44:46,537] [IoT-Analytics] INFO {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} - Task scheduled: [-1234][ANALYTICS_SPARK][AndroidFrequentContactsScript] [2017-06-30 14:44:46,537] [IoT-Analytics] INFO {org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer} - Deploying spark script: LocationScript.xml for tenant : -1234 [2017-06-30 14:44:46,553] [IoT-Analytics] INFO {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} - Task scheduled: [-1234][ANALYTICS_SPARK][LocationScript] [2017-06-30 14:44:46,553] [IoT-Analytics] INFO {org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer} - Deploying spark script: AndroidScreenScript.xml for tenant : -1234 [2017-06-30 14:44:46,570] [IoT-Analytics] INFO {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} - Task scheduled: [-1234][ANALYTICS_SPARK][AndroidScreenScript] [2017-06-30 14:44:46,571] [IoT-Analytics] INFO {org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer} - Deploying spark script: HeadsetScript.xml for tenant : -1234 [2017-06-30 14:44:46,595] [IoT-Analytics] INFO {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} - Task scheduled: [-1234][ANALYTICS_SPARK][HeadsetScript] [2017-06-30 14:44:46,596] [IoT-Analytics] INFO {org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer} - Deploying spark script: AndroidSmsScript.xml for tenant : -1234 [2017-06-30 14:44:46,624] [IoT-Analytics] INFO {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} - Task scheduled: [-1234][ANALYTICS_SPARK][AndroidSmsScript] [2017-06-30 14:44:46,624] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Successfully Deployed Carbon Application : androidsense_1.0.0 {super-tenant} [2017-06-30 14:44:46,624] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Deploying Carbon Application : battery_sensor.car... [2017-06-30 14:44:46,631] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : org.wso2.iot.devices.battery:1.0.0 [2017-06-30 14:44:46,632] [IoT-Analytics] INFO {org.wso2.carbon.event.input.adapter.core.internal.InputAdapterRuntime} - Connecting receiver battery_receiver [2017-06-30 14:44:46,632] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:org.wso2.iot.devices.battery:1.0.0 [2017-06-30 14:44:46,632] [IoT-Analytics] INFO {org.wso2.carbon.event.receiver.core.EventReceiverDeployer} - Event Receiver configuration successfully deployed and in active state: battery_receiver [2017-06-30 14:44:46,632] [IoT-Analytics] INFO {org.wso2.carbon.dashboard.deployment.DashboardDeployer} - Created gadget,layout and widget directories for tenant [carbon.super] [2017-06-30 14:44:46,632] [IoT-Analytics] INFO {org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer} - Deploying spark script: battery_script.xml for tenant : -1234 [2017-06-30 14:44:46,649] [IoT-Analytics] INFO {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} - Task scheduled: [-1234][ANALYTICS_SPARK][battery_script] [2017-06-30 14:44:46,649] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Successfully Deployed Carbon Application : battery_1.0.0 {super-tenant} [2017-06-30 14:44:46,649] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Deploying Carbon Application : gps_sensor.car... [2017-06-30 14:44:46,660] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : org.wso2.iot.devices.gps:1.0.0 [2017-06-30 14:44:46,661] [IoT-Analytics] INFO {org.wso2.carbon.event.input.adapter.core.internal.InputAdapterRuntime} - Connecting receiver gps_receiver [2017-06-30 14:44:46,661] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:org.wso2.iot.devices.gps:1.0.0 [2017-06-30 14:44:46,661] [IoT-Analytics] INFO {org.wso2.carbon.event.receiver.core.EventReceiverDeployer} - Event Receiver configuration successfully deployed and in active state: gps_receiver [2017-06-30 14:44:46,661] [IoT-Analytics] INFO {org.wso2.carbon.dashboard.deployment.DashboardDeployer} - Created gadget,layout and widget directories for tenant [carbon.super] [2017-06-30 14:44:46,661] [IoT-Analytics] INFO {org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer} - Deploying spark script: gps_script.xml for tenant : -1234 [2017-06-30 14:44:46,691] [IoT-Analytics] INFO {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} - Task scheduled: [-1234][ANALYTICS_SPARK][gps_script] [2017-06-30 14:44:46,691] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Successfully Deployed Carbon Application : gps_1.0.0 {super-tenant} [2017-06-30 14:44:46,691] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Deploying Carbon Application : gravity_sensor.car... [2017-06-30 14:44:46,699] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : org.wso2.iot.devices.gravity:1.0.0 [2017-06-30 14:44:46,701] [IoT-Analytics] INFO {org.wso2.carbon.event.input.adapter.core.internal.InputAdapterRuntime} - Connecting receiver gravity_receiver [2017-06-30 14:44:46,701] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:org.wso2.iot.devices.gravity:1.0.0 [2017-06-30 14:44:46,701] [IoT-Analytics] INFO {org.wso2.carbon.event.receiver.core.EventReceiverDeployer} - Event Receiver configuration successfully deployed and in active state: gravity_receiver [2017-06-30 14:44:46,701] [IoT-Analytics] INFO {org.wso2.carbon.dashboard.deployment.DashboardDeployer} - Created gadget,layout and widget directories for tenant [carbon.super] [2017-06-30 14:44:46,701] [IoT-Analytics] INFO {org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer} - Deploying spark script: gravity_script.xml for tenant : -1234 [2017-06-30 14:44:46,727] [IoT-Analytics] INFO {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} - Task scheduled: [-1234][ANALYTICS_SPARK][gravity_script] [2017-06-30 14:44:46,727] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Successfully Deployed Carbon Application : gravity_1.0.0 {super-tenant} [2017-06-30 14:44:46,728] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Deploying Carbon Application : gyroscope_sensor.car... [2017-06-30 14:44:46,736] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : org.wso2.iot.devices.gyroscope:1.0.0 [2017-06-30 14:44:46,737] [IoT-Analytics] INFO {org.wso2.carbon.event.input.adapter.core.internal.InputAdapterRuntime} - Connecting receiver gyroscope_receiver [2017-06-30 14:44:46,737] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:org.wso2.iot.devices.gyroscope:1.0.0 [2017-06-30 14:44:46,737] [IoT-Analytics] INFO {org.wso2.carbon.event.receiver.core.EventReceiverDeployer} - Event Receiver configuration successfully deployed and in active state: gyroscope_receiver [2017-06-30 14:44:46,737] [IoT-Analytics] INFO {org.wso2.carbon.dashboard.deployment.DashboardDeployer} - Created gadget,layout and widget directories for tenant [carbon.super] [2017-06-30 14:44:46,737] [IoT-Analytics] INFO {org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer} - Deploying spark script: gyroscope_script.xml for tenant : -1234 [2017-06-30 14:44:46,758] [IoT-Analytics] INFO {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} - Task scheduled: [-1234][ANALYTICS_SPARK][gyroscope_script] [2017-06-30 14:44:46,758] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Successfully Deployed Carbon Application : gyroscope_1.0.0 {super-tenant} [2017-06-30 14:44:46,758] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Deploying Carbon Application : light_sensor.car... [2017-06-30 14:44:46,768] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : org.wso2.iot.devices.light:1.0.0 [2017-06-30 14:44:46,769] [IoT-Analytics] INFO {org.wso2.carbon.event.input.adapter.core.internal.InputAdapterRuntime} - Connecting receiver light_receiver [2017-06-30 14:44:46,769] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:org.wso2.iot.devices.light:1.0.0 [2017-06-30 14:44:46,769] [IoT-Analytics] INFO {org.wso2.carbon.event.receiver.core.EventReceiverDeployer} - Event Receiver configuration successfully deployed and in active state: light_receiver [2017-06-30 14:44:46,770] [IoT-Analytics] INFO {org.wso2.carbon.dashboard.deployment.DashboardDeployer} - Created gadget,layout and widget directories for tenant [carbon.super] [2017-06-30 14:44:46,770] [IoT-Analytics] INFO {org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer} - Deploying spark script: light_script.xml for tenant : -1234 [2017-06-30 14:44:46,791] [IoT-Analytics] INFO {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} - Task scheduled: [-1234][ANALYTICS_SPARK][light_script] [2017-06-30 14:44:46,791] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Successfully Deployed Carbon Application : light_1.0.0 {super-tenant} [2017-06-30 14:44:46,791] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Deploying Carbon Application : magnetic_sensor.car... [2017-06-30 14:44:46,800] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : org.wso2.iot.devices.magnetic:1.0.0 [2017-06-30 14:44:46,801] [IoT-Analytics] INFO {org.wso2.carbon.event.input.adapter.core.internal.InputAdapterRuntime} - Connecting receiver magnetic_receiver [2017-06-30 14:44:46,801] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:org.wso2.iot.devices.magnetic:1.0.0 [2017-06-30 14:44:46,801] [IoT-Analytics] INFO {org.wso2.carbon.event.receiver.core.EventReceiverDeployer} - Event Receiver configuration successfully deployed and in active state: magnetic_receiver [2017-06-30 14:44:46,801] [IoT-Analytics] INFO {org.wso2.carbon.dashboard.deployment.DashboardDeployer} - Created gadget,layout and widget directories for tenant [carbon.super] [2017-06-30 14:44:46,801] [IoT-Analytics] INFO {org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer} - Deploying spark script: magnetic_script.xml for tenant : -1234 [2017-06-30 14:44:46,826] [IoT-Analytics] INFO {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} - Task scheduled: [-1234][ANALYTICS_SPARK][magnetic_script] [2017-06-30 14:44:46,826] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Successfully Deployed Carbon Application : magnetic_1.0.0 {super-tenant} [2017-06-30 14:44:46,826] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Deploying Carbon Application : org_wso2_carbon_iot_geo_dashboard-1.0.0.car... [2017-06-30 14:44:46,839] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.geo.AlertNotifications:1.0.0 [2017-06-30 14:44:46,840] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : iot.per.device.stream.geo.FusedSpatialEvent:1.0.0 [2017-06-30 14:44:46,842] [IoT-Analytics] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution Plan was undeployed successfully : Android-Sense-ExecutionPlan.siddhiql [2017-06-30 14:44:47,051] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.accelerometer:1.0.0 [2017-06-30 14:44:47,051] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.light:1.0.0 [2017-06-30 14:44:47,051] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.data:1.0.0 [2017-06-30 14:44:47,051] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.activity:1.0.0 [2017-06-30 14:44:47,051] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:org.wso2.iot.LocationStream:1.0.0 [2017-06-30 14:44:47,051] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.sms:1.0.0 [2017-06-30 14:44:47,051] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.screen:1.0.0 [2017-06-30 14:44:47,051] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.location:1.0.0 [2017-06-30 14:44:47,051] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.audio:1.0.0 [2017-06-30 14:44:47,051] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.pressure:1.0.0 [2017-06-30 14:44:47,052] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.gravity:1.0.0 [2017-06-30 14:44:47,052] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.gyroscope:1.0.0 [2017-06-30 14:44:47,052] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.magnetic:1.0.0 [2017-06-30 14:44:47,052] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.rotation:1.0.0 [2017-06-30 14:44:47,052] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.battery:1.0.0 [2017-06-30 14:44:47,052] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.proximity:1.0.0 [2017-06-30 14:44:47,052] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.android.call:1.0.0 [2017-06-30 14:44:47,052] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Consumer added to the junction. Stream:org.wso2.iot.android.sense:1.0.0 [2017-06-30 14:44:47,052] [IoT-Analytics] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution plan is deployed successfully and in active state : Android-Sense-ExecutionPlan [2017-06-30 14:44:47,052] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : org.wso2.iot.LocationStream:1.0.0 [2017-06-30 14:44:47,053] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : org.wso2.geo.ProcessedSpatialEvents:1.0.0 [2017-06-30 14:44:47,054] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : org.wso2.geo.StandardSpatialEvents:1.0.0 [2017-06-30 14:44:47,056] [IoT-Analytics] INFO {org.wso2.carbon.event.input.adapter.core.internal.InputAdapterRuntime} - Connecting receiver WSO2IoT-Geo-Event-Receiver [2017-06-30 14:44:47,056] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:org.wso2.iot.LocationStream:1.0.0 [2017-06-30 14:44:47,056] [IoT-Analytics] INFO {org.wso2.carbon.event.receiver.core.EventReceiverDeployer} - Event Receiver configuration successfully deployed and in active state: WSO2IoT-Geo-Event-Receiver [2017-06-30 14:44:47,060] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:iot.per.device.stream.geo.FusedSpatialEvent:1.0.0 [2017-06-30 14:44:47,060] [IoT-Analytics] INFO {org.wso2.carbon.event.publisher.core.EventPublisherDeployer} - Event Publisher configuration successfully deployed and in active state : Geo-Publisher-WebSocketLocal-FusedSpacialEvent [2017-06-30 14:44:47,061] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:iot.per.device.stream.geo.AlertNotifications:1.0.0 [2017-06-30 14:44:47,061] [IoT-Analytics] INFO {org.wso2.carbon.event.publisher.core.EventPublisherDeployer} - Event Publisher configuration successfully deployed and in active state : Geo-Publisher-WebSocketLocal-GeoAlertNotifications [2017-06-30 14:44:47,078] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.geo.FusedSpatialEvent:1.0.0 [2017-06-30 14:44:47,078] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:iot.per.device.stream.geo.AlertNotifications:1.0.0 [2017-06-30 14:44:47,078] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Consumer added to the junction. Stream:org.wso2.geo.ProcessedSpatialEvents:1.0.0 [2017-06-30 14:44:47,078] [IoT-Analytics] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution plan is deployed successfully and in active state : Geo-ExecutionPlan-EventsFusionGenerateNotifications [2017-06-30 14:44:47,083] [IoT-Analytics] INFO {org.wso2.carbon.siddhi.geo.event.fuser.ExecutionPlanSubscriber} - upCountNumberOfExecutionPlans current count after update = 1 [2017-06-30 14:44:47,083] [IoT-Analytics] INFO {org.wso2.carbon.siddhi.geo.event.fuser.ExecutionPlanSubscriber} - downCountNumberOfExecutionPlans current count after update = 0 [2017-06-30 14:44:47,086] [IoT-Analytics] INFO {org.wso2.carbon.siddhi.geo.event.fuser.ExecutionPlanSubscriber} - upCountNumberOfExecutionPlans current count after update = 1 [2017-06-30 14:44:47,086] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:org.wso2.geo.ProcessedSpatialEvents:1.0.0 [2017-06-30 14:44:47,086] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Consumer added to the junction. Stream:org.wso2.geo.StandardSpatialEvents:1.0.0 [2017-06-30 14:44:47,086] [IoT-Analytics] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution plan is deployed successfully and in active state : Geo-ExecutionPlan-Pass_through [2017-06-30 14:44:47,092] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:org.wso2.geo.StandardSpatialEvents:1.0.0 [2017-06-30 14:44:47,092] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Consumer added to the junction. Stream:org.wso2.iot.LocationStream:1.0.0 [2017-06-30 14:44:47,092] [IoT-Analytics] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution plan is deployed successfully and in active state : WSO2IoT-Geo-ExecutionPlan [2017-06-30 14:44:47,092] [IoT-Analytics] INFO {org.wso2.carbon.dashboard.deployment.DashboardDeployer} - Created gadget,layout and widget directories for tenant [carbon.super] [2017-06-30 14:44:47,092] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Successfully Deployed Carbon Application : org.wso2.carbon.iot.geo.dashboard_1.0.0 {super-tenant} [2017-06-30 14:44:47,092] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Deploying Carbon Application : pressure_sensor.car... [2017-06-30 14:44:47,102] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : org.wso2.iot.devices.pressure:1.0.0 [2017-06-30 14:44:47,103] [IoT-Analytics] INFO {org.wso2.carbon.event.input.adapter.core.internal.InputAdapterRuntime} - Connecting receiver pressure_receiver [2017-06-30 14:44:47,103] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:org.wso2.iot.devices.pressure:1.0.0 [2017-06-30 14:44:47,103] [IoT-Analytics] INFO {org.wso2.carbon.event.receiver.core.EventReceiverDeployer} - Event Receiver configuration successfully deployed and in active state: pressure_receiver [2017-06-30 14:44:47,103] [IoT-Analytics] INFO {org.wso2.carbon.dashboard.deployment.DashboardDeployer} - Created gadget,layout and widget directories for tenant [carbon.super] [2017-06-30 14:44:47,103] [IoT-Analytics] INFO {org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer} - Deploying spark script: pressure_script.xml for tenant : -1234 [2017-06-30 14:44:47,126] [IoT-Analytics] INFO {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} - Task scheduled: [-1234][ANALYTICS_SPARK][pressure_script] [2017-06-30 14:44:47,126] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Successfully Deployed Carbon Application : pressure_1.0.0 {super-tenant} [2017-06-30 14:44:47,127] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Deploying Carbon Application : proximity_sensor.car... [2017-06-30 14:44:47,134] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : org.wso2.iot.devices.proximity:1.0.0 [2017-06-30 14:44:47,135] [IoT-Analytics] INFO {org.wso2.carbon.event.input.adapter.core.internal.InputAdapterRuntime} - Connecting receiver proximity_receiver [2017-06-30 14:44:47,135] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:org.wso2.iot.devices.proximity:1.0.0 [2017-06-30 14:44:47,135] [IoT-Analytics] INFO {org.wso2.carbon.event.receiver.core.EventReceiverDeployer} - Event Receiver configuration successfully deployed and in active state: proximity_receiver [2017-06-30 14:44:47,135] [IoT-Analytics] INFO {org.wso2.carbon.dashboard.deployment.DashboardDeployer} - Created gadget,layout and widget directories for tenant [carbon.super] [2017-06-30 14:44:47,135] [IoT-Analytics] INFO {org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer} - Deploying spark script: proximity_script.xml for tenant : -1234 [2017-06-30 14:44:47,153] [IoT-Analytics] INFO {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} - Task scheduled: [-1234][ANALYTICS_SPARK][proximity_script] [2017-06-30 14:44:47,153] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Successfully Deployed Carbon Application : proximity_1.0.0 {super-tenant} [2017-06-30 14:44:47,153] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Deploying Carbon Application : rotation_sensor.car... [2017-06-30 14:44:47,162] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : org.wso2.iot.devices.rotation:1.0.0 [2017-06-30 14:44:47,164] [IoT-Analytics] INFO {org.wso2.carbon.event.input.adapter.core.internal.InputAdapterRuntime} - Connecting receiver rotation_receiver [2017-06-30 14:44:47,164] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:org.wso2.iot.devices.rotation:1.0.0 [2017-06-30 14:44:47,164] [IoT-Analytics] INFO {org.wso2.carbon.event.receiver.core.EventReceiverDeployer} - Event Receiver configuration successfully deployed and in active state: rotation_receiver [2017-06-30 14:44:47,165] [IoT-Analytics] INFO {org.wso2.carbon.dashboard.deployment.DashboardDeployer} - Created gadget,layout and widget directories for tenant [carbon.super] [2017-06-30 14:44:47,165] [IoT-Analytics] INFO {org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer} - Deploying spark script: rotation_script.xml for tenant : -1234 [2017-06-30 14:44:47,186] [IoT-Analytics] INFO {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} - Task scheduled: [-1234][ANALYTICS_SPARK][rotation_script] [2017-06-30 14:44:47,186] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Successfully Deployed Carbon Application : rotation_1.0.0 {super-tenant} [2017-06-30 14:44:47,186] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Deploying Carbon Application : speed_sensor.car... [2017-06-30 14:44:47,192] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : org.wso2.iot.devices.speed:1.0.0 [2017-06-30 14:44:47,193] [IoT-Analytics] INFO {org.wso2.carbon.event.input.adapter.core.internal.InputAdapterRuntime} - Connecting receiver speed_receiver [2017-06-30 14:44:47,193] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:org.wso2.iot.devices.speed:1.0.0 [2017-06-30 14:44:47,193] [IoT-Analytics] INFO {org.wso2.carbon.event.receiver.core.EventReceiverDeployer} - Event Receiver configuration successfully deployed and in active state: speed_receiver [2017-06-30 14:44:47,196] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:org.wso2.iot.devices.speed:1.0.0 [2017-06-30 14:44:47,200] [IoT-Analytics] INFO {org.wso2.carbon.event.publisher.core.EventPublisherDeployer} - Event Publisher configuration successfully deployed and in active state : speed_publisher [2017-06-30 14:44:47,200] [IoT-Analytics] INFO {org.wso2.carbon.dashboard.deployment.DashboardDeployer} - Created gadget,layout and widget directories for tenant [carbon.super] [2017-06-30 14:44:47,200] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Successfully Deployed Carbon Application : speed_1.0.0 {super-tenant} [2017-06-30 14:44:47,200] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Deploying Carbon Application : temperature_sensor.car... [2017-06-30 14:44:47,210] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : org.wso2.iot.devices.temperature:1.0.0 [2017-06-30 14:44:47,211] [IoT-Analytics] INFO {org.wso2.carbon.event.input.adapter.core.internal.InputAdapterRuntime} - Connecting receiver temperature_receiver [2017-06-30 14:44:47,211] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:org.wso2.iot.devices.temperature:1.0.0 [2017-06-30 14:44:47,211] [IoT-Analytics] INFO {org.wso2.carbon.event.receiver.core.EventReceiverDeployer} - Event Receiver configuration successfully deployed and in active state: temperature_receiver [2017-06-30 14:44:47,212] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:org.wso2.iot.devices.temperature:1.0.0 [2017-06-30 14:44:47,212] [IoT-Analytics] INFO {org.wso2.carbon.event.publisher.core.EventPublisherDeployer} - Event Publisher configuration successfully deployed and in active state : temperature_publisher [2017-06-30 14:44:47,213] [IoT-Analytics] INFO {org.wso2.carbon.dashboard.deployment.DashboardDeployer} - Created gadget,layout and widget directories for tenant [carbon.super] [2017-06-30 14:44:47,213] [IoT-Analytics] INFO {org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer} - Deploying spark script: temperature_script.xml for tenant : -1234 [2017-06-30 14:44:47,233] [IoT-Analytics] INFO {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} - Task scheduled: [-1234][ANALYTICS_SPARK][temperature_script] [2017-06-30 14:44:47,233] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Successfully Deployed Carbon Application : temperature_1.0.0 {super-tenant} [2017-06-30 14:44:47,233] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Deploying Carbon Application : turn_sensor.car... [2017-06-30 14:44:47,239] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.EventStreamDeployer} - Stream definition is deployed successfully : org.wso2.iot.devices.turn:1.0.0 [2017-06-30 14:44:47,241] [IoT-Analytics] INFO {org.wso2.carbon.event.input.adapter.core.internal.InputAdapterRuntime} - Connecting receiver turn_receiver [2017-06-30 14:44:47,241] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction. Stream:org.wso2.iot.devices.turn:1.0.0 [2017-06-30 14:44:47,241] [IoT-Analytics] INFO {org.wso2.carbon.event.receiver.core.EventReceiverDeployer} - Event Receiver configuration successfully deployed and in active state: turn_receiver [2017-06-30 14:44:47,242] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:org.wso2.iot.devices.turn:1.0.0 [2017-06-30 14:44:47,242] [IoT-Analytics] INFO {org.wso2.carbon.event.publisher.core.EventPublisherDeployer} - Event Publisher configuration successfully deployed and in active state : turn_publisher [2017-06-30 14:44:47,242] [IoT-Analytics] INFO {org.wso2.carbon.dashboard.deployment.DashboardDeployer} - Created gadget,layout and widget directories for tenant [carbon.super] [2017-06-30 14:44:47,242] [IoT-Analytics] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Successfully Deployed Carbon Application : turn_1.0.0 {super-tenant} [2017-06-30 14:44:47,646] [IoT-Analytics] INFO {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} - Task scheduled: [-1234][ANALYTICS_SPARK_EVENTING][STORE_EVENT_ROUTER_TASK] [2017-06-30 14:44:47,688] [IoT-Analytics] INFO {org.wso2.carbon.core.init.JMXServerManager} - JMX Service URL : service:jmx:rmi://localhost:11113/jndi/rmi://localhost:10001/jmxrmi [2017-06-30 14:44:47,689] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: org_wso2_iot_devices_accelerometer.xml [2017-06-30 14:44:47,708] [IoT-Analytics] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Server : WSO2 IoT Server-3.1.0-SNAPSHOT [2017-06-30 14:44:47,709] [IoT-Analytics] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - WSO2 Carbon started in 42 sec [2017-06-30 14:44:47,930] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:org.wso2.iot.devices.accelerometer:1.0.0 [2017-06-30 14:44:47,930] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: org_wso2_iot_devices_accelerometer.xml [2017-06-30 14:44:47,930] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: iot_per_device_stream_android_activity_stats.xml [2017-06-30 14:44:47,973] [IoT-Analytics] INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} - Mgt Console URL : https://10.100.7.24:9445/carbon/ [2017-06-30 14:44:48,054] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:iot.per.device.stream.android.activity.stats:1.0.0 [2017-06-30 14:44:48,054] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: iot_per_device_stream_android_activity_stats.xml [2017-06-30 14:44:48,054] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: iot_per_device_stream_android_battery_stats.xml [2017-06-30 14:44:48,191] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:iot.per.device.stream.android.battery.stats:1.0.0 [2017-06-30 14:44:48,192] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: iot_per_device_stream_android_battery_stats.xml [2017-06-30 14:44:48,192] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: iot_per_device_stream_android_call_stats.xml [2017-06-30 14:44:48,318] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:iot.per.device.stream.android.call.stats:1.0.0 [2017-06-30 14:44:48,318] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: iot_per_device_stream_android_call_stats.xml [2017-06-30 14:44:48,318] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: iot_per_device_stream_android_data_stats.xml [2017-06-30 14:44:48,452] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:iot.per.device.stream.android.data.stats:1.0.0 [2017-06-30 14:44:48,452] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: iot_per_device_stream_android_data_stats.xml [2017-06-30 14:44:48,452] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: iot_per_device_stream_android_device_details.xml [2017-06-30 14:44:48,577] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:iot.per.device.stream.android.device.details:1.0.0 [2017-06-30 14:44:48,578] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: iot_per_device_stream_android_device_details.xml [2017-06-30 14:44:48,578] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: iot_per_device_stream_android_headset_stats.xml [2017-06-30 14:44:48,704] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:iot.per.device.stream.android.headset.stats:1.0.0 [2017-06-30 14:44:48,705] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: iot_per_device_stream_android_headset_stats.xml [2017-06-30 14:44:48,705] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: iot_per_device_stream_android_location.xml [2017-06-30 14:44:48,830] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:iot.per.device.stream.android.location:1.0.0 [2017-06-30 14:44:48,830] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: iot_per_device_stream_android_location.xml [2017-06-30 14:44:48,831] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: iot_per_device_stream_android_location_stats.xml [2017-06-30 14:44:48,948] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:iot.per.device.stream.android.location.stats:1.0.0 [2017-06-30 14:44:48,948] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: iot_per_device_stream_android_location_stats.xml [2017-06-30 14:44:48,948] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: iot_per_device_stream_android_screen_stats.xml [2017-06-30 14:44:49,072] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:iot.per.device.stream.android.screen.stats:1.0.0 [2017-06-30 14:44:49,072] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: iot_per_device_stream_android_screen_stats.xml [2017-06-30 14:44:49,072] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: iot_per_device_stream_android_sms_stats.xml [2017-06-30 14:44:49,211] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:iot.per.device.stream.android.sms.stats:1.0.0 [2017-06-30 14:44:49,211] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: iot_per_device_stream_android_sms_stats.xml [2017-06-30 14:44:49,211] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: iot_per_device_stream_android_accelerometer_stats.xml [2017-06-30 14:44:49,343] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:iot.per.device.stream.android.accelerometer.stats:1.0.0 [2017-06-30 14:44:49,343] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: iot_per_device_stream_android_accelerometer_stats.xml [2017-06-30 14:44:49,343] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: iot_per_device_stream_android_gyroscope_stats.xml [2017-06-30 14:44:49,470] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:iot.per.device.stream.android.gyroscope.stats:1.0.0 [2017-06-30 14:44:49,470] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: iot_per_device_stream_android_gyroscope_stats.xml [2017-06-30 14:44:49,470] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: iot_per_device_stream_android_gravity_stats.xml [2017-06-30 14:44:49,605] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:iot.per.device.stream.android.gravity.stats:1.0.0 [2017-06-30 14:44:49,605] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: iot_per_device_stream_android_gravity_stats.xml [2017-06-30 14:44:49,605] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: iot_per_device_stream_android_magnetic_stats.xml [2017-06-30 14:44:49,738] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:iot.per.device.stream.android.magnetic.stats:1.0.0 [2017-06-30 14:44:49,738] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: iot_per_device_stream_android_magnetic_stats.xml [2017-06-30 14:44:49,738] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: iot_per_device_stream_android_rotation_stats.xml [2017-06-30 14:44:49,872] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:iot.per.device.stream.android.rotation.stats:1.0.0 [2017-06-30 14:44:49,872] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: iot_per_device_stream_android_rotation_stats.xml [2017-06-30 14:44:49,872] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: iot_per_device_stream_android_light_stats.xml [2017-06-30 14:44:50,004] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:iot.per.device.stream.android.light.stats:1.0.0 [2017-06-30 14:44:50,004] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: iot_per_device_stream_android_light_stats.xml [2017-06-30 14:44:50,004] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: iot_per_device_stream_android_pressure_stats.xml [2017-06-30 14:44:50,142] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:iot.per.device.stream.android.pressure.stats:1.0.0 [2017-06-30 14:44:50,142] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: iot_per_device_stream_android_pressure_stats.xml [2017-06-30 14:44:50,142] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: iot_per_device_stream_android_proximity_stats.xml [2017-06-30 14:44:50,275] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:iot.per.device.stream.android.proximity.stats:1.0.0 [2017-06-30 14:44:50,275] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: iot_per_device_stream_android_proximity_stats.xml [2017-06-30 14:44:50,275] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: org_wso2_iot_devices_battery.xml [2017-06-30 14:44:50,401] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:org.wso2.iot.devices.battery:1.0.0 [2017-06-30 14:44:50,401] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: org_wso2_iot_devices_battery.xml [2017-06-30 14:44:50,401] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: org_wso2_iot_devices_gps.xml [2017-06-30 14:44:50,534] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:org.wso2.iot.devices.gps:1.0.0 [2017-06-30 14:44:50,534] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: org_wso2_iot_devices_gps.xml [2017-06-30 14:44:50,534] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: org_wso2_iot_devices_gravity.xml [2017-06-30 14:44:50,666] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:org.wso2.iot.devices.gravity:1.0.0 [2017-06-30 14:44:50,666] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: org_wso2_iot_devices_gravity.xml [2017-06-30 14:44:50,666] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: org_wso2_iot_devices_gyroscope.xml [2017-06-30 14:44:50,805] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:org.wso2.iot.devices.gyroscope:1.0.0 [2017-06-30 14:44:50,805] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: org_wso2_iot_devices_gyroscope.xml [2017-06-30 14:44:50,805] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: org_wso2_iot_devices_light.xml [2017-06-30 14:44:50,959] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:org.wso2.iot.devices.light:1.0.0 [2017-06-30 14:44:50,959] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: org_wso2_iot_devices_light.xml [2017-06-30 14:44:50,959] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: org_wso2_iot_devices_magnetic.xml [2017-06-30 14:44:51,097] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:org.wso2.iot.devices.magnetic:1.0.0 [2017-06-30 14:44:51,097] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: org_wso2_iot_devices_magnetic.xml [2017-06-30 14:44:51,097] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: iot_per_device_stream_geo_FusedSpatialEvent.xml [2017-06-30 14:44:51,269] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:iot.per.device.stream.geo.FusedSpatialEvent:1.0.0 [2017-06-30 14:44:51,269] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: iot_per_device_stream_geo_FusedSpatialEvent.xml [2017-06-30 14:44:51,269] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: iot_per_device_stream_geo_AlertNotifications.xml [2017-06-30 14:44:51,397] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:iot.per.device.stream.geo.AlertNotifications:1.0.0 [2017-06-30 14:44:51,397] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: iot_per_device_stream_geo_AlertNotifications.xml [2017-06-30 14:44:51,397] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: org_wso2_iot_devices_pressure.xml [2017-06-30 14:44:51,545] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:org.wso2.iot.devices.pressure:1.0.0 [2017-06-30 14:44:51,545] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: org_wso2_iot_devices_pressure.xml [2017-06-30 14:44:51,545] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: org_wso2_iot_devices_proximity.xml [2017-06-30 14:44:51,684] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:org.wso2.iot.devices.proximity:1.0.0 [2017-06-30 14:44:51,684] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: org_wso2_iot_devices_proximity.xml [2017-06-30 14:44:51,684] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: org_wso2_iot_devices_rotation.xml [2017-06-30 14:44:51,835] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:org.wso2.iot.devices.rotation:1.0.0 [2017-06-30 14:44:51,835] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: org_wso2_iot_devices_rotation.xml [2017-06-30 14:44:51,835] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: org_wso2_iot_devices_speed.xml [2017-06-30 14:44:51,986] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:org.wso2.iot.devices.speed:1.0.0 [2017-06-30 14:44:51,987] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: org_wso2_iot_devices_speed.xml [2017-06-30 14:44:51,987] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: org_wso2_iot_devices_temperature.xml [2017-06-30 14:44:52,116] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:org.wso2.iot.devices.temperature:1.0.0 [2017-06-30 14:44:52,117] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: org_wso2_iot_devices_temperature.xml [2017-06-30 14:44:52,117] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deploying analytics event store: org_wso2_iot_devices_turn.xml [2017-06-30 14:44:52,245] [IoT-Analytics] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction} - WSO2EventConsumer added to the junction. Stream:org.wso2.iot.devices.turn:1.0.0 [2017-06-30 14:44:52,245] [IoT-Analytics] INFO {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - Deployed successfully analytics event store: org_wso2_iot_devices_turn.xml [2017-06-30 14:44:57,547] [IoT-Analytics] ERROR {org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener} - Failed to create an oauth token with jwt grant type. org.wso2.carbon.identity.jwt.client.extension.exception.JWTClientException: Failed loading the private key. at org.wso2.carbon.identity.jwt.client.extension.util.JWTClientUtil.generateSignedJWTAssertion(JWTClientUtil.java:301) at org.wso2.carbon.identity.jwt.client.extension.util.JWTClientUtil.generateSignedJWTAssertion(JWTClientUtil.java:212) at org.wso2.carbon.identity.jwt.client.extension.JWTClient.getAccessToken(JWTClient.java:71) at org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener.getToken(MQTTAdapterListener.java:338) at org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener.startListener(MQTTAdapterListener.java:183) at org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener.run(MQTTAdapterListener.java:302) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at org.wso2.carbon.core.util.KeyStoreManager.getDefaultPrivateKey(KeyStoreManager.java:395) at org.wso2.carbon.identity.jwt.client.extension.util.JWTClientUtil.generateSignedJWTAssertion(JWTClientUtil.java:276) ... 6 more [Stage 54:=====> (67 + 1) / 200][Stage 57:> (0 + 0) / 200][2017-06-30 14:45:12,738] [IoT-Analytics] INFO {org.wso2.carbon.event.processor.manager.core.internal.CarbonEventManagementService} - Starting polling event receivers [2017-06-30 14:45:29,631] [IoT-Analytics] ERROR {org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener} - Failed to create an oauth token with jwt grant type. org.wso2.carbon.identity.jwt.client.extension.exception.JWTClientException: Failed loading the private key. at org.wso2.carbon.identity.jwt.client.extension.util.JWTClientUtil.generateSignedJWTAssertion(JWTClientUtil.java:301) at org.wso2.carbon.identity.jwt.client.extension.util.JWTClientUtil.generateSignedJWTAssertion(JWTClientUtil.java:212) at org.wso2.carbon.identity.jwt.client.extension.JWTClient.getAccessToken(JWTClient.java:71) at org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener.getToken(MQTTAdapterListener.java:338) at org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener.startListener(MQTTAdapterListener.java:183) at org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener.run(MQTTAdapterListener.java:302) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at org.wso2.carbon.core.util.KeyStoreManager.getDefaultPrivateKey(KeyStoreManager.java:395) at org.wso2.carbon.identity.jwt.client.extension.util.JWTClientUtil.generateSignedJWTAssertion(JWTClientUtil.java:276) ... 6 more [2017-06-30 14:46:29,694] [IoT-Analytics] ERROR {org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener} - Failed to create an oauth token with jwt grant type. org.wso2.carbon.identity.jwt.client.extension.exception.JWTClientException: Failed loading the private key. at org.wso2.carbon.identity.jwt.client.extension.util.JWTClientUtil.generateSignedJWTAssertion(JWTClientUtil.java:301) at org.wso2.carbon.identity.jwt.client.extension.util.JWTClientUtil.generateSignedJWTAssertion(JWTClientUtil.java:212) at org.wso2.carbon.identity.jwt.client.extension.JWTClient.getAccessToken(JWTClient.java:71) at org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener.getToken(MQTTAdapterListener.java:338) at org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener.startListener(MQTTAdapterListener.java:183) at org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener.run(MQTTAdapterListener.java:302) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at org.wso2.carbon.core.util.KeyStoreManager.getDefaultPrivateKey(KeyStoreManager.java:395) at org.wso2.carbon.identity.jwt.client.extension.util.JWTClientUtil.generateSignedJWTAssertion(JWTClientUtil.java:276) ... 6 more [2017-06-30 14:47:29,741] [IoT-Analytics] ERROR {org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener} - Failed to create an oauth token with jwt grant type. org.wso2.carbon.identity.jwt.client.extension.exception.JWTClientException: Failed loading the private key. at org.wso2.carbon.identity.jwt.client.extension.util.JWTClientUtil.generateSignedJWTAssertion(JWTClientUtil.java:301) at org.wso2.carbon.identity.jwt.client.extension.util.JWTClientUtil.generateSignedJWTAssertion(JWTClientUtil.java:212) at org.wso2.carbon.identity.jwt.client.extension.JWTClient.getAccessToken(JWTClient.java:71) at org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener.getToken(MQTTAdapterListener.java:338) at org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener.startListener(MQTTAdapterListener.java:183) at org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener.run(MQTTAdapterListener.java:302) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at org.wso2.carbon.core.util.KeyStoreManager.getDefaultPrivateKey(KeyStoreManager.java:395) at org.wso2.carbon.identity.jwt.client.extension.util.JWTClientUtil.generateSignedJWTAssertion(JWTClientUtil.java:276) ... 6 more [2017-06-30 14:48:29,789] [IoT-Analytics] ERROR {org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener} - Failed to create an oauth token with jwt grant type. org.wso2.carbon.identity.jwt.client.extension.exception.JWTClientException: Failed loading the private key. at org.wso2.carbon.identity.jwt.client.extension.util.JWTClientUtil.generateSignedJWTAssertion(JWTClientUtil.java:301) at org.wso2.carbon.identity.jwt.client.extension.util.JWTClientUtil.generateSignedJWTAssertion(JWTClientUtil.java:212) at org.wso2.carbon.identity.jwt.client.extension.JWTClient.getAccessToken(JWTClient.java:71) at org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener.getToken(MQTTAdapterListener.java:338) at org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener.startListener(MQTTAdapterListener.java:183) at org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener.run(MQTTAdapterListener.java:302) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at org.wso2.carbon.core.util.KeyStoreManager.getDefaultPrivateKey(KeyStoreManager.java:395) at org.wso2.carbon.identity.jwt.client.extension.util.JWTClientUtil.generateSignedJWTAssertion(JWTClientUtil.java:276) ... 6 more [2017-06-30 14:49:29,884] [IoT-Analytics] ERROR {org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener} - Failed to create an oauth token with jwt grant type. org.wso2.carbon.identity.jwt.client.extension.exception.JWTClientException: Failed loading the private key. at org.wso2.carbon.identity.jwt.client.extension.util.JWTClientUtil.generateSignedJWTAssertion(JWTClientUtil.java:301) at org.wso2.carbon.identity.jwt.client.extension.util.JWTClientUtil.generateSignedJWTAssertion(JWTClientUtil.java:212) at org.wso2.carbon.identity.jwt.client.extension.JWTClient.getAccessToken(JWTClient.java:71) at org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener.getToken(MQTTAdapterListener.java:338) at org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener.startListener(MQTTAdapterListener.java:183) at org.wso2.carbon.device.mgt.input.adapter.mqtt.util.MQTTAdapterListener.run(MQTTAdapterListener.java:302) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at org.wso2.carbon.core.util.KeyStoreManager.getDefaultPrivateKey(KeyStoreManager.java:395) at org.wso2.carbon.identity.jwt.client.extension.util.JWTClientUtil.generateSignedJWTAssertion(JWTClientUtil.java:276) ... 6 more