I tried to install API Manager on an Amazon EC2 service, the installation didn't return an error but when I launch the service via a bash, it does give me some :
JAVA_HOME environment variable is set to /usr
CARBON_HOME environment variable is set to /home/ec2-user/wso2am-1.10.0
Using Java memory options: -Xms256m -Xmx1024m
[2016-02-05 14:24:27,851] INFO - CarbonCoreActivator Starting WSO2 Carbon...
[2016-02-05 14:24:27,860] INFO - CarbonCoreActivator Operating System : Linux 4.1.13-19.31.amzn1.x86_64, amd64
[2016-02-05 14:24:27,860] INFO - CarbonCoreActivator Java Home : /usr/java/jdk1.8.0_11/jre
[2016-02-05 14:24:27,860] INFO - CarbonCoreActivator Java Version : 1.8.0_11
[2016-02-05 14:24:27,860] INFO - CarbonCoreActivator Java VM : Java HotSpot(TM) 64-Bit Server VM 25.11-b03,Oracle Corporation
[2016-02-05 14:24:27,860] INFO - CarbonCoreActivator Carbon Home : /home/ec2-user/wso2am-1.10.0
[2016-02-05 14:24:27,861] INFO - CarbonCoreActivator Java Temp Dir : /home/ec2-user/wso2am-1.10.0/tmp
[2016-02-05 14:24:27,861] INFO - CarbonCoreActivator User : ec2-user, fr-FR, Zulu
[2016-02-05 14:24:28,094] WARN - ValidationResultPrinter Swap Memory size (MB): 0 of the system is below the recommended minimum size :2047
[2016-02-05 14:24:28,097] WARN - ValidationResultPrinter Maximum PermGen space (MB) :0 of the running JVM is set below the recommended minimum size :256
[2016-02-05 14:24:28,097] WARN - ValidationResultPrinter Carbon is configured to use the default keystore (wso2carbon.jks). To maximize security when deploying to a production environment, configure a new keystore with a unique password in the production server profile.
[2016-02-05 14:24:28,097] WARN - ValidationResultPrinter RAM size (MB): 995 of the system is below the recommended minimum size :2047
[2016-02-05 14:24:28,252] INFO - AgentHolder Agent created !
[2016-02-05 14:24:28,295] INFO - AgentDS Successfully deployed Agent Client
[2016-02-05 14:24:33,716] INFO - EmbeddedRegistryService Configured Registry in 155ms
[2016-02-05 14:24:33,826] INFO - RegistryCoreServiceComponent Registry Mode : READ-WRITE
[2016-02-05 14:24:34,265] INFO - MetricServiceImpl Creating JDBC reporter for Metrics with source 'ip-172-31-19-177.eu-central-1.compute.internal', data source 'jdbc/WSO2MetricsDB' and 60 seconds polling period
[2016-02-05 14:24:34,266] INFO - AbstractReporter Started JMX reporter for Metrics
[2016-02-05 14:24:34,283] INFO - AbstractReporter Started JDBC reporter for Metrics
[2016-02-05 14:24:38,558] INFO - SolrClient Default Embedded Solr Server Initialized
[2016-02-05 14:24:39,117] INFO - UserStoreMgtDSComponent Carbon UserStoreMgtDSComponent activated successfully.
[2016-02-05 14:24:49,170] INFO - TaglibUriRule TLD skipped. URI: http://tiles.apache.org/tags-tiles is already defined
[2016-02-05 14:24:50,312] INFO - ClusterBuilder Clustering has been disabled
[2016-02-05 14:24:50,629] INFO - UserStoreConfigurationDeployer User Store Configuration Deployer initiated.
[2016-02-05 14:24:50,630] INFO - UserStoreConfigurationDeployer User Store Configuration Deployer initiated.
[2016-02-05 14:24:50,667] INFO - PassThroughHttpSender Initializing Pass-through HTTP/S Sender...
[2016-02-05 14:24:50,727] INFO - PassThroughHttpSender Pass-through HTTP Sender started...
[2016-02-05 14:24:50,727] INFO - PassThroughHttpSSLSender Initializing Pass-through HTTP/S Sender...
[2016-02-05 14:24:50,731] INFO - ClientConnFactoryBuilder HTTPS Loading Identity Keystore from : repository/resources/security/wso2carbon.jks
[2016-02-05 14:24:50,734] INFO - ClientConnFactoryBuilder HTTPS Loading Trust Keystore from : repository/resources/security/client-truststore.jks
[2016-02-05 14:24:50,747] INFO - PassThroughHttpSSLSender Pass-through HTTPS Sender started...
[2016-02-05 14:24:50,762] INFO - PassThroughHttpListener Initializing Pass-through HTTP/S Listener...
[2016-02-05 14:24:50,807] INFO - PassThroughHttpSSLListener Initializing Pass-through HTTP/S Listener...
[2016-02-05 14:24:50,931] INFO - ModuleDeployer Deploying module: addressing-1.6.1-wso2v16 - file:/home/ec2-user/wso2am-1.10.0/repository/deployment/client/modules/addressing-1.6.1-wso2v16.mar
[2016-02-05 14:24:53,313] INFO - DeploymentEngine Deploying Web service: org.wso2.carbon.message.processor-4.5.1 -
[2016-02-05 14:24:53,332] INFO - DeploymentEngine Deploying Web service: org.wso2.carbon.message.store-4.5.1 -
[2016-02-05 14:24:53,937] INFO - DeploymentEngine Deploying Web service: org.wso2.carbon.registry.ws.api-4.4.8 -
[2016-02-05 14:24:55,011] INFO - CarbonServerManager Repository : /home/ec2-user/wso2am-1.10.0/repository/deployment/server/
[2016-02-05 14:24:55,611] INFO - TenantLoadingConfig Using tenant lazy loading policy...
[2016-02-05 14:24:55,621] INFO - PermissionUpdater Permission cache updated for tenant -1234
[2016-02-05 14:24:56,288] INFO - DefaultKeyValidationHandler org.wso2.carbon.apimgt.keymgt.handlers.DefaultKeyValidationHandler Initialised
[2016-02-05 14:24:56,291] INFO - APIKeyValidationService Initialised KeyValidationHandler instance successfully
[2016-02-05 14:24:56,292] INFO - APIKeyMgtServiceComponent Setting default carbon host for thrift key management service: 172.31.19.177
[2016-02-05 14:24:56,451] INFO - APIKeyMgtServiceComponent Started thrift key mgt service at port:10397
[2016-02-05 14:24:56,555] INFO - SessionDataStore Thread pool size for session persistent consumer : 100
[2016-02-05 14:24:56,724] INFO - SessionDataStore Session Data Operations CleanUp Task of Authentication framework is not enabled.
[2016-02-05 14:24:56,908] INFO - ServiceBusInitializer Starting ESB...
[2016-02-05 14:24:56,933] INFO - ServiceBusInitializer Initializing Apache Synapse...
[2016-02-05 14:24:56,939] INFO - SynapseControllerFactory Using Synapse home : /home/ec2-user/wso2am-1.10.0/.
[2016-02-05 14:24:56,944] INFO - SynapseControllerFactory Using synapse.xml location : /home/ec2-user/wso2am-1.10.0/././repository/deployment/server/synapse-configs/default
[2016-02-05 14:24:56,944] INFO - SynapseControllerFactory Using server name : localhost
[2016-02-05 14:24:56,951] INFO - SynapseControllerFactory The timeout handler will run every : 15s
[2016-02-05 14:24:56,967] INFO - Axis2SynapseController Initializing Synapse at : Fri Feb 05 14:24:56 UTC 2016
[2016-02-05 14:24:56,975] INFO - CarbonSynapseController Loading the mediation configuration from the file system
[2016-02-05 14:24:56,981] INFO - MultiXMLConfigurationBuilder Building synapse configuration from the synapse artifact repository at : ././repository/deployment/server/synapse-configs/default
[2016-02-05 14:24:56,987] INFO - XMLConfigurationBuilder Generating the Synapse configuration model by parsing the XML configuration
[2016-02-05 14:24:57,069] INFO - SchemaBuilder XACML policy schema loaded successfully.
[2016-02-05 14:24:57,233] INFO - SynapseConfigurationBuilder Loaded Synapse configuration from the artifact repository at : ././repository/deployment/server/synapse-configs/default
[2016-02-05 14:24:57,237] INFO - Axis2SynapseController Loading mediator extensions...
[2016-02-05 14:24:58,206] INFO - DeploymentInterceptor Deploying Axis2 service: echo {super-tenant}
[2016-02-05 14:24:58,215] INFO - DeploymentEngine Deploying Web service: Echo.aar - file:/home/ec2-user/wso2am-1.10.0/repository/deployment/server/axis2services/Echo.aar
[2016-02-05 14:24:58,232] INFO - DeploymentInterceptor Deploying Axis2 service: Version {super-tenant}
[2016-02-05 14:24:58,232] INFO - DeploymentEngine Deploying Web service: Version.aar - file:/home/ec2-user/wso2am-1.10.0/repository/deployment/server/axis2services/Version.aar
[2016-02-05 14:25:00,675] INFO - TomcatGenericWebappsDeployer Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/am/sample/calculator/v1].File[/home/ec2-user/wso2am-1.10.0/repository/deployment/server/webapps/am#sample#calculator#v1.war]
[2016-02-05 14:25:04,235] INFO - ServerImpl Setting the server's publish address to be /
[2016-02-05 14:25:04,377] INFO - TomcatGenericWebappsDeployer Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/api/am/publisher/v0.9].File[/home/ec2-user/wso2am-1.10.0/repository/deployment/server/webapps/api#am#publisher#v0.9.war]
[2016-02-05 14:25:08,067] INFO - ServerImpl Setting the server's publish address to be /
[2016-02-05 14:25:08,195] INFO - TomcatGenericWebappsDeployer Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/api/am/store/v0.9].File[/home/ec2-user/wso2am-1.10.0/repository/deployment/server/webapps/api#am#store#v0.9.war]
[2016-02-05 14:25:08,584] INFO - TenantDataManager EndpointConfig.properties file loaded from ./repository/conf/identity/EndpointConfig.properties
[2016-02-05 14:25:09,611] INFO - TldLocationsCache At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
[2016-02-05 14:25:11,292] INFO - TomcatGenericWebappsDeployer Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/authenticationendpoint].File[/home/ec2-user/wso2am-1.10.0/repository/deployment/server/webapps/authenticationendpoint.war]
[2016-02-05 14:25:14,232] INFO - ServerImpl Setting the server's publish address to be /register
[2016-02-05 14:25:14,363] INFO - TomcatGenericWebappsDeployer Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/client-registration/v0.9].File[/home/ec2-user/wso2am-1.10.0/repository/deployment/server/webapps/client-registration#v0.9.war]
[2016-02-05 14:25:17,619] INFO - TomcatGenericWebappsDeployer Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/oauth2].File[/home/ec2-user/wso2am-1.10.0/repository/deployment/server/webapps/oauth2.war]
[2016-02-05 14:25:19,001] INFO - Axis2SynapseController Deploying the Synapse service...
[2016-02-05 14:25:19,002] INFO - Axis2SynapseController Deploying Proxy services...
[2016-02-05 14:25:19,002] INFO - ProxyService Building Axis service for Proxy service : WorkflowCallbackService
[2016-02-05 14:25:19,019] INFO - ProxyService Adding service WorkflowCallbackService to the Axis2 configuration
[2016-02-05 14:25:19,021] INFO - DeploymentInterceptor Deploying Axis2 service: WorkflowCallbackService {super-tenant}
[2016-02-05 14:25:19,021] INFO - ProxyService Successfully created the Axis2 service for Proxy service : WorkflowCallbackService
[2016-02-05 14:25:19,021] INFO - Axis2SynapseController Deployed Proxy service : WorkflowCallbackService
[2016-02-05 14:25:19,021] INFO - Axis2SynapseController Deploying EventSources...
[2016-02-05 14:25:19,047] INFO - API Initializing API: _WSO2AMRevokeAPI_
[2016-02-05 14:25:19,047] INFO - API Initializing API: _WSO2AMAuthorizeAPI_
[2016-02-05 14:25:19,048] INFO - API Initializing API: _WSO2AMTokenAPI_
[2016-02-05 14:25:19,051] INFO - API Initializing API: _WSO2AMUserInfoAPI_
[2016-02-05 14:25:19,052] INFO - ServerManager Server ready for processing...
[2016-02-05 14:25:19,536] INFO - StatisticsServiceComponent BAM Service Stat Publishing is disabled
[2016-02-05 14:25:19,733] INFO - PassThroughHttpListener Starting Pass-through HTTP Listener...
[2016-02-05 14:25:19,749] INFO - PassThroughListeningIOReactorManager Pass-through HTTP Listener started on 0.0.0.0:8280
[2016-02-05 14:25:19,750] INFO - PassThroughHttpSSLListener Starting Pass-through HTTPS Listener...
[2016-02-05 14:25:19,756] INFO - PassThroughListeningIOReactorManager Pass-through HTTPS Listener started on 0.0.0.0:8243
[2016-02-05 14:25:19,998] INFO - NioSelectorPool Using a shared selector for servlet write/read
[2016-02-05 14:25:20,074] INFO - NioSelectorPool Using a shared selector for servlet write/read
[2016-02-05 14:25:20,298] INFO - TaskServiceImpl Task service starting in STANDALONE mode...
[2016-02-05 14:25:20,457] INFO - RegistryEventingServiceComponent Successfully Initialized Eventing on Registry
[2016-02-05 14:25:20,612] INFO - JMXServerManager JMX Service URL : service:jmx:rmi://localhost:11111/jndi/rmi://localhost:9999/jmxrmi
[2016-02-05 14:25:20,613] INFO - StartupFinalizerServiceComponent Server : WSO2 API Manager-1.10.0
[2016-02-05 14:25:20,614] INFO - StartupFinalizerServiceComponent WSO2 Carbon started in 59 sec
[2016-02-05 14:25:21,083] INFO - CarbonUIServiceComponent Mgt Console URL : https://172.31.19.177:9443/carbon/
[2016-02-05 14:25:21,084] INFO - CarbonUIServiceComponent API Publisher Default Context : http://172.31.19.177:9763/publisher
[2016-02-05 14:25:21,084] INFO - CarbonUIServiceComponent API Store Default Context : http://172.31.19.177:9763/store
[2016-02-05 14:25:41,622] ERROR - SolrClient Error when passing date to create solr date format.java.text.ParseException: Unparseable date: "Fri Feb 05 14:25:19 UTC 2016"
[2016-02-05 14:25:41,624] ERROR - SolrClient Error when passing date to create solr date format.java.text.ParseException: Unparseable date: "Thu Feb 04 16:02:01 UTC 2016"
[2016-02-05 14:25:41,623] ERROR - SolrClient Error when passing date to create solr date format.java.text.ParseException: Unparseable date: "Fri Feb 05 14:25:19 UTC 2016"
[2016-02-05 14:25:41,626] ERROR - SolrClient Error when passing date to create solr date format.java.text.ParseException: Unparseable date: "Thu Feb 04 16:02:01 UTC 2016"
[2016-02-05 14:25:41,623] ERROR - SolrClient Error when passing date to create solr date format.java.text.ParseException: Unparseable date: "Fri Feb 05 14:25:19 UTC 2016"
[2016-02-05 14:25:41,627] ERROR - SolrClient Error when passing date to create solr date format.java.text.ParseException: Unparseable date: "Thu Feb 04 16:02:01 UTC 2016"
[2016-02-05 14:25:41,623] ERROR - SolrClient Error when passing date to create solr date format.java.text.ParseException: Unparseable date: "Fri Feb 05 14:25:19 UTC 2016"
[2016-02-05 14:25:41,622] ERROR - SolrClient Error when passing date to create solr date format.java.text.ParseException: Unparseable date: "Fri Feb 05 14:25:19 UTC 2016"
[2016-02-05 14:25:41,628] ERROR - SolrClient Error when passing date to create solr date format.java.text.ParseException: Unparseable date: "Thu Feb 04 16:02:01 UTC 2016"
[2016-02-05 14:25:41,622] ERROR - SolrClient Error when passing date to create solr date format.java.text.ParseException: Unparseable date: "Fri Feb 05 14:25:19 UTC 2016"
[2016-02-05 14:25:41,635] ERROR - SolrClient Error when passing date to create solr date format.java.text.ParseException: Unparseable date: "Thu Feb 04 16:02:01 UTC 2016"
[2016-02-05 14:25:41,622] ERROR - SolrClient Error when passing date to create solr date format.java.text.ParseException: Unparseable date: "Fri Feb 05 14:25:19 UTC 2016"
[2016-02-05 14:25:41,636] ERROR - SolrClient Error when passing date to create solr date format.java.text.ParseException: Unparseable date: "Thu Feb 04 16:02:01 UTC 2016"
[2016-02-05 14:25:41,622] ERROR - SolrClient Error when passing date to create solr date format.java.text.ParseException: Unparseable date: "Fri Feb 05 14:25:19 UTC 2016"
[2016-02-05 14:25:41,636] ERROR - SolrClient Error when passing date to create solr date format.java.text.ParseException: Unparseable date: "Thu Feb 04 16:02:01 UTC 2016"
[2016-02-05 14:25:41,622] ERROR - SolrClient Error when passing date to create solr date format.java.text.ParseException: Unparseable date: "Fri Feb 05 14:25:19 UTC 2016"
[2016-02-05 14:25:41,636] ERROR - SolrClient Error when passing date to create solr date format.java.text.ParseException: Unparseable date: "Thu Feb 04 16:02:01 UTC 2016"
[2016-02-05 14:25:41,622] ERROR - SolrClient Error when passing date to create solr date format.java.text.ParseException: Unparseable date: "Fri Feb 05 14:25:19 UTC 2016"
[2016-02-05 14:25:41,636] ERROR - SolrClient Error when passing date to create solr date format.java.text.ParseException: Unparseable date: "Thu Feb 04 16:02:01 UTC 2016"
[2016-02-05 14:25:41,627] ERROR - SolrClient Error when passing date to create solr date format.java.text.ParseException: Unparseable date: "Thu Feb 04 16:02:01 UTC 2016"
[2016-02-05 14:25:41,751] ERROR - SolrClient Error when passing date to create solr date format.java.text.ParseException: Unparseable date: "Fri Feb 05 14:24:50 UTC 2016"
[2016-02-05 14:25:41,751] ERROR - SolrClient Error when passing date to create solr date format.java.text.ParseException: Unparseable date: "Thu Feb 04 16:01:33 UTC 2016"
[2016-02-05 14:25:41,753] ERROR - SolrClient Error when passing date to create solr date format.java.text.ParseException: Unparseable date: "Fri Feb 05 14:25:19 UTC 2016"
[2016-02-05 14:25:41,754] ERROR - SolrClient Error when passing date to create solr date format.java.text.ParseException: Unparseable date: "Thu Feb 04 16:02:01 UTC 2016"
And after a while nothing happens, I quit :
^C
[2016-02-05 14:29:15,025] INFO - CarbonServerManager Shutdown hook triggered....
[2016-02-05 14:29:15,026] INFO - CarbonServerManager Gracefully shutting down WSO2 API Manager...
[2016-02-05 14:29:15,032] INFO - ServerManagement Starting to switch to maintenance mode...
[2016-02-05 14:29:15,032] INFO - PassThroughHttpListener Stopping Pass-through HTTP Listener..
[2016-02-05 14:29:15,033] INFO - PassThroughListeningIOReactorManager Shutting down IO Reactor bind for port 8280
[2016-02-05 14:29:15,035] INFO - PassThroughListeningIOReactorManager HTTP-Listener I/O dispatcher Listener shutdown.
[2016-02-05 14:29:15,035] INFO - PassThroughHttpSSLListener Stopping Pass-through HTTPS Listener..
[2016-02-05 14:29:15,036] INFO - PassThroughListeningIOReactorManager Shutting down IO Reactor bind for port 8243
[2016-02-05 14:29:15,036] INFO - PassThroughListeningIOReactorManager HTTPS-Listener I/O dispatcher Listener shutdown.
[2016-02-05 14:29:15,037] INFO - ServerManagement Stopped all transport listeners
[2016-02-05 14:29:15,037] INFO - ServerManagement Waiting for request service completion...
[2016-02-05 14:29:15,042] INFO - ServerManagement All requests have been served.
[2016-02-05 14:29:15,042] INFO - ServerManagement Waiting for deployment completion...
[2016-02-05 14:29:15,108] INFO - WebApplication Unloaded webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/api/am/publisher/v0.9]
[2016-02-05 14:29:15,138] INFO - WebApplication Unloaded webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/oauth2]
[2016-02-05 14:29:15,165] INFO - WebApplication Unloaded webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/authenticationendpoint]
[2016-02-05 14:29:15,189] INFO - WebApplication Unloaded webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/client-registration/v0.9]
[2016-02-05 14:29:15,209] INFO - WebApplication Unloaded webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/am/sample/calculator/v1]
[2016-02-05 14:29:15,230] INFO - WebApplication Unloaded webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/api/am/store/v0.9]
[2016-02-05 14:29:15,240] INFO - WebApplication Unloaded webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/workflow-admin]
[2016-02-05 14:29:15,244] INFO - WebApplication Unloaded webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/store]
[2016-02-05 14:29:15,251] INFO - WebApplication Unloaded webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/admin-dashboard]
[2016-02-05 14:29:15,260] INFO - WebApplication Unloaded webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/publisher]
[2016-02-05 14:29:15,260] INFO - ServerManagement All deployment tasks have been completed.
[2016-02-05 14:29:15,260] INFO - ServerManagement Waiting for server task completion...
[2016-02-05 14:29:15,301] INFO - RegistryCoreServiceComponent Writing logs
[2016-02-05 14:29:15,303] INFO - ServerManagement All server tasks have been completed.
[2016-02-05 14:29:15,303] INFO - CarbonServerManager Shutting down WSO2 API Manager...
[2016-02-05 14:29:15,303] INFO - CarbonServerManager Shutting down OSGi framework...
[2016-02-05 14:29:15,404] INFO - SynapseTaskManager Shutting down the task manager
[2016-02-05 14:29:15,460] INFO - CarbonServerManager Stopping CarbonServerManager...
[2016-02-05 14:29:15,462] INFO - PassThroughHttpSender HTTP Sender shutdown
[2016-02-05 14:29:15,462] INFO - PassThroughHttpSSLSender HTTPS Sender shutdown
[2016-02-05 14:29:15,462] INFO - PassThroughHttpListener Destroying PassThroughHttpListener
[2016-02-05 14:29:15,463] INFO - PassThroughHttpSSLListener Destroying PassThroughHttpListener
[2016-02-05 14:29:17,748] INFO - CarbonTomcatServiceComponent Stopping the carbon web-app registered under : /
[2016-02-05 14:29:17,794] INFO - AbstractReporter Stopped JMX reporter for Metrics
[2016-02-05 14:29:17,795] INFO - AbstractReporter Stopped JDBC reporter for Metrics
[2016-02-05 14:29:18,461] INFO - CarbonServerManager Shutdown complete
[2016-02-05 14:29:18,461] INFO - CarbonServerManager Halting JVM
I tried to connect to the server using the port 9443 but I just got an ACCESS DENIED page.
Do you guys have an idea where did my installation or my configuration gone wrong ?
Notice that in the installation tutorial, this command didn't worked :
export PATH=${JAVA_HOME}/bin:${PATH}
Thanks you for your help,
Jérémy
This seems to be known issue and reported here and here, as a workaround set you system locale to English.
Related
I have installed wso2 EI 6.6.0 in Ubuntu OS. Setting up the message broker profile is done as described here
Profile started and URL got in logs, But the management console is not accessible by using that URL.
Logs:
CARBON_HOME environment variable is set to /usr/lib/wso2/wso2ei/6.6.0/wso2/broker
Using Java memory options: -Xms256m -Xmx1024m
andes [org.wso2.andes.wso2.internal.QpidBundleActivator] INFO : Setting BundleContext in PluginManager
callhome [org.wso2.callhome.internal.CallHomeActivator] DEBUG : Activating CallHome agent
[2022-05-18 16:34:43,814] INFO {org.ops4j.pax.logging.spi.support.EventAdminConfigurationNotifier} - Sending Event Admin nofification (configuration successful) to org/ops4j/pax/logging/Configuration
[2022-05-18 16:34:44,195] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Starting WSO2 Carbon...
[2022-05-18 16:34:44,207] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Operating System : Linux 5.4.0-110-generic, amd64
[2022-05-18 16:34:44,208] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Home : /usr/lib/wso2/wso2ei/6.6.0/jdk/jdk1.8.0_211/jre
[2022-05-18 16:34:44,209] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Version : 1.8.0_211
[2022-05-18 16:34:44,209] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM : Java HotSpot(TM) 64-Bit Server VM 25.211-b12,Oracle Corporation
[2022-05-18 16:34:44,210] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Carbon Home : /usr/lib/wso2/wso2ei/6.6.0/wso2/broker
[2022-05-18 16:34:44,210] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Temp Dir : /usr/lib/wso2/wso2ei/6.6.0/wso2/broker/tmp
[2022-05-18 16:34:44,210] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - User : wso2, en-null, Etc/UTC
[2022-05-18 16:34:44,407] INFO {org.wso2.carbon.crypto.provider.internal.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.
[2022-05-18 16:34:46,860] WARN {org.wso2.carbon.registry.core.config.RegistryConfigurationProcessor} - Could not find the handler class org.wso2.carbon.mediation.library.RegistryCachingHandler. This handler will not be registered. All handler and filter classes should be in the class path of the Registry.
[2022-05-18 16:34:46,944] INFO {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} - Configured Registry in 78ms
[2022-05-18 16:34:47,031] INFO {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} - Registry Mode : READ-WRITE
[2022-05-18 16:34:47,040] INFO {org.wso2.andes.configuration.AndesConfigurationManager} - Main andes configuration located at : /usr/lib/wso2/wso2ei/6.6.0/wso2/broker/conf/broker.xml
[2022-05-18 16:34:47,164] INFO {org.wso2.andes.configuration.AndesConfigurationManager} - Main andes configuration located at : /usr/lib/wso2/wso2ei/6.6.0/wso2/broker/conf/broker.xml
[2022-05-18 16:34:47,229] INFO {org.wso2.carbon.metrics.impl.util.JDBCReporterBuilder} - Creating JDBC reporter for Metrics with source 'powercorewsodev', data source 'jdbc/WSO2MetricsDB' and 60 seconds polling period
[2022-05-18 16:34:47,232] INFO {org.wso2.carbon.metrics.impl.util.JmxReporterBuilder} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2022-05-18 16:34:47,239] INFO {org.wso2.carbon.metrics.impl.reporter.AbstractReporter} - Started JMX reporter for Metrics
[2022-05-18 16:34:47,247] INFO {org.wso2.carbon.metrics.impl.reporter.AbstractReporter} - Started JDBC reporter for Metrics
[2022-05-18 16:34:49,277] INFO {org.wso2.carbon.registry.indexing.solr.SolrClient} - Default Embedded Solr Server Initialized
[2022-05-18 16:34:49,615] INFO {org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} - Carbon UserStoreMgtDSComponent activated successfully.
[2022-05-18 16:34:50,270] INFO {org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer} - User Store Configuration Deployer initiated.
[2022-05-18 16:34:50,272] INFO {org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer} - User Store Configuration Deployer initiated.
[2022-05-18 16:34:53,903] INFO {org.wso2.carbon.core.init.CarbonServerManager} - Repository : /usr/lib/wso2/wso2ei/6.6.0/wso2/broker/repository/deployment/server/
[2022-05-18 16:34:53,921] INFO {org.wso2.carbon.andes.core.internal.ds.QueueManagerServiceDS} - Successfully created the queue manager service
[2022-05-18 16:34:53,929] INFO {org.wso2.carbon.andes.core.internal.ds.SubscriptionManagerServiceDS} - Successfully created the subscription manager service
[2022-05-18 16:34:53,988] INFO {org.wso2.carbon.core.multitenancy.eager.TenantLoadingConfig} - Using tenant lazy loading policy...
[2022-05-18 16:34:54,006] INFO {org.wso2.carbon.core.internal.permission.update.PermissionUpdater} - Permission cache updated for tenant -1234
[2022-05-18 16:34:54,472] INFO {org.wso2.andes.configuration.AndesConfigurationManager} - Main andes configuration located at : /usr/lib/wso2/wso2ei/6.6.0/wso2/broker/conf/broker.xml
[2022-05-18 16:34:54,493] INFO {org.wso2.carbon.andes.internal.QpidServiceComponent} - Activating Andes Message Broker Engine...
[2022-05-18 16:34:54,509] INFO {org.wso2.andes.server.Broker} - Starting Qpid using configuration : /usr/lib/wso2/wso2ei/6.6.0/wso2/broker/conf/advanced/qpid-config.xml
[2022-05-18 16:34:54,554] INFO {org.wso2.andes.server.registry.ApplicationRegistry} - Initialising Application Registry(org.wso2.andes.server.registry.ConfigurationFileApplicationRegistry#3c636fa7)
[2022-05-18 16:34:54,585] INFO {org.wso2.andes.server.plugins.PluginManager} - Opened service trackers
[Broker] BRK-1001 : Startup : Version: 0.11 Build: 90784:90849
[2022-05-18 16:34:54,699] INFO {org.wso2.andes.server.management.JMXManagedObjectRegistry} - Initialising managed object registry using jplatform MBean server
[2022-05-18 16:34:54,706] INFO {org.wso2.andes.server.security.auth.manager.PrincipalDatabaseAuthenticationManager} - PrincipalDatabase concrete implementation : org.wso2.carbon.andes.authentication.andes.CarbonBasedPrincipalDatabase
[2022-05-18 16:34:54,712] INFO {org.wso2.andes.server.security.auth.manager.PrincipalDatabaseAuthenticationManager} - Initialised PLAIN SASL provider successfully
[2022-05-18 16:34:54,714] INFO {org.wso2.andes.server.security.auth.manager.PrincipalDatabaseAuthenticationManager} - Additional SASL providers successfully registered.
[2022-05-18 16:34:54,715] INFO {org.wso2.andes.server.security.auth.manager.PrincipalDatabaseAuthenticationManager} - Registering UserManagementMBean
[Broker] MNG-1001 : Startup
[Broker] MNG-1004 : Ready : Using the platform JMX Agent
[2022-05-18 16:34:54,810] INFO {org.wso2.andes.store.rdbms.RDBMSConnection} - JDBC connection established with jndi config WSO2MBStoreDB
[2022-05-18 16:34:54,829] INFO {org.wso2.andes.store.rdbms.RDBMSAndesContextStoreImpl} - Andes Context Store initialised
[2022-05-18 16:34:54,830] INFO {org.wso2.andes.kernel.AndesKernelBoot} - AndesContextStore initialised with org.wso2.andes.store.rdbms.RDBMSAndesContextStoreImpl
[2022-05-18 16:34:54,846] INFO {org.wso2.andes.store.rdbms.RDBMSConnection} - JDBC connection established with jndi config WSO2MBStoreDB
[2022-05-18 16:34:54,910] INFO {org.wso2.andes.store.rdbms.RDBMSMessageStoreImpl} - Message Store initialised
[2022-05-18 16:34:54,912] INFO {org.wso2.andes.kernel.AndesKernelBoot} - Andes MessageStore initialised with org.wso2.andes.store.rdbms.RDBMSMessageStoreImpl
[2022-05-18 16:34:54,968] INFO {org.wso2.andes.server.cluster.ClusterManager} - Initializing Standalone Mode. Current Node ID:NODE:powercorewsodev/127.0.1.1 127.0.1.1
[2022-05-18 16:34:55,115] INFO {org.wso2.andes.kernel.Andes} - Andes API initialised.
[2022-05-18 16:34:55,164] INFO {org.wso2.andes.kernel.AndesChannel} - Channel created (ID: Internel_channel)
[2022-05-18 16:34:55,176] INFO {org.wso2.andes.kernel.AndesKernelBoot} - Syncing exchanges, queues, bindings and subscriptions
[2022-05-18 16:34:55,187] INFO {org.wso2.andes.kernel.disruptor.inbound.InboundDBSyncRequestEvent} - Running DB sync task.
[2022-05-18 16:34:55,189] WARN {org.wso2.andes.kernel.disruptor.inbound.InboundDBSyncRequestEvent} - Recovering node. Adding exchange messageRouterName=amq.dlc,type=DLC,autoDelete=false
[2022-05-18 16:34:55,190] INFO {org.wso2.andes.kernel.Andes} - Starting Safe Zone Calculator for slots.
[2022-05-18 16:34:55,192] INFO {org.wso2.andes.kernel.AndesContextInformationManager} - Message Router Sync [create]: amq.dlc
[2022-05-18 16:34:55,193] WARN {org.wso2.andes.kernel.disruptor.inbound.InboundDBSyncRequestEvent} - Recovering node. Adding queue to queue registry queueName=deadletterchannel,queueOwner=admin,isExclusive=false,isDurable=true,isShared=false,lastPurgedTimestamp=0
[2022-05-18 16:34:55,272] INFO {org.wso2.andes.kernel.AndesContextInformationManager} - Queue Sync [create]: deadletterchannel
[2022-05-18 16:34:55,276] WARN {org.wso2.andes.kernel.disruptor.inbound.InboundDBSyncRequestEvent} - Recovering node. Adding binding [Binding]E=amq.dlc/Q=deadletterchannel/RK=deadletterchannel/D=true/EX=false
[2022-05-18 16:34:55,284] INFO {org.wso2.andes.kernel.AndesContextInformationManager} - Binding Sync [create]: [Binding]E=amq.dlc/Q=deadletterchannel/RK=deadletterchannel/D=true/EX=false
[Broker] BRK-1002 : Starting : Listening on TCP port 5675
[2022-05-18 16:34:55,296] INFO {qpid.message.broker.listening} - [Broker] BRK-1002 : Starting : Listening on TCP port 5675
[2022-05-18 16:34:55,309] WARN {org.wso2.andes.configuration.AndesConfigurationManager} - Error when trying to read property : transports/amqp/sslConnection/ciphers. Switching to default value :
[Broker] BRK-1002 : Starting : Listening on TCP/SSL port 8675
[2022-05-18 16:34:55,315] INFO {qpid.message.broker.listening} - [Broker] BRK-1002 : Starting : Listening on TCP/SSL port 8675
[Broker] BRK-1004 : Qpid Broker Ready
[2022-05-18 16:34:55,320] INFO {org.wso2.andes.kernel.MessagingEngine} - Starting SlotDelivery Workers.
[2022-05-18 16:34:55,321] INFO {org.wso2.andes.task.TaskExecutorService} - Starting task manager. Task count 0
[2022-05-18 16:34:55,326] INFO {org.wso2.andes.kernel.MessagingEngine} - Start Disruptor writing messages to store.
[2022-05-18 16:34:55,411] INFO {org.wso2.andes.mqtt.MQTTopicManager} - MQTT andes connecting bridge initialized successfully
[2022-05-18 16:34:55,538] INFO {org.dna.mqtt.moquette.server.netty.NettyAcceptor} - Server binded host: 0.0.0.0, port: 1886
[2022-05-18 16:34:55,551] INFO {org.dna.mqtt.moquette.server.netty.NettyAcceptor} - Starting SSL on port 8886
[2022-05-18 16:34:55,553] INFO {org.dna.mqtt.moquette.server.netty.NettyAcceptor} - Server binded host: 0.0.0.0, port: 8886
[2022-05-18 16:34:55,560] INFO {org.wso2.carbon.andes.internal.QpidServiceComponent} - AMQP Host Address : 0.0.0.0 Port : 5675
[2022-05-18 16:34:55,561] INFO {org.wso2.carbon.andes.internal.QpidServiceComponent} - Successfully connected to AMQP server on port 5675
[2022-05-18 16:34:55,562] INFO {org.wso2.carbon.andes.internal.QpidServiceComponent} - MQTT Host Address : 0.0.0.0 Port : 1886
[2022-05-18 16:34:55,563] INFO {org.wso2.carbon.andes.internal.QpidServiceComponent} - Successfully connected to MQTT server on port 1886
[2022-05-18 16:34:55,564] INFO {org.wso2.carbon.andes.internal.QpidServiceComponent} - WSO2 Message Broker is started.
[2022-05-18 16:34:56,020] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: echo {super-tenant}
[2022-05-18 16:34:56,047] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: Version {super-tenant}
[2022-05-18 16:34:56,057] INFO {org.wso2.carbon.core.transports.http.HttpTransportListener} - HTTP port : 9766
[2022-05-18 16:34:56,063] INFO {org.wso2.carbon.core.transports.http.HttpsTransportListener} - HTTPS port : 9446
[2022-05-18 16:34:56,278] INFO {org.wso2.carbon.core.init.JMXServerManager} - JMX Service URL : service:jmx:rmi://localhost:11114/jndi/rmi://localhost:10002/jmxrmi
[2022-05-18 16:34:56,282] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Server : WSO2 Message Broker-3.2.0
[2022-05-18 16:34:56,284] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - WSO2 Carbon started in 17 sec
[2022-05-18 16:34:56,286] INFO {org.wso2.callhome.internal.CallHomeObserver} -
..............................................................................
There are 234 updates available for the product 'wso2ei-6.6.0'.[WARNING] There
are 50 critical security updates for the product 'wso2ei-6.6.0'. WSO2 strongly
recommends to apply these updates in production as soon as possible.
..............................................................................
[2022-05-18 16:34:57,026] INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} - Mgt Console URL : https://10.140.0.11:9446/carbon/
Note: No error on logs and some WARN message also got. In logs I have given some invalid URL
Can anyone please check log and let me know reason why url is not accessible?
I have WSO2 ESB (4.9.0) and WS02 MB (3.1.0) installed on a mounted drive on a server running Ubuntu 16.04.5 LTS.
The ESB has API endpoints configured that of which push received data to the message broker upon a post request. This process was working flawlessly until I updated the server via the typical update commands i.e. sudo apt-get update,
sudo apt-get upgrade,
sudo apt-get dist-upgrade followed by a system reboot.
Upon rebooting and starting the MB followed by the ESB (both manually via sh wso2server.sh), I receive the following error from the ESB:
ERROR - JMSConnectionFactory JMS Exception while creating connection through factory 'QueueConnectionFactory' Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.ConnectException: Connection refused (Connection refused)
WARN - JMSPollingConsumer Inbound JMS endpoint unable to get a connection.
This obviously prevents the ESB sending messages to the MB. What could be causing this?
On a side note, attempting the same process via a non-root account results in the following error:
Error: JAVA_HOME is not defined correctly. CARBON cannot execute java
Message Broker log as root (Sections are omitted):
root#[REDACTED]:/mnt/wso2mb-3.1.0/wso2mb-3.1.0/bin# sh wso2server.sh
JAVA_HOME environment variable is set to /usr/lib/jvm/java-8-oracle
CARBON_HOME environment variable is set to /mnt/wso2mb-3.1.0/wso2mb-3.1.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[2019-02-06 14:01:34,947] WARN {org.apache.axiom.util.stax.dialect.StAXDialectDetector} - Unable to determine dialect of the StAX implementation at bundleresource://13.fwk1845904670/
[2019-02-06 14:01:34,947] WARN {org.apache.axiom.util.stax.dialect.StAXDialectDetector} - Unable to determine dialect of the StAX implementation at bundleresource://13.fwk1845904670/
INFO {org.wso2.andes.wso2.internal.QpidBundleActivator} - Setting BundleContext in PluginManager
[2019-02-06 14:01:35,921] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Starting WSO2 Carbon...
[2019-02-06 14:01:35,922] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Operating System : Linux 4.4.0-141-generic, amd64
[2019-02-06 14:01:35,922] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Home : /usr/lib/jvm/java-8-oracle/jre
[2019-02-06 14:01:35,923] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Version : 1.8.0_201
[2019-02-06 14:01:35,923] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM : Java HotSpot(TM) 64-Bit Server VM 25.201-b09,Oracle Corporation
[2019-02-06 14:01:35,923] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Carbon Home : /mnt/wso2mb-3.1.0/wso2mb-3.1.0
[2019-02-06 14:01:35,924] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Temp Dir : /mnt/wso2mb-3.1.0/wso2mb-3.1.0/tmp
[2019-02-06 14:01:35,924] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - User : root, en-GB, Etc/GMT
[2019-02-06 14:01:36,067] WARN {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} - Carbon is configured to use the default keystore (wso2carbon.jks). To maximize security when deploying to a production environment, configure a new keystore with a unique password in the production server profile.
[2019-02-06 14:01:36,073] INFO {org.wso2.carbon.databridge.agent.thrift.AgentHolder} - Agent created !
[2019-02-06 14:01:36,093] INFO {org.wso2.carbon.databridge.agent.thrift.internal.AgentDS} - Successfully deployed Agent Client
[2019-02-06 14:01:37,935] INFO {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} - Configured Registry in 107ms
[2019-02-06 14:01:38,014] INFO {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} - Registry Mode : READ-WRITE
[2019-02-06 14:01:38,078] INFO {org.wso2.carbon.metrics.impl.util.JDBCReporterBuilder} - Creating JDBC reporter for Metrics with source '[REDACTED]', data source 'jdbc/WSO2MetricsDB' and 60 seconds polling period
[2019-02-06 14:01:38,079] INFO {org.wso2.carbon.metrics.impl.util.JmxReporterBuilder} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2019-02-06 14:01:38,090] INFO {org.wso2.carbon.metrics.impl.reporter.AbstractReporter} - Started JDBC reporter for Metrics
[2019-02-06 14:01:38,090] INFO {org.wso2.carbon.metrics.impl.reporter.AbstractReporter} - Started JMX reporter for Metrics
[2019-02-06 14:01:38,327] INFO {org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} - Carbon UserStoreMgtDSComponent activated successfully.
[2019-02-06 14:01:45,805] INFO {org.apache.axis2.deployment.ClusterBuilder} - Clustering has been disabled
[2019-02-06 14:01:45,966] INFO {org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer} - User Store Configuration Deployer initiated.
[2019-02-06 14:01:45,966] INFO {org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer} - User Store Configuration Deployer initiated.
[2019-02-06 14:01:46,056] INFO {org.apache.axis2.deployment.ModuleDeployer} - Deploying module: addressing-1.6.1-wso2v16 - file:/mnt/wso2mb-3.1.0/wso2mb-3.1.0/repository/deployment/client/modules/addressing-1.6.1-wso2v16.mar
[2019-02-06 14:01:46,060] INFO {org.apache.axis2.deployment.ModuleDeployer} - Deploying module: rampart-1.6.1-wso2v10 - file:/mnt/wso2mb-3.1.0/wso2mb-3.1.0/repository/deployment/client/modules/rampart-1.6.1-wso2v10.mar
[2019-02-06 14:01:46,334] INFO {org.apache.axis2.deployment.DeploymentEngine} - Deploying Web service: org.wso2.carbon.andes.admin-3.1.1 -
[2019-02-06 14:01:46,368] INFO {org.apache.axis2.deployment.DeploymentEngine} - Deploying Web service: org.wso2.carbon.andes.event.admin-3.1.1 -
[2019-02-06 14:01:46,710] WARN {org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator} - We don't support method overloading. Ignoring [validateAudienceRestriction]
[2019-02-06 14:01:47,285] INFO {org.apache.axis2.deployment.DeploymentEngine} - Deploying Web service: org.wso2.carbon.tryit-4.4.8 -
[2019-02-06 14:01:47,471] INFO {org.wso2.carbon.core.init.CarbonServerManager} - Repository : /mnt/wso2mb-3.1.0/wso2mb-3.1.0/repository/deployment/server/
[2019-02-06 14:01:47,485] INFO {org.wso2.carbon.andes.core.internal.ds.QueueManagerServiceDS} - Successfully created the queue manager service
[2019-02-06 14:01:47,489] INFO {org.wso2.carbon.andes.core.internal.ds.SubscriptionManagerServiceDS} - Successfully created the subscription manager service
[2019-02-06 14:01:47,539] INFO {org.wso2.carbon.core.multitenancy.eager.TenantLoadingConfig} - Using tenant lazy loading policy...
[2019-02-06 14:01:47,549] INFO {org.wso2.carbon.core.internal.permission.update.PermissionUpdater} - Permission cache updated for tenant -1234
[2019-02-06 14:01:47,607] INFO {org.wso2.andes.configuration.AndesConfigurationManager} - Main andes configuration located at : /mnt/wso2mb-3.1.0/wso2mb-3.1.0/repository/conf/broker.xml
[2019-02-06 14:01:47,714] INFO {org.wso2.carbon.andes.internal.QpidServiceComponent} - Activating Andes Message Broker Engine...
[2019-02-06 14:01:47,728] INFO {org.wso2.andes.server.Broker} - Starting Qpid using configuration : /mnt/wso2mb-3.1.0/wso2mb-3.1.0/repository/conf/advanced/qpid-config.xml
[2019-02-06 14:01:47,759] INFO {org.wso2.andes.server.registry.ApplicationRegistry} - Initialising Application Registry(org.wso2.andes.server.registry.ConfigurationFileApplicationRegistry#683c51f5)
[2019-02-06 14:01:47,782] INFO {org.wso2.andes.server.plugins.PluginManager} - Opened service trackers
[Broker] BRK-1001 : Startup : Version: 0.11 Build: 90784:90849
[2019-02-06 14:01:47,891] INFO {org.wso2.andes.server.management.JMXManagedObjectRegistry} - Initialising managed object registry using jplatform MBean server
[2019-02-06 14:01:47,896] INFO {org.wso2.andes.server.security.auth.manager.PrincipalDatabaseAuthenticationManager} - PrincipalDatabase concrete implementation : org.wso2.carbon.andes.authentication.andes.CarbonBasedPrincipalDatabase
[2019-02-06 14:01:47,900] INFO {org.wso2.andes.server.security.auth.manager.PrincipalDatabaseAuthenticationManager} - Initialised PLAIN SASL provider successfully
[2019-02-06 14:01:47,900] INFO {org.wso2.andes.server.security.auth.manager.PrincipalDatabaseAuthenticationManager} - Additional SASL providers successfully registered.
[2019-02-06 14:01:47,900] INFO {org.wso2.andes.server.security.auth.manager.PrincipalDatabaseAuthenticationManager} - Registering UserManagementMBean
[Broker] MNG-1001 : Startup
[Broker] MNG-1004 : Ready : Using the platform JMX Agent
[2019-02-06 14:01:48,003] INFO {org.wso2.andes.store.rdbms.RDBMSConnection} - JDBC connection established with jndi config WSO2MBStoreDB
[2019-02-06 14:01:48,017] INFO {org.wso2.andes.store.rdbms.RDBMSAndesContextStoreImpl} - Andes Context Store initialised
[2019-02-06 14:01:48,017] INFO {org.wso2.andes.kernel.AndesKernelBoot} - AndesContextStore initialised with org.wso2.andes.store.rdbms.RDBMSAndesContextStoreImpl
[2019-02-06 14:01:48,040] INFO {org.wso2.andes.store.rdbms.RDBMSConnection} - JDBC connection established with jndi config WSO2MBStoreDB
[2019-02-06 14:01:48,067] INFO {org.wso2.andes.store.rdbms.RDBMSMessageStoreImpl} - Message Store initialised
[2019-02-06 14:01:48,067] INFO {org.wso2.andes.kernel.AndesKernelBoot} - Andes MessageStore initialised with org.wso2.andes.store.rdbms.RDBMSMessageStoreImpl
[2019-02-06 14:01:48,144] INFO {org.wso2.andes.kernel.Andes} - Andes API initialised.
INFO {org.wso2.carbon.core.init.JMXServerManager} - JMX Service URL : service:jmx:rmi://localhost:11112/jndi/rmi://localhost:10000/jmxrmi
[2019-02-06 14:01:49,974] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Server : WSO2 Message Broker-3.1.0
[2019-02-06 14:01:49,975] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - WSO2 Carbon started in 16 sec
[2019-02-06 14:01:50,176] INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} - Mgt Console URL : https://[REDACTED]:9444/carbon/
[2019-02-06 14:06:45,627] INFO {org.wso2.andes.kernel.AndesChannel} - Channel created (ID: 127.0.0.1:53018)
[2019-02-06 14:06:45,743] INFO {org.wso2.andes.subscription.SubscriptionEngine} - Local subscription ADDED [[REDACTED]]ID=0#[REDACTED]/[REDACTED]/T=1549462005677/D=true/X=false/O=null/E=amq.direct/ET=org.wso2.andes.server.exchange.DirectExchange$1#61094da2/EUD=0/S=true
[2019-02-06 14:06:46,630] INFO {org.wso2.andes.kernel.AndesChannel} - Channel created (ID: 127.0.0.1:53022)
[2019-02-06 14:06:46,663] INFO {org.wso2.andes.subscription.SubscriptionEngine} - Local subscription ADDED [[REDACTED]]ID=1#[REDACTED]/[REDACTED]/T=1549462006662/D=true/X=false/O=null/E=amq.direct/ET=org.wso2.andes.server.exchange.DirectExchange$1#61094da2/EUD=0/S=true
[2019-02-06 14:06:47,636] INFO {org.wso2.andes.kernel.AndesChannel} - Channel created (ID: 127.0.0.1:53026)
[2019-02-06 14:06:48,677] INFO {org.wso2.andes.kernel.AndesChannel} - Channel created (ID: 127.0.0.1:53030)
[2019-02-06 14:06:49,678] INFO {org.wso2.andes.kernel.AndesChannel} - Channel created (ID: 127.0.0.1:53034)
[2019-02-06 14:06:49,691] INFO {org.wso2.andes.subscription.SubscriptionEngine} - Local subscription ADDED [[REDACTED]]ID=4#[REDACTED]/[REDACTED]/T=1549462009690/D=true/X=false/O=null/E=amq.direct/ET=org.wso2.andes.server.exchange.DirectExchange$1#61094da2/EUD=0/S=true
[2019-02-06 14:06:50,689] INFO {org.wso2.andes.kernel.AndesChannel} - Channel created (ID: 127.0.0.1:53040)
[2019-02-06 14:06:50,762] INFO {org.wso2.andes.subscription.SubscriptionEngine} - Local subscription ADDED [[REDACTED]]ID=5#[REDACTED]/[REDACTED]/T=1549462010761/D=false/X=true/O=clientID/E=amq.topic/ET=org.wso2.andes.server.exchange.TopicExchange$1#74034026/EUD=0/S=true
[2019-02-06 14:06:51,719] INFO {org.wso2.andes.kernel.AndesChannel} - Channel created (ID: 127.0.0.1:53044)
[2019-02-06 14:06:52,739] INFO {org.wso2.andes.kernel.AndesChannel} - Channel created (ID: 127.0.0.1:53048)
[2019-02-06 14:06:53,784] INFO {org.wso2.andes.kernel.AndesChannel} - Channel created (ID: 127.0.0.1:53052)
[2019-02-06 14:06:54,771] INFO {org.wso2.andes.kernel.AndesChannel} - Channel created (ID: 127.0.0.1:53056)
[2019-02-06 14:06:54,784] INFO {org.wso2.andes.subscription.SubscriptionEngine} - Local subscription ADDED [[REDACTED]]ID=9#[REDACTED]/[REDACTED]/T=1549462014782/D=true/X=false/O=null/E=amq.direct/ET=org.wso2.andes.server.exchange.DirectExchange$1#61094da2/EUD=0/S=true
ESB log as root (Sections are omitted):
root#[REDACTED]:/mnt/wso2esb-4.9.0/wso2esb-4.9.0/bin# sh wso2server.sh
JAVA_HOME environment variable is set to /usr/lib/jvm/java-8-oracle
CARBON_HOME environment variable is set to /mnt/wso2esb-4.9.0/wso2esb-4.9.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[2019-02-06 14:06:27,453] INFO - CarbonCoreActivator Starting WSO2 Carbon...
[2019-02-06 14:06:27,458] INFO - CarbonCoreActivator Operating System : Linux 4.4.0-141-generic, amd64
[2019-02-06 14:06:27,458] INFO - CarbonCoreActivator Java Home : /usr/lib/jvm/java-8-oracle/jre
[2019-02-06 14:06:27,459] INFO - CarbonCoreActivator Java Version : 1.8.0_201
[2019-02-06 14:06:27,459] INFO - CarbonCoreActivator Java VM : Java HotSpot(TM) 64-Bit Server VM 25.201-b09,Oracle Corporation
[2019-02-06 14:06:27,459] INFO - CarbonCoreActivator Carbon Home : /mnt/wso2esb-4.9.0/wso2esb-4.9.0
[2019-02-06 14:06:27,459] INFO - CarbonCoreActivator Java Temp Dir : /mnt/wso2esb-4.9.0/wso2esb-4.9.0/tmp
[2019-02-06 14:06:27,460] INFO - CarbonCoreActivator User : root, en-GB, Etc/GMT
[2019-02-06 14:06:27,629] WARN - ValidationResultPrinter Carbon is configured to use the default keystore (wso2carbon.jks). To maximize security when deploying to a production environment, configure a new keystore with a unique password in the production server profile.
[2019-02-06 14:06:27,639] INFO - AgentHolder Agent created !
[2019-02-06 14:06:27,671] INFO - AgentDS Successfully deployed Agent Client
[2019-02-06 14:06:30,171] INFO - EmbeddedRegistryService Configured Registry in 81ms
[2019-02-06 14:06:30,221] INFO - RegistryCoreServiceComponent Registry Mode : READ-WRITE
[2019-02-06 14:06:32,887] INFO - SolrClient Default Embedded Solr Server Initialized
[2019-02-06 14:06:33,288] INFO - UserStoreMgtDSComponent Carbon UserStoreMgtDSComponent activated successfully.
[2019-02-06 14:06:40,096] INFO - TaglibUriRule TLD skipped. URI: http://tiles.apache.org/tags-tiles is already defined
[2019-02-06 14:06:40,764] INFO - ClusterBuilder Clustering has been disabled
[2019-02-06 14:06:40,926] INFO - UserStoreConfigurationDeployer User Store Configuration Deployer initiated.
[2019-02-06 14:06:40,926] INFO - UserStoreConfigurationDeployer User Store Configuration Deployer initiated.
[2019-02-06 14:06:40,949] INFO - JMSSender JMS Sender started
[2019-02-06 14:06:40,951] INFO - JMSSender JMS Transport Sender initialized...
[2019-02-06 14:06:40,951] INFO - PassThroughHttpSender Initializing Pass-through HTTP/S Sender...
[2019-02-06 14:06:40,996] INFO - PassThroughHttpSender Pass-through HTTP Sender started...
[2019-02-06 14:06:40,997] INFO - PassThroughHttpSSLSender Initializing Pass-through HTTP/S Sender...
[2019-02-06 14:06:41,002] INFO - ClientConnFactoryBuilder HTTPS Loading Identity Keystore from : repository/resources/security/wso2carbon.jks
[2019-02-06 14:06:41,007] INFO - ClientConnFactoryBuilder HTTPS Loading Trust Keystore from : repository/resources/security/client-truststore.jks
[2019-02-06 14:06:41,010] INFO - PassThroughHttpSSLSender Pass-through HTTPS Sender started...
[2019-02-06 14:06:41,060] INFO - JMSConnectionFactory JMS ConnectionFactory : myTopicConnectionFactory initialized
[2019-02-06 14:06:41,061] INFO - JMSConnectionFactory JMS ConnectionFactory : default initialized
[2019-02-06 14:06:41,062] INFO - JMSConnectionFactory JMS ConnectionFactory : myQueueConnectionFactory initialized
[2019-02-06 14:06:41,062] INFO - JMSListener JMS Transport Receiver/Listener initialized...
[2019-02-06 14:06:41,063] INFO - PassThroughHttpListener Initializing Pass-through HTTP/S Listener...
[2019-02-06 14:06:41,095] INFO - PassThroughHttpSSLListener Initializing Pass-through HTTP/S Listener...
[2019-02-06 14:06:41,175] INFO - ModuleDeployer Deploying module: addressing-1.6.1-wso2v14 - file:/mnt/wso2esb-4.9.0/wso2esb-4.9.0/repository/deployment/client/modules/addressing-1.6.1-wso2v14.mar
[2019-02-06 14:06:41,178] INFO - ModuleDeployer Deploying module: rampart-1.6.1-wso2v12 - file:/mnt/wso2esb-4.9.0/wso2esb-4.9.0/repository/deployment/client/modules/rampart-1.6.1-wso2v12.mar
[2019-02-06 14:06:42,074] WARN - DefaultSchemaGenerator We don't support method overloading. Ignoring [validateAudienceRestriction]
[2019-02-06 14:06:42,356] INFO - DeploymentEngine Deploying Web service: org.wso2.carbon.message.processor-4.4.10 -
[2019-02-06 14:06:42,366] INFO - DeploymentEngine Deploying Web service: org.wso2.carbon.message.store-4.4.10 -
[2019-02-06 14:06:42,961] INFO - DeploymentInterceptor Deploying Axis2 service: wso2carbon-sts {super-tenant}
[2019-02-06 14:06:42,983] INFO - DeploymentEngine Deploying Web service: org.wso2.carbon.sts-4.5.6 -
[2019-02-06 14:06:43,089] INFO - DeploymentEngine Deploying Web service: org.wso2.carbon.tryit-4.4.7 -
[2019-02-06 14:06:43,308] INFO - CarbonServerManager Repository : /mnt/wso2esb-4.9.0/wso2esb-4.9.0/repository/deployment/server/
[2019-02-06 14:06:43,442] INFO - TenantLoadingConfig Using tenant lazy loading policy...
[2019-02-06 14:06:43,453] INFO - PermissionUpdater Permission cache updated for tenant -1234
[2019-02-06 14:06:43,511] INFO - RuleEngineConfigDS Successfully registered the Rule Config service
[2019-02-06 14:06:43,550] INFO - ServiceBusInitializer Starting ESB...
[2019-02-06 14:06:43,564] INFO - ServiceBusInitializer Initializing Apache Synapse...
[2019-02-06 14:06:43,571] INFO - SynapseControllerFactory Using Synapse home : /mnt/wso2esb-4.9.0/wso2esb-4.9.0/.
[2019-02-06 14:06:43,573] INFO - SynapseControllerFactory Using synapse.xml location : /mnt/wso2esb-4.9.0/wso2esb-4.9.0/././repository/deployment/server/synapse-configs/default
[2019-02-06 14:06:43,573] INFO - SynapseControllerFactory Using server name : localhost
[2019-02-06 14:06:43,580] INFO - SynapseControllerFactory The timeout handler will run every : 15s
[2019-02-06 14:06:43,594] INFO - Axis2SynapseController Initializing Synapse at : Wed Feb 06 14:06:43 GMT 2019
[2019-02-06 14:06:43,605] INFO - CarbonSynapseController Loading the mediation configuration from the file system
[2019-02-06 14:06:43,608] INFO - MultiXMLConfigurationBuilder Building synapse configuration from the synapse artifact repository at : ././repository/deployment/server/synapse-configs/default
[2019-02-06 14:06:43,613] INFO - XMLConfigurationBuilder Generating the Synapse configuration model by parsing the XML configuration
[2019-02-06 14:06:43,735] INFO - MessageStoreFactory Successfully added Message Store configuration of : [JMSMS].
[2019-02-06 14:06:43,737] INFO - MessageStoreFactory Successfully added Message Store configuration of : [WSO2MS].
[2019-02-06 14:06:43,752] INFO - SynapseConfigurationBuilder Loaded Synapse configuration from the artifact repository at : ././repository/deployment/server/synapse-configs/default
[2019-02-06 14:06:43,756] INFO - Axis2SynapseController Loading mediator extensions...
[2019-02-06 14:06:43,764] INFO - DeploymentInterceptor Deploying Axis2 service: echo {super-tenant}
[2019-02-06 14:06:43,765] INFO - DeploymentEngine Deploying Web service: Echo.aar - file:/mnt/wso2esb-4.9.0/wso2esb-4.9.0/repository/deployment/server/axis2services/Echo.aar
[2019-02-06 14:06:43,774] INFO - DeploymentInterceptor Deploying Axis2 service: Version {super-tenant}
[2019-02-06 14:06:43,775] INFO - DeploymentEngine Deploying Web service: Version.aar - file:/mnt/wso2esb-4.9.0/wso2esb-4.9.0/repository/deployment/server/axis2services/Version.aar
[2019-02-06 14:06:43,775] INFO - Axis2SynapseController Deploying the Synapse service...
[2019-02-06 14:06:43,777] INFO - Axis2SynapseController Deploying Proxy services...
[2019-02-06 14:06:56,493] INFO - JMXServerManager JMX Service URL : service:jmx:rmi://localhost:11111/jndi/rmi://localhost:9999/jmxrmi
[2019-02-06 14:06:56,500] INFO - StartupFinalizerServiceComponent Server : WSO2 Enterprise Service Bus-4.9.0
[2019-02-06 14:06:56,502] INFO - StartupFinalizerServiceComponent WSO2 Carbon started in 33 sec
[2019-02-06 14:06:56,729] INFO - CarbonUIServiceComponent Mgt Console URL : https://[REDACTED]:9443/carbon/
[2019-02-06 14:06:57,206] ERROR - JMSConnectionFactory JMS Exception while creating connection through factory 'QueueConnectionFactory' Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.ConnectException: Connection refused (Connection refused)
[2019-02-06 14:06:57,207] WARN - JMSPollingConsumer Inbound JMS endpoint unable to get a connection.
The following error occurred due to your inbound endpoint trying to connect to the ActiveMQ. The default port of the ActiveMQ is 61616.
[2019-02-06 14:06:57,206] ERROR - JMSConnectionFactory JMS Exception while creating connection through factory 'QueueConnectionFactory' Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.ConnectException: Connection refused (Connection refused)
[2019-02-06 14:06:57,207] WARN - JMSPollingConsumer Inbound JMS endpoint unable to get a connection.
I am not sure how it got changed after server updates. Anyway, you should be able to change the inbound endpoint configuration to work with the WSO2 MB 3.1.0 going through the following documentation [1].
The following error coming because of root doesn't have access to the JAVA_HOME. I mean the environment variable you have set as JAVA_HOME is not visible to the root user.
Error: JAVA_HOME is not defined correctly. CARBON cannot execute java
Hope above information will help to resolve the issue.
[1] https://docs.wso2.com/display/ESB490/Configuring+the+JMS+Inbound+Protocol+with+WSO2+Message+Broker
Cheers!
In order to setup analytical server for API-Manager,i followed exactly same steps as specified in below wso2 documentation.
https://docs.wso2.com/display/AM220/Configuring+APIM+Analytics.
However i am facing below issues while running the API-M And API-Analytic instance.
WSO2 API-M:
[2018-05-08 02:52:05,378] ERROR - DataEndpointConnectionWorker Error while trying to connect to the endpoint. Cannot borrow client
for ssl://localhost:7712
org.wso2.carbon.databridge.agent.exception.DataEndpointAuthenticationException:
Cannot borrow client for ssl://localhost:7712
at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.connect(DataEndpointConnectionWorker.java:99)
at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.run(DataEndpointConnectionWorker.java:42)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
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:724) Caused by: org.wso2.carbon.databridge.agent.exception.DataEndpointSecurityException:
Error while trying to connect to ssl://localhost:7712
at org.wso2.carbon.databridge.agent.endpoint.thrift.ThriftSecureClientPoolFactory.createClient(ThriftSecureClientPoolFactory.java:81)
at org.wso2.carbon.databridge.agent.client.AbstractClientPoolFactory.makeObject(AbstractClientPoolFactory.java:39)
at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1212)
at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.connect(DataEndpointConnectionWorker.java:91)
... 7 more Caused by: org.apache.thrift.transport.TTransportException: Could not connect to
localhost on port 7712
at org.apache.thrift.transport.TSSLTransportFactory.createClient(TSSLTransportFactory.java:237)
at org.apache.thrift.transport.TSSLTransportFactory.getClientSocket(TSSLTransportFactory.java:169)
at org.wso2.carbon.databridge.agent.endpoint.thrift.ThriftSecureClientPoolFactory.createClient(ThriftSecureClientPoolFactory.java:63)
... 10 more Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
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.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
at sun.security.ssl.SSLSocketImpl.(SSLSocketImpl.java:407)
at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:88)
at org.apache.thrift.transport.TSSLTransportFactory.createClient(TSSLTransportFactory.java:233)
... 12 more [2018-05-08 02:52:34,371] WARN - DataEndpointGroup No receiver is reachable at reconnection, will try
to reconnect every 30 sec [2018-05-08 02:52:35,378] ERROR -
DataEndpointConnectionWorker Error while trying to connect to
ssl://localhost:7712
org.wso2.carbon.databridge.agent.exception.DataEndpointSecurityException:
Error while trying to connect to ssl://localhost:7712
at org.wso2.carbon.databridge.agent.endpoint.thrift.ThriftSecureClientPoolFactory.createClient(ThriftSecureClientPoolFactory.java:81)
at org.wso2.carbon.databridge.agent.client.AbstractClientPoolFactory.makeObject(AbstractClientPoolFactory.java:39)
at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1212)
WSO2 API-Analytic:
JAVA_HOME environment variable is set to C:\Program Files\Java\jdk1.7.0_25 CARBON_HOME environment variable is set to
C:\WSO2AM~4\WSO2AM~1\bin.. Loading spark environment variables
[2018-05-08 02:36:02,932] INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} - Starting WSO2
Carbon... [2018-05-08 02:36:02,936] INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} - Operating
System : Windows Server 2008 R2 6.1, amd64 [2018-05-08 02:36:02,936]
INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Home
: C:\Program Files\Java\jdk1.7.0_25\jre [2018-05-08 02:36:02,936]
INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java
Version : 1.7.0_25 [2018-05-08 02:36:02,937] INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM
: Java HotSpot(TM) 64-Bit Server VM 23.25-b01,Oracle Corporation
[2018-05-08 02:36:02,937] INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} - Carbon Home
: C:\WSO2AM~4\WSO2AM~1\bin.. [2018-05-08 02:36:02,937] INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Temp Dir
: C:\WSO2AM~4\WSO2AM~1\bin..\tmp [2018-05-08 02:36:02,937] INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} - User
: wsoadm_dev_svc, en-US, America/Los_Angeles [2018-05-08 02:36:03,570]
INFO
{org.wso2.carbon.event.output.adapter.kafka.internal.ds.KafkaEventAdapterServiceDS}
- Successfully deployed the Kafka output event adapto [2018-05-08 02:36:03,887] INFO
{org.wso2.carbon.event.template.manager.core.internal.ds.TemplateDeployerServiceTrackerDS}
- Successfully deployed the execution manager [2018-05-08 02:36:15,048] INFO
{org.wso2.carbon.databridge.receiver.binary.internal.BinaryDataReceiver}
- Started Binary SSL Transport on port : 9712 [2018-05-08 02:36:15,050] INFO
{org.wso2.carbon.databridge.receiver.binary.internal.BinaryDataReceiver}
- Started Binary TCP Transport on port : 9612 [2018-05-08 02:36:15,207] INFO
{org.wso2.carbon.databridge.core.internal.DataBridgeDS} -
Successfully deployed Agent Server [2018-05-08 02:36:15,388] INFO
{org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} -
Configured Registry in 64ms [2018-05-08 02:36:15,912] INFO
{org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent}
- Registry Mode : READ-WRITE [2018-05-08 02:36:22,854] INFO {org.wso2.carbon.metrics.impl.util.JmxReporterBuilder} - Creating JMX
reporter for Metrics with domain 'org.wso2.carbon.metrics' [2018-05-08
02:36:22,861] INFO
{org.wso2.carbon.metrics.impl.util.JDBCReporterBuilder} - Creating
JDBC reporter for Metrics with source 'SOADEVV001', data source 'jdbc/
[2018-05-08 02:36:22,862] INFO
{org.wso2.carbon.metrics.impl.reporter.AbstractReporter} - Started
JMX reporter for Metrics [2018-05-08 02:36:22,870] INFO
{org.wso2.carbon.metrics.impl.reporter.AbstractReporter} - Started
JDBC reporter for Metrics [2018-05-08 02:36:26,352] INFO
{org.wso2.carbon.registry.indexing.solr.SolrClient} - Default
Embedded Solr Server Initialized [2018-05-08 02:36:27,524] INFO
{org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} - Carbon
UserStoreMgtDSComponent activated successfully.
[2018-05-08 02:37:32,134] WARN {org.wso2.carbon.core.init.CarbonServerManager} - Carbon
initialization is delayed due to the following unsatisfied items:
[2018-05-08 02:37:32,498] WARN
{org.wso2.carbon.core.init.CarbonServerManager} - Waiting for
required OSGi Service: org.apache.axis2.engine.AxisObserver
[2018-05-08 02:38:32,135] WARN
{org.wso2.carbon.core.init.CarbonServerManager} - Carbon
initialization is delayed due to the following unsatisfied items:
Note:I am using same Machine for both API-M and API API-Analytic instance.
For APIM Offset is set to 0 and for API-Analytic it is 1.
I am using default H2 DB for for both.
Any help would be appreciated.
I am deploying WSO2 API Manager 2.1 and Analytics using the Pattern as specified - https://github.com/wso2/docker-apim/tree/master/docker-compose/pattern-3
Here in all the components - nginx, Publisher, Store, Traffic Manager, Gateway Worker, Gateway Manager, Key Manager and Analytics are deployed as separate docker containers.
When I started these containers, it worked fine and by default it was using the mysql server for storing all the data.
But as per our requirement, we had to use the Oracle DB and hence, we created a user in there with all the required permissions and then run the oracle scripts and finally started all the containers one by one.
In addition for Analytics, we created two separate users for two data sources - WSO2_ANALYTICS_EVENT_STORE_DB and WSO2_ANALYTICS_PROCESSED_DATA_STORE_DB (Didnt run any scripts for these).
And now we have a problem with the Analytics COntainer not able to start and throwing the error -
[2017-07-11 12:53:54,017] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Starting WSO2 Carbon...
[2017-07-11 12:53:54,017] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Operating System : Linux 4.8.0-53-generic, amd64
[2017-07-11 12:53:54,017] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Home : /mnt/jdk-7u80/jre
[2017-07-11 12:53:54,017] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Version : 1.7.0_80
[2017-07-11 12:53:54,017] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM : Java HotSpot(TM) 64-Bit Server VM 24.80-b11,Oracle Corporation
[2017-07-11 12:53:54,018] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Carbon Home : /mnt/186.12.12.12/wso2am-analytics-2.1.0
[2017-07-11 12:53:54,018] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Temp Dir : /mnt/186.12.12.12/wso2am-analytics-2.1.0/tmp
[2017-07-11 12:53:54,018] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - User : root, en-US, GMT
[2017-07-11 12:54:34,104] INFO {org.wso2.carbon.core.internal.permission.update.PermissionUpdater} - Permission cache updated for tenant -1234
[2017-07-11 12:54:34,235] INFO {org.wso2.carbon.core.transports.http.HttpsTransportListener} - HTTPS port : 9444
[2017-07-11 12:54:34,235] INFO {org.wso2.carbon.core.transports.http.HttpTransportListener} - HTTP port : 9764
[2017-07-11 12:54:36,547] INFO {org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer} - Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/analytics].File[/mnt/186.12.12.12/wso2am-analytics-2.1.0/repository/deployment/server/webapps/analytics.war]
[2017-07-11 12:54:36,593] INFO {org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer} - Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/inputwebsocket].File[/mnt/186.12.12.12/wso2am-analytics-2.1.0/repository/deployment/server/webapps/inputwebsocket.war]
[2017-07-11 12:54:36,622] INFO {org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer} - Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/outputwebsocket].File[/mnt/186.12.12.12/wso2am-analytics-2.1.0/repository/deployment/server/webapps/outputwebsocket.war]
[
[2017-07-11 12:54:43,116] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution plan deployment held back and in inactive state : APIMAnalytics-RequestSummarizer-RequestSummarizer-realtime1.siddhiql, Dependency validation exception: Stream org.wso2.apimgt.statistics.requestsPerMinPerKeyStream:1.0.0 does not exist
[2017-07-11 12:54:43,186] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution plan deployment held back and in inactive state : APIMAnalytics-UnusualIPAccessTemplate-UnusualIPAccessAlert-realtime1.siddhiql, Dependency validation exception: Stream org.wso2.apimgt.statistics.perMinuteRequest:1.0.0 does not exist
[2017-07-11 12:54:43,218] INFO {org.wso2.carbon.databridge.receiver.thrift.ThriftDataReceiver} - Thrift Server started at 0.0.0.0
[2017-07-11 12:54:43,246] INFO {org.wso2.carbon.databridge.receiver.thrift.ThriftDataReceiver} - Thrift SSL port : 7712
[2017-07-11 12:54:43,253] INFO {org.wso2.carbon.databridge.receiver.thrift.ThriftDataReceiver} - Thrift port : 7612
[2017-07-11 12:54:43,277] INFO {org.apache.tomcat.util.net.NioSelectorPool} - Using a shared selector for servlet write/read
[2017-07-11 12:54:43,355] INFO {org.apache.tomcat.util.net.NioSelectorPool} - Using a shared selector for servlet write/read
[2017-07-11 12:54:43,408] INFO {org.wso2.carbon.ntask.core.service.impl.TaskServiceImpl} - Task service starting in STANDALONE mode...
[2017-07-11 12:54:44,030] ERROR {org.wso2.carbon.analytics.dataservice.core.AnalyticsDataServiceComponent} - Error in activating analytics data service: null
java.lang.RuntimeException
at org.wso2.carbon.analytics.datasource.rdbms.RDBMSAnalyticsRecordStore$RDBMSResultSetIterator.next(RDBMSAnalyticsRecordStore.java:881)
at org.wso2.carbon.analytics.datasource.rdbms.RDBMSAnalyticsRecordStore$RDBMSResultSetIterator.hasNext(RDBMSAnalyticsRecordStore.java:843)
at org.apache.commons.collections.IteratorUtils.toList(IteratorUtils.java:848)
at org.apache.commons.collections.IteratorUtils.toList(IteratorUtils.java:825)
at org.wso2.carbon.analytics.datasource.core.util.GenericUtils.listRecords(GenericUtils.java:284)
[2017-07-11 12:54:55,566] INFO {org.wso2.carbon.databridge.core.DataBridge} - user admin connected
[2017-07-11 12:55:05,564] ERROR {org.wso2.carbon.databridge.core.internal.queue.QueueWorker} - Dropping wrongly formatted event sent for -1234
org.wso2.carbon.databridge.core.exception.EventConversionException: Error when converting loganalyzer:1.0.0 of event bundle with events 1
at org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.createEventList(ThriftEventConverter.java:181)
at org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.toEventList(ThriftEventConverter.java:90)
at org.wso2.carbon.databridge.core.internal.queue.QueueWorker.run(QueueWorker.java:73)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
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.carbon.databridge.core.exception.EventConversionException: No StreamDefinition for streamId loganalyzer:1.0.0 present in cache
Can someone please let me know how to resolve this issue.
You can get the newer version of jar from http://maven.wso2.org/nexus/content/groups/public/org/wso2/carbon/analytics/org.wso2.carbon.analytics.datasource.rdbms/
We already have WSO2 ESB 4.6 in production so I'm using ESB 4.6.0 and ELB 2.0.3.
Following the instructions at https://docs.wso2.com/pages/viewpage.action?pageId=26839403 I seem to have successfully installed the ELB. I tried setting up the ESB from scratch (as opposed to using our production instance or config) and started it up, but it isn't joining the cluster, and I'm unable to access the management console at https://mgt.esb.cloud-test.wso2.com:8243/carbon . (In order to keep everything according to the installing instructions, I added elb.wso2.com, mgt.esb.cloud-test-wso2.com, and esb.cloud-test.wso2.com to /etc/hosts as . . .
127.0.0.1 localhost localhost.localdomain elb.wso2.com mgt.esb.cloud-test.wso2.com esb.cloud-test.wso2.com
I haven't installed the ESB worker node yet, but that, the ESB management node, and the ELB will be on the same host for now. I enabled the port offset for the management node.
I confirmed the hostnames and port numbers are correct in the ELB and ESB configurations.
This is the log from starting the ESB management node:
JAVA_HOME environment variable is set to /usr/java/jre1.7.0_17
CARBON_HOME environment variable is set to /opt/app/wso2esb-4.6.0-manager
[2014-12-09 13:37:13,474] INFO - CarbonCoreActivator Starting WSO2 Carbon...
[2014-12-09 13:37:13,476] INFO - CarbonCoreActivator Operating System : Linux 2.6.18-194.el5, amd64
[2014-12-09 13:37:13,476] INFO - CarbonCoreActivator Java Home : /usr/java/jre1.7.0_17
[2014-12-09 13:37:13,476] INFO - CarbonCoreActivator Java Version : 1.7.0_17
[2014-12-09 13:37:13,477] INFO - CarbonCoreActivator Java VM : Java HotSpot(TM) 64-Bit Server VM 23.7-b01,Oracle Corporation
[2014-12-09 13:37:13,477] INFO - CarbonCoreActivator Carbon Home : /opt/app/wso2esb-4.6.0-manager
[2014-12-09 13:37:13,477] INFO - CarbonCoreActivator Java Temp Dir : /opt/app/wso2esb-4.6.0-manager/tmp
[2014-12-09 13:37:13,477] INFO - CarbonCoreActivator User : clowndrugs, en-US, America/Chicago
[2014-12-09 13:37:13,505] WARN - ValidationResultPrinter Open files limit :1024 of the system is below the recommended minimum count :4096
[2014-12-09 13:37:13,522] INFO - AgentHolder Agent created !
[2014-12-09 13:37:13,543] INFO - AgentDS Successfully deployed Agent Client
[2014-12-09 13:37:16,158] INFO - EmbeddedRegistryService Configured Registry in 40ms
[2014-12-09 13:37:16,260] INFO - RegistryCoreServiceComponent Registry Mode : READ-WRITE
[2014-12-09 13:37:17,612] INFO - ClusterBuilder Clustering has been enabled
[2014-12-09 13:37:17,625] INFO - ClusterBuilder Running in application mode
[2014-12-09 13:37:17,626] INFO - ClusterBuilder Clustering configuration management has been enabled
[2014-12-09 13:37:17,627] INFO - ClusterBuilder Clustering state management has been disabled
[2014-12-09 13:37:17,954] INFO - LandingPageWebappDeployer Deployed product landing page webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/home]
[2014-12-09 13:37:18,049] INFO - DeploymentInterceptor Deploying Axis2 service: echo {super-tenant}
[2014-12-09 13:37:18,237] INFO - DeploymentEngine Deploying Web service: Echo.aar - file:/opt/app/wso2esb-4.6.0-manager/repository/deployment/server/axis2services/Echo.aar
[2014-12-09 13:37:18,324] INFO - DeploymentInterceptor Deploying Axis2 service: Version {super-tenant}
[2014-12-09 13:37:18,344] INFO - DeploymentEngine Deploying Web service: Version.aar - file:/opt/app/wso2esb-4.6.0-manager/repository/deployment/server/axis2services/Version.aar
[2014-12-09 13:37:18,607] INFO - DeploymentInterceptor Deploying Axis2 service: echo {super-tenant}
[2014-12-09 13:37:18,700] INFO - DeploymentInterceptor Deploying Axis2 service: Version {super-tenant}
[2014-12-09 13:37:18,795] INFO - ModuleDeployer Deploying module: rampart-1.6.1-wso2v8 - file:/opt/app/wso2esb-4.6.0-manager/repository/deployment/client/modules/rampart-1.6.1-wso2v8.mar
[2014-12-09 13:37:18,798] INFO - ModuleDeployer Deploying module: addressing-1.6.1-wso2v7 - file:/opt/app/wso2esb-4.6.0-manager/repository/deployment/client/modules/addressing-1.6.1-wso2v7.mar
[2014-12-09 13:37:18,803] INFO - TCPTransportSender TCP Sender started
[2014-12-09 13:37:19,992] INFO - DeploymentEngine Deploying Web service: org.wso2.carbon.message.processor -
[2014-12-09 13:37:20,000] INFO - DeploymentEngine Deploying Web service: org.wso2.carbon.message.store -
[2014-12-09 13:37:21,806] INFO - DeploymentInterceptor Deploying Axis2 service: wso2carbon-sts {super-tenant}
[2014-12-09 13:37:21,959] INFO - DeploymentEngine Deploying Web service: org.wso2.carbon.sts -
[2014-12-09 13:37:22,205] INFO - DeploymentEngine Deploying Web service: org.wso2.carbon.tryit -
[2014-12-09 13:37:22,497] INFO - CarbonServerManager Repository : /opt/app/wso2esb-4.6.0-manager/repository/deployment/server/
[2014-12-09 13:37:22,743] INFO - PermissionUpdater Permission cache updated for tenant -1234
[2014-12-09 13:37:22,815] INFO - ServiceBusInitializer Starting ESB...
[2014-12-09 13:37:22,832] INFO - ServiceBusInitializer Initializing Apache Synapse...
[2014-12-09 13:37:22,836] INFO - SynapseControllerFactory Using Synapse home : /opt/app/wso2esb-4.6.0-manager/.
[2014-12-09 13:37:22,836] INFO - SynapseControllerFactory Using synapse.xml location : /opt/app/wso2esb-4.6.0-manager/././repository/deployment/server/synapse-configs/default
[2014-12-09 13:37:22,836] INFO - SynapseControllerFactory Using server name : localhost
[2014-12-09 13:37:22,839] INFO - SynapseControllerFactory The timeout handler will run every : 15s
[2014-12-09 13:37:22,845] INFO - Axis2SynapseController Initializing Synapse at : Tue Dec 09 13:37:22 CST 2014
[2014-12-09 13:37:22,845] INFO - Axis2SynapseController Loading mediator extensions...
[2014-12-09 13:37:22,848] INFO - CarbonSynapseController Loading the mediation configuration from the file system
[2014-12-09 13:37:22,850] INFO - MultiXMLConfigurationBuilder Building synapse configuration from the synapse artifact repository at : ././repository/deployment/server/synapse-configs/default
[2014-12-09 13:37:22,850] INFO - XMLConfigurationBuilder Generating the Synapse configuration model by parsing the XML configuration
[2014-12-09 13:37:23,075] INFO - SynapseConfigurationBuilder Loaded Synapse configuration from the artifact repository at : ././repository/deployment/server/synapse-configs/default
[2014-12-09 13:37:23,076] INFO - Axis2SynapseController Deploying the Synapse service...
[2014-12-09 13:37:23,078] INFO - Axis2SynapseController Deploying Proxy services...
[2014-12-09 13:37:23,078] INFO - Axis2SynapseController Deploying EventSources...
[2014-12-09 13:37:23,083] INFO - ServerManager Server ready for processing...
[2014-12-09 13:37:23,120] WARN - MediationStatisticsComponent Can't register an observer for mediationStatisticsStore. If you have disabled StatisticsReporter, please enable it in the Carbon.xml
[2014-12-09 13:37:23,177] INFO - RuleEngineConfigDS Successfully registered the Rule Config service
[2014-12-09 13:37:24,407] INFO - HttpsTransportListener HTTPS port : 9444
[2014-12-09 13:37:24,407] INFO - HttpTransportListener HTTP port : 9764
[2014-12-09 13:37:24,408] INFO - TribesClusteringAgent Initializing cluster...
[2014-12-09 13:37:24,423] INFO - TribesClusteringAgent Cluster domain: wso2.esb.domain
[2014-12-09 13:37:24,425] INFO - TribesClusteringAgent Using wka based membership management scheme
[2014-12-09 13:37:24,433] INFO - WkaBasedMembershipScheme Receiver Server Socket bound to:/10.221.90.92:4001
[2014-12-09 13:37:24,535] INFO - WkaBasedMembershipScheme Receiver Server Socket bound to:/10.221.90.92:4001
[2014-12-09 13:37:24,639] INFO - WkaBasedMembershipScheme Could not connect to member 127.0.0.1:4000(wso2.esb.domain)
[2014-12-09 13:37:24,653] INFO - TribesClusteringAgent Local Member 10.221.90.92:4001(wso2.esb.domain)
[2014-12-09 13:37:24,653] INFO - TribesUtil No members in current cluster
[2014-12-09 13:37:24,654] INFO - TribesClusteringAgent Cluster initialization completed.
[2014-12-09 13:37:25,828] INFO - RegistryEventingServiceComponent Successfully Initialized Eventing on Registry
[2014-12-09 13:37:25,943] INFO - JMXServerManager JMX Service URL : service:jmx:rmi://localhost:11112/jndi/rmi://localhost:10000/jmxrmi
[2014-12-09 13:37:25,943] INFO - StartupFinalizerServiceComponent Server : WSO2 Enterprise Service Bus-4.6.0
[2014-12-09 13:37:25,944] INFO - StartupFinalizerServiceComponent WSO2 Carbon started in 17 sec
[2014-12-09 13:37:26,567] INFO - CarbonUIServiceComponent Mgt Console URL : https://mgt.esb.cloud-test.wso2.com:8243/carbon/
The output from the ELB gives lots of these:
[2014-12-09 15:33:44,773] ERROR - TenantAwareLoadBalanceEndpoint No application members available
Is this expected behavior since I have yet set up any services or a worker node? From the instructions, it sounded like I should be able to see the management node's Web console at this point.
try the following changes and see
modify elb.wso2.com in ELB axis2.xml file
modify mgt.esb.cloud-test-wso2.com in ESB axis2.xml file