wso2 / product-apim

Welcome to the WSO2 API Manager source code! For info on working with the WSO2 API Manager repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
837 stars 781 forks source link

[API 3.0.0 Beta] osgi issues encountered while staring in debug mode #6481

Closed isharac closed 4 years ago

isharac commented 4 years ago

When server is started wit debug mode, it takes a considerable time to start the server with below warnings and errors.

Listening for transport dt_socket at address: 5005 andes [org.wso2.andes.wso2.internal.QpidBundleActivator] INFO : Setting BundleContext in PluginManager [2019-10-16 14:48:39,797] INFO - CarbonCoreActivator Starting WSO2 Carbon... [2019-10-16 14:48:39,808] INFO - CarbonCoreActivator Operating System : Mac OS X 10.13.6, x86_64 [2019-10-16 14:48:39,809] INFO - CarbonCoreActivator Java Home : /Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre [2019-10-16 14:48:39,809] INFO - CarbonCoreActivator Java Version : 1.8.0_191 [2019-10-16 14:48:39,809] INFO - CarbonCoreActivator Java VM : Java HotSpot(TM) 64-Bit Server VM 25.191-b12,Oracle Corporation [2019-10-16 14:48:39,810] INFO - CarbonCoreActivator Carbon Home : /Users/isharacooray/Documents/apim/public/master/rename/beta/wso2am-3.0.0-SNAPSHOT [2019-10-16 14:48:39,810] INFO - CarbonCoreActivator Java Temp Dir : /Users/isharacooray/Documents/apim/public/master/rename/beta/wso2am-3.0.0-SNAPSHOT/tmp [2019-10-16 14:48:39,810] INFO - CarbonCoreActivator User : isharacooray, en-LK, Asia/Colombo [2019-10-16 14:48:39,997] INFO - DefaultCryptoProviderComponent 'CryptoService.Secret' property has not been set. 'org.wso2.carbon.crypto.provider.SymmetricKeyInternalCryptoProvider' won't be registered as an internal crypto provider. Please set the secret if the provider needs to be registered. [2019-10-16 14:48:40,429] INFO - KafkaEventAdapterServiceDS Successfully deployed the Kafka output event adaptor service [2019-10-16 14:48:40,614] INFO - TemplateDeployerServiceTrackerDS Successfully deployed the execution manager tracker service [2019-10-16 14:48:43,550] INFO - ConsentManagerComponent ConsentManagerComponent is activated. [2019-10-16 14:48:43,770] INFO - BinaryDataReceiver Started Binary TCP Transport on port : 9611 [2019-10-16 14:48:43,770] INFO - BinaryDataReceiver Started Binary SSL Transport on port : 9711 [2019-10-16 14:48:43,790] INFO - DataBridgeDS Successfully deployed Agent Server [2019-10-16 14:48:44,155] INFO - EmbeddedRegistryService Configured Registry in 69ms [2019-10-16 14:48:44,183] INFO - EmbeddedRegistryService Connected to mount at configregistry in 6ms [2019-10-16 14:48:44,187] INFO - EmbeddedRegistryService Connected to mount at govregistry in 10ms [2019-10-16 14:48:44,255] INFO - EmbeddedRegistryService Connected to mount at configregistry in 0ms [2019-10-16 14:48:44,259] INFO - EmbeddedRegistryService Connected to mount at govregistry in 4ms [2019-10-16 14:48:44,267] INFO - RegistryCoreServiceComponent Registry Mode : READ-WRITE [2019-10-16 14:48:44,568] INFO - JmxReporterBuilder Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics' [2019-10-16 14:48:44,578] INFO - AbstractReporter Started JMX reporter for Metrics [2019-10-16 14:48:47,127] INFO - SolrClient Default Embedded Solr Server Initialized [2019-10-16 14:48:47,550] INFO - UserStoreMgtDSComponent Carbon UserStoreMgtDSComponent activated successfully. [2019-10-16 14:48:51,592] INFO - UserStoreConfigurationDeployer User Store Configuration Deployer initiated. [2019-10-16 14:48:51,596] INFO - UserStoreConfigurationDeployer User Store Configuration Deployer initiated. [2019-10-16 14:48:52,764] INFO - WebsocketTransportSender WSS Sender started [2019-10-16 14:48:52,783] INFO - PassThroughHttpSender Initializing Pass-through HTTP/S Sender... [2019-10-16 14:48:52,828] INFO - PassThroughHttpSender Pass-through HTTP Sender started... [2019-10-16 14:48:52,834] INFO - PassThroughHttpSSLSender Initializing Pass-through HTTP/S Sender... [2019-10-16 14:48:52,844] INFO - ClientConnFactoryBuilder customSSLProfiles configuration is loaded from path: /Users/isharacooray/Documents/apim/public/master/rename/beta/wso2am-3.0.0-SNAPSHOT/repository/resources/security/sslprofiles.xml [2019-10-16 14:48:52,847] INFO - ClientConnFactoryBuilder HTTPS Loading custom SSL profiles for the HTTPS sender [2019-10-16 14:48:52,853] INFO - ClientConnFactoryBuilder HTTPS Custom SSL profiles initialized for 1 servers [2019-10-16 14:48:52,857] INFO - PassThroughHttpSSLSender Pass-through HTTPS Sender started... [2019-10-16 14:48:52,863] INFO - WebsocketTransportSender WS Sender started [2019-10-16 14:48:52,885] INFO - PassThroughHttpListener Initializing Pass-through HTTP/S Listener... [2019-10-16 14:48:52,914] INFO - PassThroughHttpMultiSSLListener Initializing Pass-through HTTP/S Listener... [2019-10-16 14:48:52,925] INFO - ServerConnFactoryBuilder SSLProfile configuration is loaded from path: /Users/isharacooray/Documents/apim/public/master/rename/beta/wso2am-3.0.0-SNAPSHOT/repository/resources/security/listenerprofiles.xml [2019-10-16 14:48:56,491] INFO - DeploymentInterceptor Deploying Axis2 service: AccountCredentialMgtConfigService {super-tenant} [2019-10-16 14:48:56,495] INFO - DeploymentInterceptor Deploying Axis2 service: UserIdentityManagementAdminService {super-tenant} [2019-10-16 14:48:56,500] INFO - DeploymentInterceptor Deploying Axis2 service: UserInformationRecoveryService {super-tenant} [2019-10-16 14:48:59,918] INFO - CarbonServerManager Repository : /Users/isharacooray/Documents/apim/public/master/rename/beta/wso2am-3.0.0-SNAPSHOT/repository/deployment/server/ [2019-10-16 14:48:59,926] INFO - KafkaEventAdapterServiceHolder Kafka input event adaptor waiting for dependent configurations to load [2019-10-16 14:48:59,945] INFO - QueueManagerServiceDS Successfully created the queue manager service [2019-10-16 14:48:59,953] INFO - SubscriptionManagerServiceDS Successfully created the subscription manager service [2019-10-16 14:49:24,868] INFO - TenantLoadingConfig Using tenant lazy loading policy... [2019-10-16 14:49:25,406] INFO - PermissionUpdater Permission cache updated for tenant -1234 [2019-10-16 14:49:39,928] INFO - CarbonEventManagementService Starting polling event receivers [2019-10-16 14:50:07,035] WARN - ApplicationManagementServiceComponent Templates directory not found at /Users/isharacooray/Documents/apim/public/master/rename/beta/wso2am-3.0.0-SNAPSHOT/repository/resources/identity/authntemplates [2019-10-16 14:50:19,452] WARN - KeyTemplateRetriever Failed retrieving throttling data from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:50:19,452] WARN - BlockingConditionRetriever Failed retrieving Blocking Conditions from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:50:19,452] WARN - RevokedJWTTokensRetriever Failed retrieving revoked JWT token signatures from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:50:24,665] WARN - AppDeployerServiceComponent Waiting for required OSGi services: org.wso2.carbon.application.deployer.synapse.service.SynapseAppDeployerService,org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService, [2019-10-16 14:50:25,029] 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, [2019-10-16 14:50:31,842] INFO - UserStoreMgtDSComponent Claim manager set for class org.wso2.carbon.user.core.common.DefaultRealm [2019-10-16 14:50:31,850] INFO - UserStoreMgtDSComponent Claim manager set for class org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager [2019-10-16 14:50:34,471] WARN - RevokedJWTTokensRetriever Failed retrieving revoked JWT token signatures from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:50:34,471] WARN - BlockingConditionRetriever Failed retrieving Blocking Conditions from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:50:34,471] WARN - KeyTemplateRetriever Failed retrieving throttling data from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:50:45,725] INFO - SchemaBuilder XACML policy schema loaded successfully. [2019-10-16 14:50:45,948] INFO - OAuthServerConfiguration The default OAuth token issuer will be used. No custom token generator is set. [2019-10-16 14:50:49,486] WARN - BlockingConditionRetriever Failed retrieving Blocking Conditions from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:50:49,486] WARN - KeyTemplateRetriever Failed retrieving throttling data from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:50:49,486] WARN - RevokedJWTTokensRetriever Failed retrieving revoked JWT token signatures from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:51:04,504] WARN - BlockingConditionRetriever Failed retrieving Blocking Conditions from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:51:04,504] WARN - KeyTemplateRetriever Failed retrieving throttling data from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:51:04,504] WARN - RevokedJWTTokensRetriever Failed retrieving revoked JWT token signatures from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:51:10,955] INFO - OAuth2ServiceComponent PKCE Support enabled. [2019-10-16 14:51:19,522] WARN - KeyTemplateRetriever Failed retrieving throttling data from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:51:19,522] WARN - BlockingConditionRetriever Failed retrieving Blocking Conditions from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:51:19,522] WARN - RevokedJWTTokensRetriever Failed retrieving revoked JWT token signatures from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:51:24,665] WARN - AppDeployerServiceComponent Waiting for required OSGi services: org.wso2.carbon.application.deployer.synapse.service.SynapseAppDeployerService,org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService, [2019-10-16 14:51:25,029] 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, [2019-10-16 14:51:34,542] WARN - KeyTemplateRetriever Failed retrieving throttling data from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:51:34,542] WARN - RevokedJWTTokensRetriever Failed retrieving revoked JWT token signatures from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:51:34,542] WARN - BlockingConditionRetriever Failed retrieving Blocking Conditions from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:51:49,557] WARN - KeyTemplateRetriever Failed retrieving throttling data from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:51:49,557] WARN - BlockingConditionRetriever Failed retrieving Blocking Conditions from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:51:49,557] WARN - RevokedJWTTokensRetriever Failed retrieving revoked JWT token signatures from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:51:55,758] INFO - SessionDataStore Thread pool size for temporary authentication context data delete task: 20 [2019-10-16 14:52:04,571] WARN - BlockingConditionRetriever Failed retrieving Blocking Conditions from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:52:04,571] WARN - KeyTemplateRetriever Failed retrieving throttling data from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:52:04,571] WARN - RevokedJWTTokensRetriever Failed retrieving revoked JWT token signatures from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:52:19,589] WARN - KeyTemplateRetriever Failed retrieving throttling data from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:52:19,589] WARN - BlockingConditionRetriever Failed retrieving Blocking Conditions from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:52:19,589] WARN - RevokedJWTTokensRetriever Failed retrieving revoked JWT token signatures from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:52:24,668] WARN - AppDeployerServiceComponent Waiting for required OSGi services: org.wso2.carbon.application.deployer.synapse.service.SynapseAppDeployerService,org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService, [2019-10-16 14:52:25,029] 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, [2019-10-16 14:52:34,603] WARN - KeyTemplateRetriever Failed retrieving throttling data from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:52:34,603] WARN - BlockingConditionRetriever Failed retrieving Blocking Conditions from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:52:34,603] WARN - RevokedJWTTokensRetriever Failed retrieving revoked JWT token signatures from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:52:49,620] WARN - KeyTemplateRetriever Failed retrieving throttling data from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:52:49,620] WARN - BlockingConditionRetriever Failed retrieving Blocking Conditions from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:52:49,620] WARN - RevokedJWTTokensRetriever Failed retrieving revoked JWT token signatures from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:53:04,635] WARN - BlockingConditionRetriever Failed retrieving Blocking Conditions from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:53:04,635] WARN - KeyTemplateRetriever Failed retrieving throttling data from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:53:04,635] WARN - RevokedJWTTokensRetriever Failed retrieving revoked JWT token signatures from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:53:19,653] WARN - KeyTemplateRetriever Failed retrieving throttling data from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:53:19,653] WARN - BlockingConditionRetriever Failed retrieving Blocking Conditions from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:53:19,653] WARN - RevokedJWTTokensRetriever Failed retrieving revoked JWT token signatures from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:53:24,668] WARN - AppDeployerServiceComponent Waiting for required OSGi services: org.wso2.carbon.application.deployer.synapse.service.SynapseAppDeployerService,org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService, [2019-10-16 14:53:25,031] 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, [2019-10-16 14:53:34,669] WARN - KeyTemplateRetriever Failed retrieving throttling data from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:53:34,669] WARN - RevokedJWTTokensRetriever Failed retrieving revoked JWT token signatures from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:53:34,669] WARN - BlockingConditionRetriever Failed retrieving Blocking Conditions from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds... [2019-10-16 14:53:45,561] INFO - ServiceBusInitializer Starting ESB... [2019-10-16 14:53:47,809] INFO - ServiceBusInitializer Initializing Apache Synapse... [2019-10-16 14:53:47,826] INFO - SynapseControllerFactory Using Synapse home : /Users/isharacooray/Documents/apim/public/master/rename/beta/wso2am-3.0.0-SNAPSHOT/. [2019-10-16 14:53:47,830] INFO - SynapseControllerFactory Using synapse.xml location : /Users/isharacooray/Documents/apim/public/master/rename/beta/wso2am-3.0.0-SNAPSHOT/././repository/deployment/server/synapse-configs/default [2019-10-16 14:53:47,834] INFO - SynapseControllerFactory Using server name : localhost [2019-10-16 14:53:47,844] INFO - SynapseControllerFactory The timeout handler will run every : 15s [2019-10-16 14:53:49,670] INFO - Axis2SynapseController Initializing Synapse at : Wed Oct 16 14:53:49 IST 2019 [2019-10-16 14:53:49,716] INFO - CarbonSynapseController Loading the mediation configuration from the file system [2019-10-16 14:53:49,725] INFO - MultiXMLConfigurationBuilder Building synapse configuration from the synapse artifact repository at : ././repository/deployment/server/synapse-configs/default [2019-10-16 14:53:49,732] INFO - XMLConfigurationBuilder Generating the Synapse configuration model by parsing the XML configuration [2019-10-16 14:53:49,686] ERROR - RevokedJWTTokensRetriever Exception when retrieving revoked JWT tokens from remote endpoint java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) ~[?:1.8.0_191] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_191] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_191] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_191] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_191] at java.net.Socket.connect(Socket.java:589) ~[?:1.8.0_191] at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666) ~[?:1.8.0_191] at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:524) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:403) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:144) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:131) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57) ~[httpclient_4.3.6.wso2v2.jar:?] at org.wso2.carbon.apimgt.gateway.jwt.RevokedJWTTokensRetriever.retrieveRevokedJWTTokensData_aroundBody2(RevokedJWTTokensRetriever.java:82) [org.wso2.carbon.apimgt.gateway_6.5.260.SNAPSHOT.jar:?] at org.wso2.carbon.apimgt.gateway.jwt.RevokedJWTTokensRetriever.retrieveRevokedJWTTokensData(RevokedJWTTokensRetriever.java:61) [org.wso2.carbon.apimgt.gateway_6.5.260.SNAPSHOT.jar:?] at org.wso2.carbon.apimgt.gateway.jwt.RevokedJWTTokensRetriever.loadRevokedJWTTokensFromWebService_aroundBody4(RevokedJWTTokensRetriever.java:110) [org.wso2.carbon.apimgt.gateway_6.5.260.SNAPSHOT.jar:?] at org.wso2.carbon.apimgt.gateway.jwt.RevokedJWTTokensRetriever.loadRevokedJWTTokensFromWebService(RevokedJWTTokensRetriever.java:108) [org.wso2.carbon.apimgt.gateway_6.5.260.SNAPSHOT.jar:?] at org.wso2.carbon.apimgt.gateway.jwt.RevokedJWTTokensRetriever.run_aroundBody0(RevokedJWTTokensRetriever.java:53) [org.wso2.carbon.apimgt.gateway_6.5.260.SNAPSHOT.jar:?] at org.wso2.carbon.apimgt.gateway.jwt.RevokedJWTTokensRetriever.run(RevokedJWTTokensRetriever.java:50) [org.wso2.carbon.apimgt.gateway_6.5.260.SNAPSHOT.jar:?] at java.util.TimerThread.mainLoop(Timer.java:555) [?:1.8.0_191] at java.util.TimerThread.run(Timer.java:505) [?:1.8.0_191] [2019-10-16 14:53:49,686] ERROR - BlockingConditionRetriever Exception when retrieving Blocking Conditions from remote endpoint java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) ~[?:1.8.0_191] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_191] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_191] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_191] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_191] at java.net.Socket.connect(Socket.java:589) ~[?:1.8.0_191] at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666) ~[?:1.8.0_191] at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:524) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:403) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:144) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:131) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57) ~[httpclient_4.3.6.wso2v2.jar:?] at org.wso2.carbon.apimgt.gateway.throttling.util.BlockingConditionRetriever.retrieveBlockConditionsData_aroundBody2(BlockingConditionRetriever.java:79) [org.wso2.carbon.apimgt.gateway_6.5.260.SNAPSHOT.jar:?] at org.wso2.carbon.apimgt.gateway.throttling.util.BlockingConditionRetriever.retrieveBlockConditionsData(BlockingConditionRetriever.java:60) [org.wso2.carbon.apimgt.gateway_6.5.260.SNAPSHOT.jar:?] at org.wso2.carbon.apimgt.gateway.throttling.util.BlockingConditionRetriever.loadBlockingConditionsFromWebService_aroundBody6(BlockingConditionRetriever.java:110) [org.wso2.carbon.apimgt.gateway_6.5.260.SNAPSHOT.jar:?] at org.wso2.carbon.apimgt.gateway.throttling.util.BlockingConditionRetriever.loadBlockingConditionsFromWebService(BlockingConditionRetriever.java:109) [org.wso2.carbon.apimgt.gateway_6.5.260.SNAPSHOT.jar:?] at org.wso2.carbon.apimgt.gateway.throttling.util.BlockingConditionRetriever.run_aroundBody0(BlockingConditionRetriever.java:52) [org.wso2.carbon.apimgt.gateway_6.5.260.SNAPSHOT.jar:?] at org.wso2.carbon.apimgt.gateway.throttling.util.BlockingConditionRetriever.run(BlockingConditionRetriever.java:48) [org.wso2.carbon.apimgt.gateway_6.5.260.SNAPSHOT.jar:?] at java.util.TimerThread.mainLoop(Timer.java:555) [?:1.8.0_191] at java.util.TimerThread.run(Timer.java:505) [?:1.8.0_191] [2019-10-16 14:53:49,686] ERROR - KeyTemplateRetriever Exception when retrieving throttling data from remote endpoint java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) ~[?:1.8.0_191] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_191] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_191] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_191] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_191] at java.net.Socket.connect(Socket.java:589) ~[?:1.8.0_191] at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666) ~[?:1.8.0_191] at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:524) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:403) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:144) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:131) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106) ~[httpclient_4.3.6.wso2v2.jar:?] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57) ~[httpclient_4.3.6.wso2v2.jar:?] at org.wso2.carbon.apimgt.gateway.throttling.util.KeyTemplateRetriever.retrieveKeyTemplateData_aroundBody2(KeyTemplateRetriever.java:84) [org.wso2.carbon.apimgt.gateway_6.5.260.SNAPSHOT.jar:?] at org.wso2.carbon.apimgt.gateway.throttling.util.KeyTemplateRetriever.retrieveKeyTemplateData(KeyTemplateRetriever.java:64) [org.wso2.carbon.apimgt.gateway_6.5.260.SNAPSHOT.jar:?] at org.wso2.carbon.apimgt.gateway.throttling.util.KeyTemplateRetriever.loadKeyTemplatesFromWebService_aroundBody6(KeyTemplateRetriever.java:117) [org.wso2.carbon.apimgt.gateway_6.5.260.SNAPSHOT.jar:?] at org.wso2.carbon.apimgt.gateway.throttling.util.KeyTemplateRetriever.loadKeyTemplatesFromWebService(KeyTemplateRetriever.java:116) [org.wso2.carbon.apimgt.gateway_6.5.260.SNAPSHOT.jar:?] at org.wso2.carbon.apimgt.gateway.throttling.util.KeyTemplateRetriever.run_aroundBody0(KeyTemplateRetriever.java:55) [org.wso2.carbon.apimgt.gateway_6.5.260.SNAPSHOT.jar:?] at org.wso2.carbon.apimgt.gateway.throttling.util.KeyTemplateRetriever.run(KeyTemplateRetriever.java:51) [org.wso2.carbon.apimgt.gateway_6.5.260.SNAPSHOT.jar:?] at java.util.TimerThread.mainLoop(Timer.java:555) [?:1.8.0_191] at java.util.TimerThread.run(Timer.java:505) [?:1.8.0_191] Exception in thread "Timer-7" java.lang.NullPointerException at java.util.Objects.requireNonNull(Objects.java:203) at java.util.Arrays$ArrayList.(Arrays.java:3813) at java.util.Arrays.asList(Arrays.java:3800) at org.wso2.carbon.apimgt.gateway.throttling.util.KeyTemplateRetriever.loadKeyTemplatesFromWebService_aroundBody6(KeyTemplateRetriever.java:117) at org.wso2.carbon.apimgt.gateway.throttling.util.KeyTemplateRetriever.loadKeyTemplatesFromWebService(KeyTemplateRetriever.java:116) at org.wso2.carbon.apimgt.gateway.throttling.util.KeyTemplateRetriever.run_aroundBody0(KeyTemplateRetriever.java:55) at org.wso2.carbon.apimgt.gateway.throttling.util.KeyTemplateRetriever.run(KeyTemplateRetriever.java:51) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) [2019-10-16 14:53:59,772] INFO - DependencyTracker Sequence : main was added to the Synapse configuration successfully [2019-10-16 14:54:02,040] INFO - DependencyTracker Sequence : _cors_requesthandler was added to the Synapse configuration successfully [2019-10-16 14:54:03,936] INFO - DependencyTracker Sequence : _throttle_outhandler was added to the Synapse configuration successfully [2019-10-16 14:54:03,958] INFO - DependencyTracker Sequence : build was added to the Synapse configuration successfully [2019-10-16 14:54:04,080] INFO - DependencyTracker Sequence : dispatchSeq was added to the Synapse configuration successfully [2019-10-16 14:54:04,087] INFO - DependencyTracker Sequence : outDispatchSeq was added to the Synapse configuration successfully [2019-10-16 14:54:05,218] INFO - DependencyTracker Sequence : _threatfault was added to the Synapse configuration successfully [2019-10-16 14:54:06,340] INFO - DependencyTracker Sequence : _tokenfault was added to the Synapse configuration successfully [2019-10-16 14:54:06,348] INFO - DependencyTracker Sequence : _production_keyerror was added to the Synapse configuration successfully [2019-10-16 14:54:06,358] INFO - DependencyTracker Sequence : _resource_mismatchhandler was added to the Synapse configuration successfully [2019-10-16 14:54:08,257] INFO - DependencyTracker Sequence : fault was added to the Synapse configuration successfully [2019-10-16 14:54:08,264] INFO - DependencyTracker Sequence : _graphql_failure_handler was added to the Synapse configuration successfully [2019-10-16 14:54:08,271] INFO - DependencyTracker Sequence : _auth_failurehandler was added to the Synapse configuration successfully [2019-10-16 14:54:08,279] INFO - DependencyTracker Sequence : _sandbox_keyerror was added to the Synapse configuration successfully [2019-10-16 14:54:09,681] INFO - DependencyTracker Proxy service : WorkflowCallbackService was added to the Synapse configuration successfully [2019-10-16 14:54:17,450] INFO - DependencyTracker API : OpenService was added to the Synapse configuration successfully [2019-10-16 14:54:17,843] INFO - DependencyTracker API : WSO2AMUserInfoAPI was added to the Synapse configuration successfully [2019-10-16 14:54:20,079] INFO - DependencyTracker API : WSO2AMRevokeAPI was added to the Synapse configuration successfully [2019-10-16 14:54:20,459] INFO - DependencyTracker API : WSO2AMAuthorizeAPI was added to the Synapse configuration successfully [2019-10-16 14:54:20,852] INFO - DependencyTracker API : WSO2AMTokenAPI was added to the Synapse configuration successfully [2019-10-16 14:54:20,863] INFO - DependencyTracker Inbound Endpoint : SecureWebSocketEP was added to the Synapse configuration successfully [2019-10-16 14:54:20,869] INFO - DependencyTracker Inbound Endpoint : WebSocketInboundEndpoint was added to the Synapse configuration successfully [2019-10-16 14:54:20,874] INFO - SynapseConfigurationBuilder Loaded Synapse configuration from the artifact repository at : ././repository/deployment/server/synapse-configs/default [2019-10-16 14:54:20,880] INFO - DependencyTracker Local entry : SERVER_HOST was added to the Synapse configuration successfully [2019-10-16 14:54:20,884] INFO - DependencyTracker Local entry : SERVER_IP was added to the Synapse configuration successfully [2019-10-16 14:54:20,895] INFO - Axis2SynapseController Loading mediator extensions... [2019-10-16 14:54:23,540] INFO - DeploymentInterceptor Deploying Axis2 service: echo {super-tenant} [2019-10-16 14:54:24,665] WARN - AppDeployerServiceComponent Waiting for required OSGi services: org.wso2.carbon.application.deployer.synapse.service.SynapseAppDeployerService,org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService, [2019-10-16 14:54:25,028] 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, [2019-10-16 14:54:25,457] INFO - DeploymentInterceptor Deploying Axis2 service: Version {super-tenant} [2019-10-16 14:54:25,508] INFO - EventStreamDeployer Stream definition is deployed successfully : org.wso2.apimgt.token.revocation.stream:1.0.0 [2019-10-16 14:54:25,527] INFO - EventStreamDeployer Stream definition is deployed successfully : org.wso2.blocking.request.stream:1.0.0 [2019-10-16 14:54:25,548] INFO - EventStreamDeployer Stream definition is deployed successfully : org.wso2.botDetectionData.request.stream:1.0.0 [2019-10-16 14:54:25,563] INFO - EventStreamDeployer Stream definition is deployed successfully : org.wso2.keytemplate.request.stream:1.0.0 [2019-10-16 14:54:25,580] INFO - EventStreamDeployer Stream definition is deployed successfully : org.wso2.throttle.globalThrottle.stream:1.0.0 [2019-10-16 14:54:25,599] INFO - EventStreamDeployer Stream definition is deployed successfully : org.wso2.throttle.globalThrottle.stream:1.1.0 [2019-10-16 14:54:25,641] INFO - EventStreamDeployer Stream definition is deployed successfully : org.wso2.throttle.processed.request.stream:1.0.0 [2019-10-16 14:54:25,683] INFO - EventStreamDeployer Stream definition is deployed successfully : org.wso2.throttle.request.stream:1.0.0 [2019-10-16 14:54:25,784] INFO - EventJunction WSO2EventConsumer added to the junction. Stream:org.wso2.blocking.request.stream:1.0.0 [2019-10-16 14:54:27,620] INFO - EventPublisherDeployer Event Publisher configuration successfully deployed and in active state : blockingEventJMSPublisher [2019-10-16 14:54:27,632] INFO - EventJunction WSO2EventConsumer added to the junction. Stream:org.wso2.throttle.globalThrottle.stream:1.0.0 [2019-10-16 14:54:27,636] INFO - EventPublisherDeployer Event Publisher configuration successfully deployed and in active state : jmsEventPublisher [2019-10-16 14:54:27,647] INFO - EventJunction WSO2EventConsumer added to the junction. Stream:org.wso2.throttle.globalThrottle.stream:1.1.0 [2019-10-16 14:54:27,651] INFO - EventPublisherDeployer Event Publisher configuration successfully deployed and in active state : jmsEventPublisher-1.0.0 [2019-10-16 14:54:27,663] INFO - EventJunction WSO2EventConsumer added to the junction. Stream:org.wso2.keytemplate.request.stream:1.0.0 [2019-10-16 14:54:27,668] INFO - EventPublisherDeployer Event Publisher configuration successfully deployed and in active state : keyTemplateEventPublisher [2019-10-16 14:54:27,679] INFO - EventJunction WSO2EventConsumer added to the junction. Stream:org.wso2.apimgt.token.revocation.stream:1.0.0 [2019-10-16 14:54:27,684] INFO - EventPublisherDeployer Event Publisher configuration successfully deployed and in active state : tokenRevocationJMSPublisher [2019-10-16 14:54:27,768] INFO - InputAdapterRuntime Connecting receiver blockingWso2EventReceiver [2019-10-16 14:54:27,773] INFO - EventJunction Producer added to the junction. Stream:org.wso2.blocking.request.stream:1.0.0 [2019-10-16 14:54:27,779] INFO - EventReceiverDeployer Event Receiver configuration successfully deployed and in active state: blockingWso2EventReceiver [2019-10-16 14:54:27,788] INFO - InputAdapterRuntime Connecting receiver keyTemplateWso2EventReceiver [2019-10-16 14:54:27,793] INFO - EventJunction Producer added to the junction. Stream:org.wso2.keytemplate.request.stream:1.0.0 [2019-10-16 14:54:27,797] INFO - EventReceiverDeployer Event Receiver configuration successfully deployed and in active state: keyTemplateWso2EventReceiver [2019-10-16 14:54:27,820] INFO - InputAdapterRuntime Connecting receiver throttleEventReceiver [2019-10-16 14:54:27,827] INFO - EventJunction Producer added to the junction. Stream:org.wso2.throttle.request.stream:1.0.0 [2019-10-16 14:54:27,831] INFO - EventReceiverDeployer Event Receiver configuration successfully deployed and in active state: throttleEventReceiver [2019-10-16 14:54:27,842] INFO - InputAdapterRuntime Connecting receiver throttleWSO2EventReceiver [2019-10-16 14:54:27,848] INFO - EventJunction Producer added to the junction. Stream:org.wso2.throttle.request.stream:1.0.0 [2019-10-16 14:54:27,852] INFO - EventReceiverDeployer Event Receiver configuration successfully deployed and in active state: throttleWSO2EventReceiver [2019-10-16 14:54:27,862] INFO - InputAdapterRuntime Connecting receiver tokenRevocationWso2EventReceiver [2019-10-16 14:54:27,866] INFO - EventJunction Producer added to the junction. Stream:org.wso2.apimgt.token.revocation.stream:1.0.0 [2019-10-16 14:54:27,871] INFO - EventReceiverDeployer Event Receiver configuration successfully deployed and in active state: tokenRevocationWso2EventReceiver [2019-10-16 14:54:31,316] INFO - EventJunction Producer added to the junction. Stream:org.wso2.throttle.processed.request.stream:1.0.0 [2019-10-16 14:54:31,325] INFO - EventJunction Consumer added to the junction. Stream:org.wso2.throttle.request.stream:1.0.0 [2019-10-16 14:54:31,331] INFO - EventProcessorDeployer Execution plan is deployed successfully and in active state : requestPreProcessorExecutionPlan [2019-10-16 14:54:33,957] INFO - EventJunction Producer added to the junction. Stream:org.wso2.throttle.globalThrottle.stream:1.0.0 [2019-10-16 14:54:33,963] INFO - EventJunction Consumer added to the junction. Stream:org.wso2.throttle.processed.request.stream:1.0.0 [2019-10-16 14:54:33,967] INFO - EventProcessorDeployer Execution plan is deployed successfully and in active state : carbon.super_app_10PerMin [2019-10-16 14:54:36,014] INFO - EventJunction Producer added to the junction. Stream:org.wso2.throttle.globalThrottle.stream:1.0.0 [2019-10-16 14:54:36,019] INFO - EventJunction Consumer added to the junction. Stream:org.wso2.throttle.processed.request.stream:1.0.0 [2019-10-16 14:54:36,023] INFO - EventProcessorDeployer Execution plan is deployed successfully and in active state : carbon.super_app_20PerMin [2019-10-16 14:54:38,101] INFO - EventJunction Producer added to the junction. Stream:org.wso2.throttle.globalThrottle.stream:1.0.0 [2019-10-16 14:54:38,108] INFO - EventJunction Consumer added to the junction. Stream:org.wso2.throttle.processed.request.stream:1.0.0 [2019-10-16 14:54:38,113] INFO - EventProcessorDeployer Execution plan is deployed successfully and in active state : carbon.super_app_50PerMin [2019-10-16 14:54:40,198] INFO - EventJunction Producer added to the junction. Stream:org.wso2.throttle.globalThrottle.stream:1.0.0 [2019-10-16 14:54:40,203] INFO - EventJunction Consumer added to the junction. Stream:org.wso2.throttle.processed.request.stream:1.0.0 [2019-10-16 14:54:40,208] INFO - EventProcessorDeployer Execution plan is deployed successfully and in active state : carbon.super_resource_10KPerMin_default [2019-10-16 14:54:42,279] INFO - EventJunction Producer added to the junction. Stream:org.wso2.throttle.globalThrottle.stream:1.0.0 [2019-10-16 14:54:42,285] INFO - EventJunction Consumer added to the junction. Stream:org.wso2.throttle.processed.request.stream:1.0.0 [2019-10-16 14:54:42,289] INFO - EventProcessorDeployer Execution plan is deployed successfully and in active state : carbon.super_resource_20KPerMin_default [2019-10-16 14:54:44,447] INFO - EventJunction Producer added to the junction. Stream:org.wso2.throttle.globalThrottle.stream:1.0.0 [2019-10-16 14:54:44,452] INFO - EventJunction Consumer added to the junction. Stream:org.wso2.throttle.processed.request.stream:1.0.0 [2019-10-16 14:54:44,457] INFO - EventProcessorDeployer Execution plan is deployed successfully and in active state : carbon.super_resource_50KPerMin_default [2019-10-16 14:54:46,560] INFO - EventJunction Producer added to the junction. Stream:org.wso2.throttle.globalThrottle.stream:1.0.0 [2019-10-16 14:54:46,565] INFO - EventJunction Consumer added to the junction. Stream:org.wso2.throttle.processed.request.stream:1.0.0 [2019-10-16 14:54:46,570] INFO - EventProcessorDeployer Execution plan is deployed successfully and in active state : carbon.super_sub_Bronze [2019-10-16 14:54:48,913] INFO - EventJunction Producer added to the junction. Stream:org.wso2.throttle.globalThrottle.stream:1.0.0 [2019-10-16 14:54:48,918] INFO - EventJunction Consumer added to the junction. Stream:org.wso2.throttle.processed.request.stream:1.0.0 [2019-10-16 14:54:48,923] INFO - EventProcessorDeployer Execution plan is deployed successfully and in active state : carbon.super_sub_Gold [2019-10-16 14:54:51,131] INFO - EventJunction Producer added to the junction. Stream:org.wso2.throttle.globalThrottle.stream:1.0.0 [2019-10-16 14:54:51,138] INFO - EventJunction Consumer added to the junction. Stream:org.wso2.throttle.processed.request.stream:1.0.0 [2019-10-16 14:54:51,143] INFO - EventProcessorDeployer Execution plan is deployed successfully and in active state : carbon.super_sub_Silver

[2019-10-16 14:54:53,443] INFO - EventJunction Producer added to the junction. Stream:org.wso2.throttle.globalThrottle.stream:1.0.0 [2019-10-16 14:54:53,448] INFO - EventJunction Consumer added to the junction. Stream:org.wso2.throttle.processed.request.stream:1.0.0 [2019-10-16 14:54:53,455] INFO - EventProcessorDeployer Execution plan is deployed successfully and in active state : carbon.super_sub_Unauthenticated [2019-10-16 14:54:55,622] INFO - EventJunction Producer added to the junction. Stream:org.wso2.throttle.globalThrottle.stream:1.0.0 [2019-10-16 14:54:55,627] INFO - EventJunction Consumer added to the junction. Stream:org.wso2.throttle.processed.request.stream:1.0.0 [2019-10-16 14:54:55,631] INFO - EventProcessorDeployer Execution plan is deployed successfully and in active state : foo.com_app_10PerMin [2019-10-16 14:54:57,727] INFO - EventJunction Producer added to the junction. Stream:org.wso2.throttle.globalThrottle.stream:1.0.0 [2019-10-16 14:54:57,739] INFO - EventJunction Consumer added to the junction. Stream:org.wso2.throttle.processed.request.stream:1.0.0 [2019-10-16 14:54:57,744] INFO - EventProcessorDeployer Execution plan is deployed successfully and in active state : foo.com_app_20PerMin [2019-10-16 14:54:59,879] INFO - EventJunction Producer added to the junction. Stream:org.wso2.throttle.globalThrottle.stream:1.0.0 [2019-10-16 14:54:59,884] INFO - EventJunction Consumer added to the junction. Stream:org.wso2.throttle.processed.request.stream:1.0.0 [2019-10-16 14:54:59,888] INFO - EventProcessorDeployer Execution plan is deployed successfully and in active state : foo.com_app_50PerMin [2019-10-16 14:55:02,047] INFO - EventJunction Producer added to the junction. Stream:org.wso2.throttle.globalThrottle.stream:1.1.0 [2019-10-16 14:55:02,052] INFO - EventJunction Consumer added to the junction. Stream:org.wso2.throttle.processed.request.stream:1.0.0 [2019-10-16 14:55:02,056] INFO - EventProcessorDeployer Execution plan is deployed successfully and in active state : foo.com_resource_10KPerMin_default [2019-10-16 14:55:04,169] INFO - EventJunction Producer added to the junction. Stream:org.wso2.throttle.globalThrottle.stream:1.1.0 [2019-10-16 14:55:04,175] INFO - EventJunction Consumer added to the junction. Stream:org.wso2.throttle.processed.request.stream:1.0.0 [2019-10-16 14:55:04,179] INFO - EventProcessorDeployer Execution plan is deployed successfully and in active state : foo.com_resource_20KPerMin_default [2019-10-16 14:55:06,338] INFO - EventJunction Producer added to the junction. Stream:org.wso2.throttle.globalThrottle.stream:1.1.0 [2019-10-16 14:55:06,344] INFO - EventJunction Consumer added to the junction. Stream:org.wso2.throttle.processed.request.stream:1.0.0 [2019-10-16 14:55:06,349] INFO - EventProcessorDeployer Execution plan is deployed successfully and in active state : foo.com_resource_50KPerMin_default [2019-10-16 14:55:08,463] INFO - EventJunction Producer added to the junction. Stream:org.wso2.throttle.globalThrottle.stream:1.0.0 [2019-10-16 14:55:08,469] INFO - EventJunction Consumer added to the junction. Stream:org.wso2.throttle.processed.request.stream:1.0.0 [2019-10-16 14:55:08,473] INFO - EventProcessorDeployer Execution plan is deployed successfully and in active state : foo.com_sub_Bronze

[2019-10-16 14:55:10,545] INFO - EventJunction Producer added to the junction. Stream:org.wso2.throttle.globalThrottle.stream:1.0.0 [2019-10-16 14:55:10,550] INFO - EventJunction Consumer added to the junction. Stream:org.wso2.throttle.processed.request.stream:1.0.0 [2019-10-16 14:55:10,555] INFO - EventProcessorDeployer Execution plan is deployed successfully and in active state : foo.com_sub_Gold [2019-10-16 14:55:12,633] INFO - EventJunction Producer added to the junction. Stream:org.wso2.throttle.globalThrottle.stream:1.0.0 [2019-10-16 14:55:12,639] INFO - EventJunction Consumer added to the junction. Stream:org.wso2.throttle.processed.request.stream:1.0.0 [2019-10-16 14:55:12,643] INFO - EventProcessorDeployer Execution plan is deployed successfully and in active state : foo.com_sub_Silver [2019-10-16 14:55:14,736] INFO - EventJunction Producer added to the junction. Stream:org.wso2.throttle.globalThrottle.stream:1.0.0 [2019-10-16 14:55:14,741] INFO - EventJunction Consumer added to the junction. Stream:org.wso2.throttle.processed.request.stream:1.0.0 [2019-10-16 14:55:14,745] INFO - EventProcessorDeployer Execution plan is deployed successfully and in active state : foo.com_sub_Unauthenticated [2019-10-16 14:55:24,665] WARN - AppDeployerServiceComponent Waiting for required OSGi services: org.wso2.carbon.application.deployer.synapse.service.SynapseAppDeployerService,org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService, [2019-10-16 14:55:25,030] 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, [2019-10-16 14:56:24,384] INFO - TomcatGenericWebappsDeployer Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/accountrecoveryendpoint].File[/Users/isharacooray/Documents/apim/public/master/rename/beta/wso2am-3.0.0-SNAPSHOT/repository/deployment/server/webapps/accountrecoveryendpoint] [2019-10-16 14:56:24,664] WARN - AppDeployerServiceComponent Waiting for required OSGi services: org.wso2.carbon.application.deployer.synapse.service.SynapseAppDeployerService,org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService, [2019-10-16 14:56:25,030] 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, [2019-10-16 14:56:48,105] INFO - TomcatGenericWebappsDeployer Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/am/sample/calculator/v1].File[/Users/isharacooray/Documents/apim/public/master/rename/beta/wso2am-3.0.0-SNAPSHOT/repository/deployment/server/webapps/am#sample#calculator#v1.war] [2019-10-16 14:56:52,383] INFO - TomcatGenericWebappsDeployer Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/am/sample/pizzashack/v1].File[/Users/isharacooray/Documents/apim/public/master/rename/beta/wso2am-3.0.0-SNAPSHOT/repository/deployment/server/webapps/am#sample#pizzashack#v1.war] [2019-10-16 14:57:24,664] WARN - AppDeployerServiceComponent Waiting for required OSGi services: org.wso2.carbon.application.deployer.synapse.service.SynapseAppDeployerService,org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService, [2019-10-16 14:57:25,031] 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, [2019-10-16 14:57:36,238] INFO - TomcatGenericWebappsDeployer Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/api/am/admin/v0.15].File[/Users/isharacooray/Documents/apim/public/master/rename/beta/wso2am-3.0.0-SNAPSHOT/repository/deployment/server/webapps/api#am#admin#v0.15.war] [2019-10-16 14:57:49,498] INFO - TomcatGenericWebappsDeployer Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/api/am/publisher/v0.15].File[/Users/isharacooray/Documents/apim/public/master/rename/beta/wso2am-3.0.0-SNAPSHOT/repository/deployment/server/webapps/api#am#publisher#v0.15.war]

[2019-10-16 14:58:10,041] INFO - TomcatGenericWebappsDeployer Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/api/am/publisher/v1.0].File[/Users/isharacooray/Documents/apim/public/master/rename/beta/wso2am-3.0.0-SNAPSHOT/repository/deployment/server/webapps/api#am#publisher#v1.0.war] [2019-10-16 14:58:22,813] INFO - TomcatGenericWebappsDeployer Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/api/am/store/v0.15].File[/Users/isharacooray/Documents/apim/public/master/rename/beta/wso2am-3.0.0-SNAPSHOT/repository/deployment/server/webapps/api#am#store#v0.15.war] [2019-10-16 14:58:24,668] WARN - AppDeployerServiceComponent Waiting for required OSGi services: org.wso2.carbon.application.deployer.synapse.service.SynapseAppDeployerService,org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService, [2019-10-16 14:58:25,028] 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, [2019-10-16 14:58:32,134] INFO - TomcatGenericWebappsDeployer Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/api/am/store/v1.0].File[/Users/isharacooray/Documents/apim/public/master/rename/beta/wso2am-3.0.0-SNAPSHOT/repository/deployment/server/webapps/api#am#store#v1.0.war] [2019-10-16 14:58:43,808] INFO - TomcatGenericWebappsDeployer Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/api/identity/consent-mgt/v1.0].File[/Users/isharacooray/Documents/apim/public/master/rename/beta/wso2am-3.0.0-SNAPSHOT/repository/deployment/server/webapps/api#identity#consent-mgt#v1.0.war] [2019-10-16 14:58:56,031] INFO - TomcatGenericWebappsDeployer Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/api/identity/recovery/v0.9].File[/Users/isharacooray/Documents/apim/public/master/rename/beta/wso2am-3.0.0-SNAPSHOT/repository/deployment/server/webapps/api#identity#recovery#v0.9.war] [2019-10-16 14:59:06,457] INFO - TomcatGenericWebappsDeployer Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/api/identity/user/v1.0].File[/Users/isharacooray/Documents/apim/public/master/rename/beta/wso2am-3.0.0-SNAPSHOT/repository/deployment/server/webapps/api#identity#user#v1.0.war] [2019-10-16 14:59:10,304] INFO - TenantDataManager EndpointConfig.properties file loaded from ./repository/conf/identity/EndpointConfig.properties [2019-10-16 14:59:10,313] INFO - MutualSSLManager EndpointConfig.properties file loaded from ./repository/conf/identity/EndpointConfig.properties [2019-10-16 14:59:20,295] INFO - EndpointConfigManager EndpointConfig.properties file loaded from ./repository/conf/identity/EndpointConfig.properties [2019-10-16 14:59:24,665] WARN - AppDeployerServiceComponent Waiting for required OSGi services: org.wso2.carbon.application.deployer.synapse.service.SynapseAppDeployerService,org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService, [2019-10-16 14:59:25,027] 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, [2019-10-16 15:00:25,028] 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, [2019-10-16 15:00:24,666] WARN - AppDeployerServiceComponent Waiting for required OSGi services: org.wso2.carbon.application.deployer.synapse.service.SynapseAppDeployerService,org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService, [2019-10-16 15:00:32,217] INFO - TomcatGenericWebappsDeployer Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/authenticationendpoint].File[/Users/isharacooray/Documents/apim/public/master/rename/beta/wso2am-3.0.0-SNAPSHOT/repository/deployment/server/webapps/authenticationendpoint] [2019-10-16 15:00:46,564] INFO - TomcatGenericWebappsDeployer Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/client-registration/v0.15].File[/Users/isharacooray/Documents/apim/public/master/rename/beta/wso2am-3.0.0-SNAPSHOT/repository/deployment/server/webapps/client-registration#v0.15.war]

[2019-10-16 15:01:24,665] WARN - AppDeployerServiceComponent Waiting for required OSGi services: org.wso2.carbon.application.deployer.synapse.service.SynapseAppDeployerService,org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService, [2019-10-16 15:01:25,029] 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, [2019-10-16 15:02:13,337] INFO - TomcatGenericWebappsDeployer Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/oauth2].File[/Users/isharacooray/Documents/apim/public/master/rename/beta/wso2am-3.0.0-SNAPSHOT/repository/deployment/server/webapps/oauth2.war] [2019-10-16 15:02:21,955] INFO - TomcatGenericWebappsDeployer Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/throttle/data/v1].File[/Users/isharacooray/Documents/apim/public/master/rename/beta/wso2am-3.0.0-SNAPSHOT/repository/deployment/server/webapps/throttle#data#v1.war] [2019-10-16 15:02:24,664] WARN - AppDeployerServiceComponent Waiting for required OSGi services: org.wso2.carbon.application.deployer.synapse.service.SynapseAppDeployerService,org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService, [2019-10-16 15:02:25,038] 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, [2019-10-16 15:03:14,339] INFO - Axis2SynapseController Deploying the Synapse service... [2019-10-16 15:03:14,349] INFO - Axis2SynapseController Deploying Proxy services... [2019-10-16 15:03:14,354] INFO - ProxyService Building Axis service for Proxy service : WorkflowCallbackService [2019-10-16 15:03:14,409] INFO - ProxyService Adding service WorkflowCallbackService to the Axis2 configuration [2019-10-16 15:03:14,430] INFO - DeploymentInterceptor Deploying Axis2 service: WorkflowCallbackService {super-tenant} [2019-10-16 15:03:14,435] INFO - ProxyService Successfully created the Axis2 service for Proxy service : WorkflowCallbackService [2019-10-16 15:03:14,439] INFO - Axis2SynapseController Deployed Proxy service : WorkflowCallbackService [2019-10-16 15:03:14,443] INFO - Axis2SynapseController Deploying EventSources... [2019-10-16 15:03:20,481] INFO - InboundEndpoint Initializing Inbound Endpoint: WebSocketInboundEndpoint [2019-10-16 15:03:24,664] WARN - AppDeployerServiceComponent Waiting for required OSGi services: org.wso2.carbon.application.deployer.synapse.service.SynapseAppDeployerService,org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService, [2019-10-16 15:03:25,030] 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, [2019-10-16 15:04:01,871] INFO - WebsocketEndpointManager Netty Listener starting on port 9099 [2019-10-16 15:04:01,878] INFO - InboundEndpoint Initializing Inbound Endpoint: SecureWebSocketEP [2019-10-16 15:04:02,357] INFO - WebsocketEndpointManager Netty SSL Listener starting on port 8099 [2019-10-16 15:04:02,364] INFO - API Initializing API: WSO2AMAuthorizeAPI [2019-10-16 15:04:02,368] INFO - API Initializing API: WSO2AMUserInfoAPI [2019-10-16 15:04:02,373] INFO - API Initializing API: OpenService [2019-10-16 15:04:02,379] INFO - API Initializing API: WSO2AMRevokeAPI [2019-10-16 15:04:02,384] INFO - API Initializing API: WSO2AMTokenAPI [2019-10-16 15:04:02,389] INFO - ServerManager Server ready for processing... [2019-10-16 15:04:02,948] INFO - DataBridge user admin connected

[2019-10-16 15:04:24,665] WARN - AppDeployerServiceComponent Waiting for required OSGi services: org.wso2.carbon.application.deployer.synapse.service.SynapseAppDeployerService, [2019-10-16 15:04:25,028] 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, [2019-10-16 15:04:32,944] ERROR - DataEndpointConnectionWorker Error while trying to connect to the endpoint. Cannot borrow client for ssl://10.100.5.130:9711. org.wso2.carbon.databridge.agent.exception.DataEndpointLoginException: Cannot borrow client for ssl://10.100.5.130:9711. at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.connect(DataEndpointConnectionWorker.java:145) ~[org.wso2.carbon.databridge.agent_5.2.12.jar:?] at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.run(DataEndpointConnectionWorker.java:59) [org.wso2.carbon.databridge.agent_5.2.12.jar:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_191] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_191] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_191] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_191] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191] Caused by: org.wso2.carbon.databridge.agent.exception.DataEndpointLoginException: Error while trying to login to data receiver :/10.100.5.130:9711 at org.wso2.carbon.databridge.agent.endpoint.binary.BinaryDataEndpoint.login(BinaryDataEndpoint.java:50) ~[org.wso2.carbon.databridge.agent_5.2.12.jar:?] at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.connect(DataEndpointConnectionWorker.java:139) ~[org.wso2.carbon.databridge.agent_5.2.12.jar:?] ... 6 more Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) ~[?:1.8.0_191] at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) ~[?:1.8.0_191] at java.net.SocketInputStream.read(SocketInputStream.java:171) ~[?:1.8.0_191] at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[?:1.8.0_191] at sun.security.ssl.InputRecord.readFully(InputRecord.java:465) ~[?:1.8.0_191] at sun.security.ssl.InputRecord.read(InputRecord.java:503) ~[?:1.8.0_191] at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975) ~[?:1.8.0_191] at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:933) ~[?:1.8.0_191] at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) ~[?:1.8.0_191] at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) ~[?:1.8.0_191] at java.io.BufferedInputStream.read(BufferedInputStream.java:265) ~[?:1.8.0_191] at org.wso2.carbon.databridge.agent.endpoint.binary.BinaryEventSender.processResponse(BinaryEventSender.java:147) ~[org.wso2.carbon.databridge.agent_5.2.12.jar:?] at org.wso2.carbon.databridge.agent.endpoint.binary.BinaryDataEndpoint.login(BinaryDataEndpoint.java:44) ~[org.wso2.carbon.databridge.agent_5.2.12.jar:?] at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.connect(DataEndpointConnectionWorker.java:139) ~[org.wso2.carbon.databridge.agent_5.2.12.jar:?] ... 6 more [2019-10-16 15:05:01,750] WARN - DataEndpointGroup No receiver is reachable at reconnection, will try to reconnect every 30 sec [2019-10-16 15:05:01,861] INFO - DataBridge user admin connected [2019-10-16 15:05:03,774] WARN - SynapseAppDeployerDSComponent Waiting for required OSGi services: org.wso2.carbon.priority.executors.services.PriorityExeDeployerService,org.wso2.carbon.proxyadmin.service.ProxyDeployerService,org.wso2.carbon.rest.api.service.RestAPIDeployerService,org.wso2.carbon.sequences.services.SequenceDeployerService, [2019-10-16 15:05:24,664] WARN - AppDeployerServiceComponent Waiting for required OSGi services: org.wso2.carbon.application.deployer.synapse.service.SynapseAppDeployerService, [2019-10-16 15:05:25,029] 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,

bhathiya commented 4 years ago

I'm unable to reproduce this issue.

isharac commented 4 years ago

It was reproducible in 3.0.0 but did not encounter this issue in 3.1.0.

ArqamFarooqui110719 commented 2 years ago

Hi @isharac I'm also facing same issue, can you please suggest, How you have resolved this error.

.
.
[2022-08-22 10:24:55,479]  INFO - WebsocketEndpointManager Netty Listener starting on port 9099
[2022-08-22 10:24:56,033]  INFO - QpidServiceComponent Activating Andes Message Broker Engine...
[Broker] BRK-1001 : Startup : Version: 0.11 Build: 90784:90849
[Broker] MNG-1001 : Startup
[Broker] MNG-1004 : Ready : Using the platform JMX Agent
[2022-08-22 10:25:30,551]  WARN - StartupFinalizerServiceComponent Waiting for required OSGi services: org.wso2.carbon.server.admin.common.IServerAdmin,org.wso2.carbon.throttling.agent.ThrottlingAgent,

After the above logs API-Manager is restarting continuously.

ArqamFarooqui110719 commented 2 years ago

Hi @isharac I'm also facing same issue, can you please suggest, How you have resolved this error.

. . [2022-08-22 10:24:55,479] INFO - WebsocketEndpointManager Netty Listener starting on port 9099 [2022-08-22 10:24:56,033] INFO - QpidServiceComponent Activating Andes Message Broker Engine... [Broker] BRK-1001 : Startup : Version: 0.11 Build: 90784:90849 [Broker] MNG-1001 : Startup [Broker] MNG-1004 : Ready : Using the platform JMX Agent [2022-08-22 10:25:30,551] WARN - StartupFinalizerServiceComponent Waiting for required OSGi services: org.wso2.carbon.server.admin.common.IServerAdmin,org.wso2.carbon.throttling.agent.ThrottlingAgent, After the above logs API-Manager is restarting continuously.

I'm using API-Manager-3.2.0 with Identity-Server-5.10.