Hi Malintha,

It says Address already in use. According to exception 5672 port is using
some another application. close that application and try again.

Thanks

On Mon, Sep 19, 2016 at 12:55 PM, Malintha Fernando <malinth...@wso2.com>
wrote:

> Hi All,
>
> Following errors are being thrown when I try to start a wso2am-2.0.0 fresh
> pack. Tried using port offset but got no success. No other wso2 products
> were running and wso2am-1.9.1 started without any issues. Are there any
> configurations that I need to do prior running APIM 2.0 that I have missed?
> I am using Ubuntu 16.04.
>
> org.wso2.andes.kernel.AndesException: Unable to initialise application
> registry
>     at org.wso2.andes.server.Broker.startupImpl(Broker.java:308)
>     at org.wso2.andes.server.Broker.startup(Broker.java:110)
>     at org.wso2.andes.server.Main.startBroker(Main.java:217)
>     at org.wso2.andes.server.Main.execute(Main.java:206)
>     at org.wso2.andes.server.Main.<init>(Main.java:54)
>     at org.wso2.andes.server.Main.main(Main.java:47)
>     at org.wso2.carbon.andes.internal.QpidServiceComponent.
> startAndesBroker(QpidServiceComponent.java:420)
>     at org.wso2.carbon.andes.internal.QpidServiceComponent.
> activate(QpidServiceComponent.java:165)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:57)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:606)
>     at org.eclipse.equinox.internal.ds.model.ServiceComponent.
> activate(ServiceComponent.java:260)
>     at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.
> activate(ServiceComponentProp.java:146)
>     at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.
> build(ServiceComponentProp.java: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.server.admin.internal.ServerAdminServiceComponent.
> activate(ServerAdminServiceComponent.java:106)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:57)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:606)
>     at org.eclipse.equinox.internal.ds.model.ServiceComponent.
> activate(ServiceComponent.java:260)
>     at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.
> activate(ServiceComponentProp.java:146)
>     at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.
> build(ServiceComponentProp.java: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:57)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:606)
>     at org.eclipse.equinox.internal.ds.model.ServiceComponent.
> activate(ServiceComponent.java:260)
>     at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.
> activate(ServiceComponentProp.java:146)
>     at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.
> build(ServiceComponentProp.java: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:1282)
>     at org.apache.catalina.core.StandardWrapper.loadServlet(
> StandardWrapper.java:1195)
>     at org.apache.catalina.core.StandardWrapper.load(
> StandardWrapper.java:1085)
>     at org.apache.catalina.core.StandardContext.loadOnStartup(
> StandardContext.java:5318)
>     at org.apache.catalina.core.StandardContext.startInternal(
> StandardContext.java:5610)
>     at org.apache.catalina.util.LifecycleBase.start(
> LifecycleBase.java:147)
>     at org.apache.catalina.core.ContainerBase$StartChild.call(
> ContainerBase.java:1572)
>     at org.apache.catalina.core.ContainerBase$StartChild.call(
> ContainerBase.java:1562)
>     at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1145)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:615)
>     at java.lang.Thread.run(Thread.java:745)
> Caused by: org.wso2.andes.transport.TransportException: Could not bind to
> /0.0.0.0:5672
>     at org.wso2.andes.transport.network.mina.MinaNetworkTransport.accept(
> MinaNetworkTransport.java:147)
>     at org.wso2.andes.server.Broker.startAMQPListener(Broker.java:201)
>     at org.wso2.andes.server.Broker.startupImpl(Broker.java:295)
>     ... 89 more
> Caused by: java.net.BindException: Address already in use
>     at sun.nio.ch.Net.bind0(Native Method)
>     at sun.nio.ch.Net.bind(Net.java:463)
>     at sun.nio.ch.Net.bind(Net.java:455)
>     at sun.nio.ch.ServerSocketChannelImpl.bind(
> ServerSocketChannelImpl.java:223)
>     at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
>     at org.apache.mina.transport.socket.nio.SocketAcceptor.
> registerNew(SocketAcceptor.java:363)
>     at org.apache.mina.transport.socket.nio.SocketAcceptor.
> access$800(SocketAcceptor.java:55)
>     at org.apache.mina.transport.socket.nio.SocketAcceptor$
> Worker.run(SocketAcceptor.java:222)
>     at org.apache.mina.util.NamePreservingRunnable.run(
> NamePreservingRunnable.java:51)
>     ... 1 more
> [2016-09-19 12:43:46,138]  INFO - ApplicationRegistry Shutting down
> ApplicationRegistry(org.wso2.andes.server.registry.
> ConfigurationFileApplicationRegistry@67c30ec9)
> [2016-09-19 12:43:46,138]  INFO - ApplicationRegistry Shutting down
> ApplicationRegistry:org.wso2.andes.server.registry.
> ConfigurationFileApplicationRegistry@67c30ec9
> [2016-09-19 12:43:46,139]  INFO - PrincipalDatabaseAuthenticationManager
> Unregistering UserManagementMBean
> [2016-09-19 12:43:46,149]  INFO - CarbonServerManager Shutdown hook
> triggered....
> [2016-09-19 12:43:46,149]  INFO - CarbonServerManager Gracefully shutting
> down WSO2 API Manager...
> [2016-09-19 12:43:46,150]  INFO - ServerManagement Starting to switch to
> maintenance mode...
> [2016-09-19 12:43:46,151]  INFO - ServerManagement Stopped all transport
> listeners
> [2016-09-19 12:43:46,151]  INFO - ServerManagement Waiting for request
> service completion...
> [2016-09-19 12:43:46,155]  INFO - ServerManagement All requests have been
> served.
> [2016-09-19 12:43:46,155]  INFO - ServerManagement Waiting for deployment
> completion...
> [2016-09-19 12:43:46,463]  INFO - WebApplication Unloaded webapp:
> StandardEngine[Catalina].StandardHost[localhost].
> StandardContext[/api/am/admin/v0.10]
> [2016-09-19 12:43:46,477]  INFO - WebApplication Unloaded webapp:
> StandardEngine[Catalina].StandardHost[localhost].
> StandardContext[/am/sample/pizzashack/v1]
> [2016-09-19 12:43:46,492]  INFO - WebApplication Unloaded webapp:
> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/client-
> registration/v0.10]
> [2016-09-19 12:43:46,507]  INFO - WebApplication Unloaded webapp:
> StandardEngine[Catalina].StandardHost[localhost].
> StandardContext[/throttle/data/v1]
> [2016-09-19 12:43:46,522]  INFO - WebApplication Unloaded webapp:
> StandardEngine[Catalina].StandardHost[localhost].
> StandardContext[/am/sample/calculator/v1]
> [2016-09-19 12:43:46,538]  INFO - WebApplication Unloaded webapp:
> StandardEngine[Catalina].StandardHost[localhost].
> StandardContext[/api/am/store/v0.10]
> [2016-09-19 12:43:46,554]  INFO - WebApplication Unloaded webapp:
> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/
> authenticationendpoint]
> [2016-09-19 12:43:46,573]  INFO - WebApplication Unloaded webapp:
> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/api/am/
> publisher/v0.10]
> [2016-09-19 12:43:46,604]  INFO - WebApplication Unloaded webapp:
> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/shindig]
> [2016-09-19 12:43:46,622]  INFO - WebApplication Unloaded webapp:
> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/oauth2]
> [2016-09-19 12:43:46,634]  INFO - WebApplication Unloaded webapp:
> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/admin]
> [2016-09-19 12:43:46,646]  INFO - WebApplication Unloaded webapp:
> StandardEngine[Catalina].StandardHost[localhost].
> StandardContext[/publisher]
> [2016-09-19 12:43:46,658]  INFO - WebApplication Unloaded webapp:
> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/portal]
> [2016-09-19 12:43:46,670]  INFO - WebApplication Unloaded webapp:
> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/store]
> [2016-09-19 12:43:46,671]  INFO - ServerManagement All deployment tasks
> have been completed.
> [2016-09-19 12:43:46,671]  INFO - ServerManagement Waiting for server task
> completion...
> [2016-09-19 12:43:46,672]  INFO - RegistryCoreServiceComponent Writing
> logs
> [2016-09-19 12:43:46,673]  INFO - ServerManagement All server tasks have
> been completed.
> [2016-09-19 12:43:46,673]  INFO - CarbonServerManager Shutting down WSO2
> API Manager...
> [2016-09-19 12:43:46,675]  INFO - CarbonServerManager Shutting down OSGi
> framework...
> ^C[2016-09-19 12:44:08,880]  INFO - CarbonEventManagementService Starting
> polling event receivers
> [2016-09-19 12:44:29,264]  WARN - BlockingConditionRetriever Failed
> retrieving Blocking Conditions from remote endpoint: Connection refused.
> Retrying after 15 seconds...
> [2016-09-19 12:44:29,264]  WARN - KeyTemplateRetriever Failed retrieving
> throttling data from remote endpoint: Connection refused. Retrying after 15
> seconds...
> [2016-09-19 12:44:29,371]  WARN - AppDeployerServiceComponent Waiting for
> required OSGi services: org.wso2.carbon.application.
> deployer.synapse.service.SynapseAppDeployerService,
> [2016-09-19 12:44:29,379]  WARN - StartupFinalizerServiceComponent
> Waiting for required OSGi services: org.wso2.carbon.application.
> deployer.service.CappDeploymentService,org.wso2.carbon.server.admin.
> common.IServerAdmin,org.wso2.carbon.throttling.agent.ThrottlingAgent,
> [2016-09-19 12:44:44,270]  WARN - KeyTemplateRetriever Failed retrieving
> throttling data from remote endpoint: Connection refused. Retrying after 15
> seconds...
> [2016-09-19 12:44:44,270]  WARN - BlockingConditionRetriever Failed
> retrieving Blocking Conditions from remote endpoint: Connection refused.
> Retrying after 15 seconds...
> [2016-09-19 12:44:45,473]  WARN - SynapseAppDeployerDSComponent Waiting
> for required OSGi services: org.wso2.carbon.message.processor.service.
> MessageProcessorDeployerService,org.wso2.carbon.message.store.service.
> MessageStoreDeployerService,org.wso2.carbon.proxyadmin.
> service.ProxyDeployerService,
> [2016-09-19 12:44:59,273]  WARN - KeyTemplateRetriever Failed retrieving
> throttling data from remote endpoint: Connection refused. Retrying after 15
> seconds...
> [2016-09-19 12:44:59,273]  WARN - BlockingConditionRetriever Failed
> retrieving Blocking Conditions from remote endpoint: Connection refused.
> Retrying after 15 seconds...
> [2016-09-19 12:45:14,275]  WARN - KeyTemplateRetriever Failed retrieving
> throttling data from remote endpoint: Connection refused. Retrying after 15
> seconds...
> [2016-09-19 12:45:14,275]  WARN - BlockingConditionRetriever Failed
> retrieving Blocking Conditions from remote endpoint: Connection refused.
> Retrying after 15 seconds...
> [2016-09-19 12:45:29,278]  WARN - KeyTemplateRetriever Failed retrieving
> throttling data from remote endpoint: Connection refused. Retrying after 15
> seconds...
> [2016-09-19 12:45:29,278]  WARN - BlockingConditionRetriever Failed
> retrieving Blocking Conditions from remote endpoint: Connection refused.
> Retrying after 15 seconds...
> [2016-09-19 12:45:29,372]  WARN - AppDeployerServiceComponent Waiting for
> required OSGi services: org.wso2.carbon.application.
> deployer.synapse.service.SynapseAppDeployerService,
> [2016-09-19 12:45:29,380]  WARN - StartupFinalizerServiceComponent
> Waiting for required OSGi services: org.wso2.carbon.application.
> deployer.service.CappDeploymentService,org.wso2.carbon.server.admin.
> common.IServerAdmin,org.wso2.carbon.throttling.agent.ThrottlingAgent,
> [2016-09-19 12:45:44,280]  WARN - BlockingConditionRetriever Failed
> retrieving Blocking Conditions from remote endpoint: Connection refused.
> Retrying after 15 seconds...
> [2016-09-19 12:45:44,280]  WARN - KeyTemplateRetriever Failed retrieving
> throttling data from remote endpoint: Connection refused. Retrying after 15
> seconds...
> [2016-09-19 12:45:45,473]  WARN - SynapseAppDeployerDSComponent Waiting
> for required OSGi services: org.wso2.carbon.message.processor.service.
> MessageProcessorDeployerService,org.wso2.carbon.message.store.service.
> MessageStoreDeployerService,org.wso2.carbon.proxyadmin.
> service.ProxyDeployerService,
> [2016-09-19 12:45:59,282]  WARN - BlockingConditionRetriever Failed
> retrieving Blocking Conditions from remote endpoint: Connection refused.
> Retrying after 15 seconds...
> [2016-09-19 12:45:59,282]  WARN - KeyTemplateRetriever Failed retrieving
> throttling data from remote endpoint: Connection refused. Retrying after 15
> seconds...
> [2016-09-19 12:46:14,286]  WARN - KeyTemplateRetriever Failed retrieving
> throttling data from remote endpoint: Connection refused. Retrying after 15
> seconds...
> [2016-09-19 12:46:14,286]  WARN - BlockingConditionRetriever Failed
> retrieving Blocking Conditions from remote endpoint: Connection refused.
> Retrying after 15 seconds...
> [2016-09-19 12:46:26,745]  INFO - SynapseTaskManager Shutting down the
> task manager
> [2016-09-19 12:46:29,288]  WARN - BlockingConditionRetriever Failed
> retrieving Blocking Conditions from remote endpoint: Connection refused.
> Retrying after 15 seconds...
> [2016-09-19 12:46:29,288]  WARN - KeyTemplateRetriever Failed retrieving
> throttling data from remote endpoint: Connection refused. Retrying after 15
> seconds...
> [2016-09-19 12:46:29,371]  WARN - AppDeployerServiceComponent Waiting for
> required OSGi services: org.wso2.carbon.application.
> deployer.synapse.service.SynapseAppDeployerService,
> [2016-09-19 12:46:29,379]  WARN - StartupFinalizerServiceComponent
> Waiting for required OSGi services: org.wso2.carbon.application.
> deployer.service.CappDeploymentService,org.wso2.carbon.server.admin.
> common.IServerAdmin,org.wso2.carbon.throttling.agent.ThrottlingAgent,
> [2016-09-19 12:46:44,291]  WARN - KeyTemplateRetriever Failed retrieving
> throttling data from remote endpoint: Connection refused. Retrying after 15
> seconds...
> [2016-09-19 12:46:44,291]  WARN - BlockingConditionRetriever Failed
> retrieving Blocking Conditions from remote endpoint: Connection refused.
> Retrying after 15 seconds...
> [2016-09-19 12:46:45,472]  WARN - SynapseAppDeployerDSComponent Waiting
> for required OSGi services: org.wso2.carbon.message.processor.service.
> MessageProcessorDeployerService,org.wso2.carbon.message.store.service.
> MessageStoreDeployerService,org.wso2.carbon.proxyadmin.
> service.ProxyDeployerService,
> [2016-09-19 12:46:59,296]  WARN - KeyTemplateRetriever Failed retrieving
> throttling data from remote endpoint: Connection refused. Retrying after 15
> seconds...
> [2016-09-19 12:46:59,296]  WARN - BlockingConditionRetriever Failed
> retrieving Blocking Conditions from remote endpoint: Connection refused.
> Retrying after 15 seconds...
> [2016-09-19 12:47:14,299]  WARN - BlockingConditionRetriever Failed
> retrieving Blocking Conditions from remote endpoint: Connection refused.
> Retrying after 15 seconds...
> [2016-09-19 12:47:14,299]  WARN - KeyTemplateRetriever Failed retrieving
> throttling data from remote endpoint: Connection refused. Retrying after 15
> seconds...
> [2016-09-19 12:47:29,304]  WARN - BlockingConditionRetriever Failed
> retrieving Blocking Conditions from remote endpoint: Connection refused.
> Retrying after 15 seconds...
> [2016-09-19 12:47:29,304]  WARN - KeyTemplateRetriever Failed retrieving
> throttling data from remote endpoint: Connection refused. Retrying after 15
> seconds...
> [2016-09-19 12:47:29,371]  WARN - AppDeployerServiceComponent Waiting for
> required OSGi services: org.wso2.carbon.application.
> deployer.synapse.service.SynapseAppDeployerService,
> [2016-09-19 12:47:29,379]  WARN - StartupFinalizerServiceComponent
> Waiting for required OSGi services: org.wso2.carbon.application.
> deployer.service.CappDeploymentService,org.wso2.carbon.server.admin.
> common.IServerAdmin,org.wso2.carbon.throttling.agent.ThrottlingAgent,
> [2016-09-19 12:47:36,758]  INFO - BinaryDataReceiverServiceComponent
> Binary Data Receiver server shutting down...
> [2016-09-19 12:47:36,758]  INFO - BinaryDataReceiver Stopping Binary
> Server..
> [2016-09-19 12:47:44,309]  WARN - KeyTemplateRetriever Failed retrieving
> throttling data from remote endpoint: Connection refused. Retrying after 15
> seconds...
> [2016-09-19 12:47:44,309]  WARN - BlockingConditionRetriever Failed
> retrieving Blocking Conditions from remote endpoint: Connection refused.
> Retrying after 15 seconds...
> [2016-09-19 12:47:45,472]  WARN - SynapseAppDeployerDSComponent Waiting
> for required OSGi services: org.wso2.carbon.message.processor.service.
> MessageProcessorDeployerService,org.wso2.carbon.message.store.service.
> MessageStoreDeployerService,org.wso2.carbon.proxyadmin.
> service.ProxyDeployerService,
> [2016-09-19 12:47:46,760]  INFO - ThriftDataReceiverDS Thrift server
> shutting down...
> [2016-09-19 12:47:56,768]  INFO - EventReceiverDeployer Event Receiver
> undeployed successfully: throttleWSO2EventReceiver.xml
> [2016-09-19 12:47:56,769]  INFO - EventReceiverDeployer Event receiver
> deployment held back and in inactive state: throttleWSO2EventReceiver.xml,
> waiting for Input Event Adapter dependency: wso2event
> [2016-09-19 12:47:56,769]  INFO - CarbonEventReceiverService Event
> receiver : throttleWSO2EventReceiver in inactive state because dependency
> could not be found: wso2event
> [2016-09-19 12:47:59,312] ERROR - KeyTemplateRetriever Exception when
> retrieving throttling data from remote endpoint
> java.net.ConnectException: Connection refused
>     at java.net.PlainSocketImpl.socketConnect(Native Method)
>     at java.net.AbstractPlainSocketImpl.doConnect(
> AbstractPlainSocketImpl.java:339)
>     at java.net.AbstractPlainSocketImpl.connectToAddress(
> AbstractPlainSocketImpl.java:200)
>     at java.net.AbstractPlainSocketImpl.connect(
> AbstractPlainSocketImpl.java:182)
>     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
>     at java.net.Socket.connect(Socket.java:579)
>     at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:625)
>     at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(
> SSLSocketFactory.java:522)
>     at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(
> SSLSocketFactory.java:401)
>     at org.apache.http.impl.conn.DefaultClientConnectionOperato
> r.openConnection(DefaultClientConnectionOperator.java:178)
>     at org.apache.http.impl.conn.AbstractPoolEntry.open(
> AbstractPoolEntry.java:144)
>     at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(
> AbstractPooledConnAdapter.java:131)
>     at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(
> DefaultRequestDirector.java:610)
>     at org.apache.http.impl.client.DefaultRequestDirector.execute(
> DefaultRequestDirector.java:445)
>     at org.apache.http.impl.client.AbstractHttpClient.doExecute(
> AbstractHttpClient.java:863)
>     at org.apache.http.impl.client.CloseableHttpClient.execute(
> CloseableHttpClient.java:82)
>     at org.apache.http.impl.client.CloseableHttpClient.execute(
> CloseableHttpClient.java:106)
>     at org.apache.http.impl.client.CloseableHttpClient.execute(
> CloseableHttpClient.java:57)
>     at org.wso2.carbon.apimgt.gateway.throttling.util.
> KeyTemplateRetriever.retrieveKeyTemplateData(KeyTemplateRetriever.java:83)
>     at org.wso2.carbon.apimgt.gateway.throttling.util.
> KeyTemplateRetriever.loadKeyTemplatesFromWebService
> (KeyTemplateRetriever.java:111)
>     at org.wso2.carbon.apimgt.gateway.throttling.util.
> KeyTemplateRetriever.run(KeyTemplateRetriever.java:54)
>     at java.util.TimerThread.mainLoop(Timer.java:555)
>     at java.util.TimerThread.run(Timer.java:505)
> Exception in thread "Timer-5" [2016-09-19 12:47:59,312] ERROR -
> BlockingConditionRetriever Exception when retrieving Blocking Conditions
> from remote endpoint
> java.net.ConnectException: Connection refused
>     at java.net.PlainSocketImpl.socketConnect(Native Method)
>     at java.net.AbstractPlainSocketImpl.doConnect(
> AbstractPlainSocketImpl.java:339)
>     at java.net.AbstractPlainSocketImpl.connectToAddress(
> AbstractPlainSocketImpl.java:200)
>     at java.net.AbstractPlainSocketImpl.connect(
> AbstractPlainSocketImpl.java:182)
>     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
>     at java.net.Socket.connect(Socket.java:579)
>     at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:625)
>     at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(
> SSLSocketFactory.java:522)
>     at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(
> SSLSocketFactory.java:401)
>     at org.apache.http.impl.conn.DefaultClientConnectionOperato
> r.openConnection(DefaultClientConnectionOperator.java:178)
>     at org.apache.http.impl.conn.AbstractPoolEntry.open(
> AbstractPoolEntry.java:144)
>     at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(
> AbstractPooledConnAdapter.java:131)
>     at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(
> DefaultRequestDirector.java:610)
>     at org.apache.http.impl.client.DefaultRequestDirector.execute(
> DefaultRequestDirector.java:445)
>     at org.apache.http.impl.client.AbstractHttpClient.doExecute(
> AbstractHttpClient.java:863)
>     at org.apache.http.impl.client.CloseableHttpClient.execute(
> CloseableHttpClient.java:82)
>     at org.apache.http.impl.client.CloseableHttpClient.execute(
> CloseableHttpClient.java:106)
>     at org.apache.http.impl.client.CloseableHttpClient.execute(
> CloseableHttpClient.java:57)
>     at org.wso2.carbon.apimgt.gateway.throttling.util.
> BlockingConditionRetriever.retrieveBlockConditionsData(
> BlockingConditionRetriever.java:79)
>     at org.wso2.carbon.apimgt.gateway.throttling.util.
> BlockingConditionRetriever.loadBlockingConditionsFromWebService(
> BlockingConditionRetriever.java:105)
>     at org.wso2.carbon.apimgt.gateway.throttling.util.
> BlockingConditionRetriever.run(BlockingConditionRetriever.java:51)
>     at java.util.TimerThread.mainLoop(Timer.java:555)
>     at java.util.TimerThread.run(Timer.java:505)
> java.lang.NullPointerException
>     at java.util.Arrays$ArrayList.<init>(Arrays.java:2842)
>     at java.util.Arrays.asList(Arrays.java:2828)
>     at org.wso2.carbon.apimgt.gateway.throttling.util.
> KeyTemplateRetriever.loadKeyTemplatesFromWebService
> (KeyTemplateRetriever.java:111)
>     at org.wso2.carbon.apimgt.gateway.throttling.util.
> KeyTemplateRetriever.run(KeyTemplateRetriever.java:54)
>     at java.util.TimerThread.mainLoop(Timer.java:555)
>     at java.util.TimerThread.run(Timer.java:505)
>
>
> Thanks & Regards,
> Malintha
>
> --
> Malintha Fernando
> Software Engineer
> WSO2 Inc. | http://wso2.com
> Mobile : +94 718874922
> Blog : http://blog.malintha.org
>
> Lean . Enterprise . Middleware
>
>
>
>
>
>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Lakshman Udayakantha
WSO2 Inc. www.wso2.com
lean.enterprise.middleware
Mobile: *0717429601*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to