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
845 stars 785 forks source link

Unable to deploy synapse artifacts at gateway error printed on startup #8611

Closed uvindra closed 4 years ago

uvindra commented 4 years ago

Description:

When starting the APIM pack, the following error is printed continuously,

ERROR {org.wso2.carbon.apimgt.gateway.listeners.GatewayStartupListener} - Unable to deploy synapse artifacts at gateway.

Full log output is shown below,

TID: [-1234] [client-registration/v0.17] [2020-07-07 14:23:19,199]  INFO {org.wso2.carbon.identity.oauth.config.OAuthServerConfiguration} - An instance of org.wso2.carbon.identity.oauth2.token.OauthTokenIssuerImpl is created for Identity OAuth token generation.
TID: [-1234] [] [2020-07-07 14:23:20,929]  INFO {org.wso2.carbon.apimgt.jms.listener.utils.JMSTransportHandler} - Starting jms topic consumer thread for the keyManager topic...
TID: [-1234] [] [2020-07-07 14:23:20,939]  INFO {org.wso2.carbon.apimgt.jms.listener.utils.JMSTransportHandler} - Starting jms topic consumer thread for the throttleData topic...
TID: [-1234] [] [2020-07-07 14:23:20,980]  INFO {org.wso2.carbon.apimgt.jms.listener.utils.JMSTransportHandler} - Starting jms topic consumer thread for the tokenRevocation topic...
TID: [-1234] [] [2020-07-07 14:23:21,005]  INFO {org.wso2.carbon.apimgt.jms.listener.utils.JMSTransportHandler} - Starting jms topic consumer thread for the cacheInvalidation topic...
TID: [-1234] [] [2020-07-07 14:23:21,019]  INFO {org.wso2.carbon.apimgt.jms.listener.utils.JMSTransportHandler} - Starting jms topic consumer thread for the notification topic...
TID: [-1234] [] [2020-07-07 14:23:21,023]  INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Server           :  WSO2 API Manager-3.2.0
TID: [-1234] [] [2020-07-07 14:23:21,034]  INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - WSO2 Carbon started in 89 sec
TID: [-1234] [] [2020-07-07 14:23:22,376]  INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} - Mgt Console URL  : https://localhost:9443/carbon/
TID: [-1234] [] [2020-07-07 14:23:22,377]  INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} - API Developer Portal Default Context : https://localhost:9443/devportal
TID: [-1234] [] [2020-07-07 14:23:22,378]  INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} - API Publisher Default Context : https://localhost:9443/publisher
TID: [-1] [] [2020-07-07 14:23:31,361]  INFO {org.wso2.carbon.apimgt.jms.listener.utils.JMSListener} - Connection attempt: 1 for JMS Provider for listener: Siddhi-JMS-Consumer#notification was successful!
TID: [-1] [] [2020-07-07 14:23:31,362]  INFO {org.wso2.carbon.apimgt.jms.listener.utils.JMSListener} - Connection attempt: 1 for JMS Provider for listener: Siddhi-JMS-Consumer#tokenRevocation was successful!
TID: [-1] [] [2020-07-07 14:23:31,359]  INFO {org.wso2.carbon.apimgt.jms.listener.utils.JMSListener} - Connection attempt: 1 for JMS Provider for listener: Siddhi-JMS-Consumer#keyManager was successful!
TID: [-1] [] [2020-07-07 14:23:31,369]  INFO {org.wso2.carbon.apimgt.jms.listener.utils.JMSListener} - Connection attempt: 1 for JMS Provider for listener: Siddhi-JMS-Consumer#cacheInvalidation was successful!
TID: [-1] [] [2020-07-07 14:23:31,370]  INFO {org.wso2.carbon.apimgt.jms.listener.utils.JMSListener} - Connection attempt: 1 for JMS Provider for listener: Siddhi-JMS-Consumer#throttleData was successful!
TID: [-1] [] [2020-07-07 14:23:31,384]  INFO {org.wso2.carbon.apimgt.jms.listener.utils.JMSTaskManager} - Task manager for Siddhi-JMS-Consumer [re-]initialized
TID: [-1] [] [2020-07-07 14:23:31,386]  INFO {org.wso2.carbon.apimgt.jms.listener.utils.JMSTaskManager} - Task manager for Siddhi-JMS-Consumer [re-]initialized
TID: [-1] [] [2020-07-07 14:23:31,388]  INFO {org.wso2.carbon.apimgt.jms.listener.utils.JMSTaskManager} - Task manager for Siddhi-JMS-Consumer [re-]initialized
TID: [-1] [] [2020-07-07 14:23:31,389]  INFO {org.wso2.carbon.apimgt.jms.listener.utils.JMSTaskManager} - Task manager for Siddhi-JMS-Consumer [re-]initialized
TID: [-1] [] [2020-07-07 14:23:31,390]  INFO {org.wso2.carbon.apimgt.jms.listener.utils.JMSTaskManager} - Task manager for Siddhi-JMS-Consumer [re-]initialized
TID: [-1] [] [2020-07-07 14:23:31,741]  WARN {org.wso2.carbon.apimgt.jms.listener.utils.JMSUtils} - Cannot locate destination : tokenRevocation
TID: [-1] [] [2020-07-07 14:23:31,741]  WARN {org.wso2.carbon.apimgt.jms.listener.utils.JMSUtils} - Cannot locate destination : keyManager
TID: [-1] [] [2020-07-07 14:23:31,746]  WARN {org.wso2.carbon.apimgt.jms.listener.utils.JMSUtils} - Cannot locate destination : cacheInvalidation
TID: [-1] [] [2020-07-07 14:23:31,747]  WARN {org.wso2.carbon.apimgt.jms.listener.utils.JMSUtils} - Cannot locate destination : notification
TID: [-1] [] [2020-07-07 14:23:31,746]  WARN {org.wso2.carbon.apimgt.jms.listener.utils.JMSUtils} - Cannot locate destination : throttleData
TID: [-1] [] [2020-07-07 14:23:32,387]  INFO {org.wso2.carbon.apimgt.jms.listener.utils.JMSListener} - Started to listen on destination : notification of type topic for listener Siddhi-JMS-Consumer#notification
TID: [-1] [] [2020-07-07 14:23:32,387]  INFO {org.wso2.carbon.apimgt.jms.listener.utils.JMSListener} - Started to listen on destination : tokenRevocation of type topic for listener Siddhi-JMS-Consumer#tokenRevocation
TID: [-1] [] [2020-07-07 14:23:32,389]  INFO {org.wso2.carbon.apimgt.jms.listener.utils.JMSListener} - Started to listen on destination : throttleData of type topic for listener Siddhi-JMS-Consumer#throttleData
TID: [-1] [] [2020-07-07 14:23:32,390]  INFO {org.wso2.carbon.apimgt.jms.listener.utils.JMSListener} - Started to listen on destination : keyManager of type topic for listener Siddhi-JMS-Consumer#keyManager
TID: [-1] [] [2020-07-07 14:23:32,391]  INFO {org.wso2.carbon.apimgt.jms.listener.utils.JMSListener} - Started to listen on destination : cacheInvalidation of type topic for listener Siddhi-JMS-Consumer#cacheInvalidation
TID: [-1] [] [2020-07-07 14:23:47,211] ERROR {org.wso2.carbon.apimgt.gateway.listeners.GatewayStartupListener} - Unable to deploy synapse artifacts at gateway. Next retry in 60 seconds
TID: [-1] [] [2020-07-07 14:24:47,213] ERROR {org.wso2.carbon.apimgt.gateway.listeners.GatewayStartupListener} - Unable to deploy synapse artifacts at gateway. Next retry in 120 seconds
TID: [-1] [] [2020-07-07 14:26:47,215] ERROR {org.wso2.carbon.apimgt.gateway.listeners.GatewayStartupListener} - Unable to deploy synapse artifacts at gateway. Next retry in 240 seconds
TID: [-1] [] [2020-07-07 14:30:47,216] ERROR {org.wso2.carbon.apimgt.gateway.listeners.GatewayStartupListener} - Unable to deploy synapse artifacts at gateway. Next retry in 480 seconds
TID: [-1] [] [2020-07-07 14:38:47,217] ERROR {org.wso2.carbon.apimgt.gateway.listeners.GatewayStartupListener} - Unable to deploy synapse artifacts at gateway. Next retry in 960 seconds
TID: [-1] [] [2020-07-07 14:54:47,219] ERROR {org.wso2.carbon.apimgt.gateway.listeners.GatewayStartupListener} - Unable to deploy synapse artifacts at gateway. Next retry in 1920 seconds

Steps to reproduce:

Start APIM.

Issue was noticed in 6.7.79-SNAPSHOT build.

Environment details (with versions):


chirangaalwis commented 4 years ago

Experiencing the same with the API Manager deployment pattern 1 in a Kubernetes environment.