WSO2 ESB configuration with SAP adapter to send IDoc - wso2

I am trying to configure SAP adapter with WSO2 ESB. I have followed the instructions mentioned on WSO2 website.
https://docs.wso2.com/display/ESB490/SAP+Integration
But when I start the WSO2 ESB, it is giving Exception:
waqasalirazaq#wi3-Inspiron-3521:~/Documents/WSO2/wso2esb-4.8.1/bin$ ./wso2server.sh
JAVA_HOME environment variable is set to /home/waqasalirazaq/jdk1.7.0_51
CARBON_HOME environment variable is set to /home/waqasalirazaq/Documents/WSO2/wso2esb-4.8.1
[2014-11-03 16:49:39,599] INFO - CarbonCoreActivator Starting WSO2 Carbon...
[2014-11-03 16:49:39,603] INFO - CarbonCoreActivator Operating System : Linux 3.2.0-68-generic, amd64
[2014-11-03 16:49:39,604] INFO - CarbonCoreActivator Java Home : /home/waqasalirazaq/jdk1.7.0_51/jre
[2014-11-03 16:49:39,604] INFO - CarbonCoreActivator Java Version : 1.7.0_51
[2014-11-03 16:49:39,604] INFO - CarbonCoreActivator Java VM : Java HotSpot(TM) 64-Bit Server VM 24.51-b03,Oracle Corporation
[2014-11-03 16:49:39,604] INFO - CarbonCoreActivator Carbon Home : /home/waqasalirazaq/Documents/WSO2/wso2esb-4.8.1
[2014-11-03 16:49:39,604] INFO - CarbonCoreActivator Java Temp Dir : /home/waqasalirazaq/Documents/WSO2/wso2esb-4.8.1/tmp
[2014-11-03 16:49:39,605] INFO - CarbonCoreActivator User : waqasalirazaq, en-US, Asia/Karachi
[2014-11-03 16:49:39,702] WARN - ValidationResultPrinter The default keystore (wso2carbon.jks) is currently being used. To maximize security when deploying to a production environment, configure a new keystore with a unique password in the production server profile.
[2014-11-03 16:49:39,714] INFO - AgentHolder Agent created !
[2014-11-03 16:49:39,745] INFO - AgentDS Successfully deployed Agent Client
[2014-11-03 16:49:44,606] INFO - EmbeddedRegistryService Configured Registry in 116ms
[2014-11-03 16:49:44,786] INFO - RegistryCoreServiceComponent Registry Mode : READ-WRITE
[2014-11-03 16:49:45,440] INFO - UserStoreMgtDSComponent Carbon UserStoreMgtDSComponent activated successfully.
[2014-11-03 16:49:52,275] INFO - TaglibUriRule TLD skipped. URI: http://tiles.apache.org/tags-tiles is already defined
[2014-11-03 16:49:53,700] INFO - ClusterBuilder Clustering has been disabled
[2014-11-03 16:49:54,223] INFO - LandingPageWebappDeployer Deployed product landing page webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/home]
[2014-11-03 16:49:54,224] INFO - UserStoreConfigurationDeployer User Store Configuration Deployer initiated.
[2014-11-03 16:49:54,310] INFO - PassThroughHttpSSLSender Initializing Pass-through HTTP/S Sender...
[2014-11-03 16:49:54,343] INFO - ClientConnFactoryBuilder HTTPS Loading Identity Keystore from : repository/resources/security/wso2carbon.jks
[2014-11-03 16:49:54,352] INFO - ClientConnFactoryBuilder HTTPS Loading Trust Keystore from : repository/resources/security/client-truststore.jks
[2014-11-03 16:49:54,406] INFO - PassThroughHttpSSLSender Pass-through HTTPS Sender started...
[2014-11-03 16:49:54,407] INFO - PassThroughHttpSender Initializing Pass-through HTTP/S Sender...
[2014-11-03 16:49:54,412] INFO - PassThroughHttpSender Pass-through HTTP Sender started...
[2014-11-03 16:49:54,416] INFO - JMSSender JMS Sender started
[2014-11-03 16:49:54,418] INFO - JMSSender JMS Transport Sender initialized...
[2014-11-03 16:49:54,419] INFO - SAPTransportSender BAPI Sender started
[2014-11-03 16:49:54,422] FATAL - CarbonServerManager WSO2 Carbon initialization Failed
java.lang.NoSuchMethodError: com.sap.conn.jco.ext.Environment.isServerDataProviderRegistered()Z
at org.wso2.carbon.transports.sap.SAPTransportSender.init(SAPTransportSender.java:84)
at org.apache.axis2.context.ConfigurationContextFactory.initTransportSenders(ConfigurationContextFactory.java:300)
at org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.java:231)
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:93)
at org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398)
at org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
at org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
at org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1267)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1186)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1081)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
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:744)

I have resolve this issue by placing the Jars (sapjco3.jar & sapidoc3.jar) in /repository/component/lib and JCO native library (sapjco3.so) in /jre/lib/amd64

Related

WSO2 ESB (4.9.0) / MB (3.1.0) - Could not connect to broker (Connection refused)

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!

WSO2 APIM Analytics server setup issue

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.

WSO2 sh wso2server.sh -Dmigrate -Dcomponent=identity is not running the migration scripts

I am migrating WSO2 Idenitity server as per https://docs.wso2.com/display/IS530/Upgrading+from+a+Previous+Release
I copied the scripts to wso2is-km-5.3.0/dbscripts/identity/migration-5.2.0_to_5.3.0 folder.
But after running sh wso2server.sh -Dmigrate -Dcomponent=identity , it doesnt look like its running the scripts.None of the new tables are getting created.
Any clue?
[ec2-user#ip-171-30-1-7 bin]$ sh wso2server.sh -Dmigrate -Dcomponent=identity
JAVA_HOME environment variable is set to /usr/lib/jvm/jdk1.8.0_121
CARBON_HOME environment variable is set to /home/ec2-user/wso2qa2/wso2is/wso2is- km-5.3.0
Using Java memory options: -Xms256m -Xmx1024m
[2018-05-06 14:01:25,761] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Starting WSO2 Carbon...
[2018-05-06 14:01:25,761] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Operating System : Linux 4.14.33-51.34.amzn1.x86_64, amd64
[2018-05-06 14:01:25,762] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Home : /usr/lib/jvm/jdk1.8.0_121/jre
[2018-05-06 14:01:25,762] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Version : 1.8.0_121
[2018-05-06 14:01:25,762] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM : Java HotSpot(TM) 64-Bit Server VM 25.121-b13,Oracle Corporation
[2018-05-06 14:01:25,762] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Carbon Home : /home/ec2-user/wso2qa2/wso2is/wso2is-km-5.3.0
[2018-05-06 14:01:25,762] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Temp Dir : /home/ec2-user/wso2qa2/wso2is/wso2is-km-5.3.0/tmp
[2018-05-06 14:01:25,762] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - User : ec2-user, en-US, Etc/UTC
[2018-05-06 14:01:25,850] WARN {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} - Swap Memory size (MB): 0 of the system is below the recommended minimum size :2047
[2018-05-06 14:01:25,907] INFO {org.wso2.carbon.event.output.adapter.kafka.internal.ds.KafkaEventAdapterServiceDS} - Successfully deployed the Kafka output event adaptor service
[2018-05-06 14:01:25,948] INFO {org.wso2.carbon.event.processor.manager.core.internal.util.ManagementModeConfigurationLoader} - CEP started in Single node mode
[2018-05-06 14:01:26,336] INFO {org.wso2.carbon.ldap.server.configuration.LDAPConfigurationBuilder} - KDC server is disabled.
[2018-05-06 14:01:27,866] INFO {org.wso2.carbon.mex.internal.Office365SupportMexComponent} - Office365Support MexServiceComponent bundle activated successfully..
[2018-05-06 14:01:27,871] INFO {org.wso2.carbon.mex2.internal.DynamicCRMCustomMexComponent} - DynamicCRMSupport MexServiceComponent bundle activated successfully.
[2018-05-06 14:01:28,432] WARN {org.wso2.carbon.user.core.config.RealmConfigXMLProcessor} - Required property DomainName missing in secondary user store. Skip adding the user store.
[2018-05-06 14:01:35,934] INFO {org.apache.catalina.startup.TaglibUriRule} - TLD skipped. URI: http://tiles.apache.org/tags-tiles is already defined
[2018-05-06 14:01:36,144] INFO {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} - Configured Registry in 50ms
[2018-05-06 14:01:36,161] INFO {org.wso2.carbon.identity.authenticator.x509Certificate.internal.X509CertificateServiceComponent} - X509 Certificate Servlet activated successfully..
[2018-05-06 14:01:36,266] INFO {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} - Connected to mount at govregistry in 71ms
[2018-05-06 14:01:41,083] INFO {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} - Connected to mount at govregistry in 142ms
[2018-05-06 14:01:42,155] INFO {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} - Registry Mode : READ-WRITE
[2018-05-06 14:01:42,594] INFO {org.wso2.carbon.attachment.mgt.server.internal.AttachmentServiceComponent} - Initialising Attachment Server
[2018-05-06 14:01:42,800] INFO {org.wso2.carbon.attachment.mgt.core.dao.impl.jpa.AbstractJPAVendorAdapter} - [Attachment-Mgt OpenJPA] DB Dictionary: h2
[2018-05-06 14:01:42,800] INFO {org.wso2.carbon.attachment.mgt.core.dao.impl.jpa.AbstractJPAVendorAdapter} - [Attachment-Mgt OpenJPA] Generate DDL Enabled.
[2018-05-06 14:01:43,262] INFO {org.wso2.carbon.attachment.mgt.server.internal.AttachmentServiceComponent} - Registering AttachmentServerService
[2018-05-06 14:01:43,269] INFO {org.wso2.carbon.bpel.core.internal.BPELServiceComponent} - Initializing BPEL Engine........
[2018-05-06 14:01:43,299] INFO {org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - Using DAO Connection Factory class: org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl
[2018-05-06 14:01:43,407] INFO {org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - Registering E4X Extension...
[2018-05-06 14:01:43,409] INFO {org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - Registering B4P Extension...
[2018-05-06 14:01:43,411] INFO {org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - Registering B4P Filter...
[2018-05-06 14:01:43,415] INFO {org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - Registering MBeans
[2018-05-06 14:01:43,439] INFO {org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent} - Initialising HumanTask Server
[2018-05-06 14:01:43,459] INFO {org.wso2.carbon.humantask.core.dao.jpa.AbstractJPAVendorAdapter} - [HT OpenJPA] DB Dictionary: h2
[2018-05-06 14:01:43,460] INFO {org.wso2.carbon.humantask.core.dao.jpa.AbstractJPAVendorAdapter} - [HT OpenJPA] Generate DDL Enabled.
[2018-05-06 14:01:43,479] INFO {org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent} - Registering Axis2ConfigurationContextObserver
[2018-05-06 14:01:43,483] INFO {org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent} - Registering HT related MBeans
[2018-05-06 14:01:43,487] INFO {org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent} - MXBean for Human tasks registered successfully
[2018-05-06 14:01:43,547] INFO {org.wso2.carbon.metrics.impl.util.JmxReporterBuilder} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2018-05-06 14:01:43,550] INFO {org.wso2.carbon.metrics.impl.util.JDBCReporterBuilder} - Creating JDBC reporter for Metrics with source 'ip-172-31-2-70.us-east-2.compute.internal', data source 'jdbc/WSO2MetricsDB' and 60 seconds polling period
[2018-05-06 14:01:43,555] INFO {org.wso2.carbon.metrics.impl.reporter.AbstractReporter} - Started JDBC reporter for Metrics
[2018-05-06 14:01:43,555] INFO {org.wso2.carbon.metrics.impl.reporter.AbstractReporter} - Started JMX reporter for Metrics
[2018-05-06 14:01:44,587] INFO {org.wso2.carbon.registry.indexing.solr.SolrClient} - Default Embedded Solr Server Initialized
[2018-05-06 14:01:49,723] INFO {org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} - Carbon UserStoreMgtDSComponent activated successfully.
[2018-05-06 14:02:02,926] INFO {org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer} - User Store Configuration Deployer initiated.
[2018-05-06 14:02:02,927] INFO {org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer} - User Store Configuration Deployer initiated.
[2018-05-06 14:02:02,932] INFO {org.wso2.carbon.bpel.deployer.BPELDeployer} - Initializing BPEL Deployer for tenant -1234.
[2018-05-06 14:02:02,939] INFO {org.wso2.carbon.humantask.deployer.HumanTaskDeployer} - Initializing HumanTask Deployer for tenant -1234.
[2018-05-06 14:02:07,269] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: I18nEmailMgtConfigService {super-tenant}
[2018-05-06 14:02:09,128] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: AccountCredentialMgtConfigService {super-tenant}
[2018-05-06 14:02:09,533] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: UserIdentityManagementAdminService {super-tenant}
[2018-05-06 14:02:09,938] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: UserInformationRecoveryService {super-tenant}
[2018-05-06 14:02:10,521] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: SAMLQueryService {super-tenant}
[2018-05-06 14:02:11,490] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: mex-ut {super-tenant}
[2018-05-06 14:02:11,897] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: mex-ut2 {super-tenant}
[2018-05-06 14:02:12,535] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: wso2carbon-sts {super-tenant}
[2018-05-06 14:02:15,136] INFO {org.wso2.carbon.core.init.CarbonServerManager} - Repository : /home/ec2-user/wso2qa2/wso2is/wso2is-km-5.3.0/repository/deployment/server/
[2018-05-06 14:02:15,152] INFO {org.wso2.carbon.apimgt.impl.internal.APIManagerComponent} - No RXTs Found.
[2018-05-06 14:02:15,153] INFO {org.wso2.carbon.apimgt.impl.internal.APIManagerComponent} - Default tier policies not found in : /home/ec2-user/wso2qa2/wso2is/wso2is-km-5.3.0/repository/resources/default-tiers/default-tiers.xml
[2018-05-06 14:02:15,153] INFO {org.wso2.carbon.apimgt.impl.internal.APIManagerComponent} - Default tier policies not found in : /home/ec2-user/wso2qa2/wso2is/wso2is-km-5.3.0/repository/resources/default-tiers/default-app-tiers.xml
[2018-05-06 14:02:15,153] INFO {org.wso2.carbon.apimgt.impl.internal.APIManagerComponent} - Default tier policies not found in : /home/ec2-user/wso2qa2/wso2is/wso2is-km-5.3.0/repository/resources/default-tiers/default-res-tiers.xml
[2018-05-06 14:02:17,937] WARN {org.wso2.carbon.user.core.config.RealmConfigXMLProcessor} - Required property DomainName missing in secondary user store. Skip adding the user store.
[2018-05-06 14:02:17,942] WARN {org.wso2.carbon.user.core.config.RealmConfigXMLProcessor} - Required property DomainName missing in secondary user store. Skip adding the user store.
[2018-05-06 14:02:17,947] WARN {org.wso2.carbon.user.core.config.RealmConfigXMLProcessor} - Required property DomainName missing in secondary user store. Skip adding the user store.
[2018-05-06 14:02:18,031] WARN {org.wso2.carbon.user.core.config.RealmConfigXMLProcessor} - Required property DomainName missing in secondary user store. Skip adding the user store.
[2018-05-06 14:02:18,033] WARN {org.wso2.carbon.user.core.config.RealmConfigXMLProcessor} - Required property DomainName missing in secondary user store. Skip adding the user store.
[2018-05-06 14:02:28,168] INFO {org.wso2.carbon.core.multitenancy.eager.TenantLoadingConfig} - Using tenant lazy loading policy...
[2018-05-06 14:02:29,820] INFO {org.wso2.carbon.core.internal.permission.update.PermissionUpdater} - Permission cache updated for tenant -1234
[2018-05-06 14:02:39,807] ERROR {org.wso2.carbon.identity.claim.metadata.mgt.DefaultClaimMetadataStore} - Error while retrieving claim dialects
org.wso2.carbon.identity.claim.metadata.mgt.exception.ClaimMetadataException: Error while listing claim dialects
at org.wso2.carbon.identity.claim.metadata.mgt.dao.ClaimDialectDAO.getClaimDialects(ClaimDialectDAO.java:63)
at org.wso2.carbon.identity.claim.metadata.mgt.DefaultClaimMetadataStore.<init>(DefaultClaimMetadataStore.java:71)
at org.wso2.carbon.identity.claim.metadata.mgt.ClaimMetadataStoreFactory.createClaimManager(ClaimMetadataStoreFactory.java:54)
at org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent.setClaimManagerFactory(UserStoreMgtDSComponent.java:131)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.internal.ds.model.ComponentReference.bind(ComponentReference.java:376)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:430)
at org.eclipse.equinox.internal.ds.InstanceProcess.dynamicBind(InstanceProcess.java:416)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:334)
at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
at org.wso2.carbon.identity.claim.metadata.mgt.internal.IdentityClaimManagementServiceComponent.activate(IdentityClaimManagementServiceComponent.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:514)
at org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:290)
at org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'apimgt.IDN_CLAIM_DIALECT' doesn't exist
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
at com.mysql.jdbc.Util.getInstance(Util.java:408)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:943)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3970)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3906)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2524)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2677)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2549)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1861)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1962)
at org.wso2.carbon.identity.claim.metadata.mgt.dao.ClaimDialectDAO.getClaimDialects(ClaimDialectDAO.java:55)
... 72 more
[2018-05-06 14:02:40,092] ERROR {org.wso2.carbon.identity.claim.metadata.mgt.DefaultClaimMetadataStore} - Error while retrieving claim dialects
org.wso2.carbon.identity.claim.metadata.mgt.exception.ClaimMetadataException: Error while listing claim dialects
at org.wso2.carbon.identity.claim.metadata.mgt.dao.ClaimDialectDAO.getClaimDialects(ClaimDialectDAO.java:63)
at org.wso2.carbon.identity.claim.metadata.mgt.DefaultClaimMetadataStore.<init>(DefaultClaimMetadataStore.java:71)
at org.wso2.carbon.identity.claim.metadata.mgt.ClaimMetadataStoreFactory.createClaimManager(ClaimMetadataStoreFactory.java:54)
at org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent.setClaimManagerFactory(UserStoreMgtDSComponent.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.internal.ds.model.ComponentReference.bind(ComponentReference.java:376)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:430)
at org.eclipse.equinox.internal.ds.InstanceProcess.dynamicBind(InstanceProcess.java:416)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:334)
at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
at org.wso2.carbon.identity.claim.metadata.mgt.internal.IdentityClaimManagementServiceComponent.activate(IdentityClaimManagementServiceComponent.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
at org.wso2.carbon.identity.core.internal.IdentityCoreServiceComponent.activate(IdentityCoreServiceComponent.java:171)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'apimgt.IDN_CLAIM_DIALECT' doesn't exist
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
at com.mysql.jdbc.Util.getInstance(Util.java:408)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:943)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3970)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3906)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2524)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2677)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2549)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1861)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1962)
at org.wso2.carbon.identity.claim.metadata.mgt.dao.ClaimDialectDAO.getClaimDialects(ClaimDialectDAO.java:55)
... 72 more
[2018-05-06 14:02:40,094] INFO {org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} - Claim manager set for class org.wso2.carbon.user.core.common.DefaultRealm
[2018-05-06 14:02:40,097] INFO {org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} - Claim manager set for class org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager
According to the discussion through the chat, identified that missing org.wso2.carbon.is.migrate.client-5.3.0.jar in the dropins folder was the issue. Once copied the org.wso2.carbon.is.migrate.client-5.3.0.jar to dropins, the issue got solved.

WSO2 API Manager 2.1 Analytics - Fails to Start up while connecting to Oracle DB

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/

Configuring WSO2 BPS 3.2.0 and ESB 4.8.1 through FeatureManager

I am trying to configure BPS 3.2.0 and ESB 4.8.1 through Feature Manager but so far its all without any luck. Here are the steps that i have followed
1. Download Latest BPS 3.2.0 , extract and launch the server.
2. Using Feature Manager, i used the Carbon 4.2.0 repo from
http://dist.wso2.org/p2/carbon/releases/4.2.0/
3. From the repo, i selected the Enterprise Service Bus (4.8.1) and installed the featured.
4. Restart the Server.
At this point i received the following error in the console-log
JAVA_HOME environment variable is set to C:\Progra~1\Java\jdk1.7.0_51
CARBON_HOME environment variable is set to D:\WSO2CE~1.0\bin\..
[2014-08-20 18:26:58,457] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Starting WSO2 Carbon...
[2014-08-20 18:26:58,461] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Operating System : Windows 7 6.1, amd64
[2014-08-20 18:26:58,462] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Home : C:\Progra~1\Java\jdk1.7.0_51\jre
[2014-08-20 18:26:58,462] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Version : 1.7.0_51
[2014-08-20 18:26:58,462] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM : Java HotSpot(TM) 64-Bit Server VM 24.51-b03,Oracle Corporation
[2014-08-20 18:26:58,463] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Carbon Home : D:\WSO2CE~1.0\bin\..
[2014-08-20 18:26:58,463] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Temp Dir : D:\WSO2CE~1.0\bin\..\tmp
[2014-08-20 18:26:58,463] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - User : saad, en-US, Asia/Karachi
[2014-08-20 18:26:58,616] WARN {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} - The default keystore (wso2carbon.jks) is currently being used. To maximize security when deploying to a production environment, configure a new keystore with a unique password in the production server profile.
[2014-08-20 18:26:58,724] INFO {org.wso2.carbon.databridge.agent.thrift.AgentHolder} - Agent created !
[2014-08-20 18:26:58,745] INFO {org.wso2.carbon.databridge.agent.thrift.internal.AgentDS} - Successfully deployed Agent Client
[2014-08-20 18:27:01,022] INFO {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} - Configured Registry in 80ms
[2014-08-20 18:27:01,226] INFO {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} - Registry Mode : READ-WRITE
[2014-08-20 18:27:01,724] INFO {org.wso2.carbon.attachment.mgt.server.internal.AttachmentServiceComponent} - Initialising Attachment Server
[2014-08-20 18:27:02,886] INFO {org.wso2.carbon.attachment.mgt.core.dao.impl.jpa.AbstractJPAVendorAdapter} - [Attachment-Mgt OpenJPA] DB Dictionary: h2
[2014-08-20 18:27:02,887] INFO {org.wso2.carbon.attachment.mgt.core.dao.impl.jpa.AbstractJPAVendorAdapter} - [Attachment-Mgt OpenJPA] Generate DDL Enabled.
[2014-08-20 18:27:03,057] INFO {org.wso2.carbon.attachment.mgt.server.internal.AttachmentServiceComponent} - Registering AttachmentServerService
[2014-08-20 18:27:03,465] INFO {org.wso2.carbon.bpel.core.internal.BPELServiceComponent} - Initializing BPEL Engine........
[2014-08-20 18:27:03,533] INFO {org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - Using DAO Connection Factory class: org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl
[2014-08-20 18:27:03,916] INFO {org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - Registering E4X Extension...
[2014-08-20 18:27:03,919] INFO {org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - Registering B4P Extension...
[2014-08-20 18:27:03,923] INFO {org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - Registering B4P Filter...
[2014-08-20 18:27:03,933] INFO {org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - Registering MBeans
[2014-08-20 18:27:04,009] INFO {org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent} - Initialising HumanTask Server
[2014-08-20 18:27:04,069] INFO {org.wso2.carbon.humantask.core.dao.jpa.AbstractJPAVendorAdapter} - [HT OpenJPA] DB Dictionary: h2
[2014-08-20 18:27:04,069] INFO {org.wso2.carbon.humantask.core.dao.jpa.AbstractJPAVendorAdapter} - [HT OpenJPA] Generate DDL Enabled.
[2014-08-20 18:27:04,105] INFO {org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent} - Registering Axis2ConfigurationContextObserver
[2014-08-20 18:27:04,112] INFO {org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent} - Registering HumanTaskUIResourceProvider
[2014-08-20 18:27:04,623] INFO {org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} - Carbon UserStoreMgtDSComponent activated successfully.
[2014-08-20 18:27:11,756] INFO {org.apache.catalina.startup.TaglibUriRule} - TLD skipped. URI: http://tiles.apache.org/tags-tiles is already defined
[2014-08-20 18:27:13,693] INFO {org.wso2.carbon.bpel.deployer.BPELDeployer} - Initializing BPEL Deployer for tenant -1234.
[2014-08-20 18:27:13,755] INFO {org.wso2.carbon.stratos.landing.page.deployer.LandingPageWebappDeployer} - Deployed product landing page webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/home]
[2014-08-20 18:27:13,757] INFO {org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer} - User Store Configuration Deployer initiated.
[2014-08-20 18:27:13,757] INFO {org.wso2.carbon.humantask.deployer.HumanTaskDeployer} - Initializing HumanTask Deployer for tenant -1234.
[2014-08-20 18:27:13,920] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: echo {super-tenant}
[2014-08-20 18:27:14,649] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: echo {super-tenant}
[2014-08-20 18:27:15,027] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: Version {super-tenant}
[2014-08-20 18:27:15,381] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: Version {super-tenant}
[2014-08-20 18:27:19,282] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: wso2carbon-sts {super-tenant}
[2014-08-20 18:27:20,107] INFO {org.wso2.carbon.core.init.CarbonServerManager} - Repository : D:\WSO2CE~1.0\bin\../repository/deployment/server/
[2014-08-20 18:27:20,379] INFO {org.wso2.carbon.core.internal.permission.update.PermissionUpdater} - Permission cache updated for tenant -1234
[2014-08-20 18:27:20,467] INFO {org.wso2.carbon.mediation.initializer.ServiceBusInitializer} - Starting ESB...
[2014-08-20 18:27:20,480] INFO {org.wso2.carbon.mediation.initializer.ServiceBusInitializer} - Initializing Apache Synapse...
[2014-08-20 18:27:20,487] FATAL {org.wso2.carbon.mediation.initializer.ServiceBusInitializer} - Couldn't initialize the ESB...
org.apache.synapse.SynapseException: The synapse.xml location .\.\
./repository/deployment/server/synapse-configs
\default doesn't exist
at org.apache.synapse.SynapseControllerFactory.handleFatal(SynapseControllerFactory.java:121)
at org.apache.synapse.SynapseControllerFactory.validatePath(SynapseControllerFactory.java:113)
at org.apache.synapse.SynapseControllerFactory.validate(SynapseControllerFactory.java:88)
at org.apache.synapse.SynapseControllerFactory.createSynapseController(SynapseControllerFactory.java:44)
at org.apache.synapse.ServerManager.init(ServerManager.java:102)
at org.wso2.carbon.mediation.initializer.ServiceBusInitializer.initESB(ServiceBusInitializer.java:423)
at org.wso2.carbon.mediation.initializer.ServiceBusInitializer.activate(ServiceBusInitializer.java:182)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
at org.wso2.carbon.event.core.internal.builder.EventBrokerHandler.startEventBroker(EventBrokerHandler.java:58)
at org.wso2.carbon.event.core.internal.builder.EventBrokerBuilderDS.activate(EventBrokerBuilderDS.java:72)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:517)
at org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
at org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
at org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1267)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1186)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1081)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
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:744)
[2014-08-20 18:27:20,517] INFO {org.wso2.carbon.rule.kernel.internal.ds.RuleEngineConfigDS} - Successfully registered the Rule Config service
[2014-08-20 18:27:20,659] INFO {org.wso2.carbon.bam.service.data.publisher.internal.StatisticsServiceComponent} - BAM Service Stat Publishing is disabled
[2014-08-20 18:27:22,034] INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} - Mgt Console URL : https://192.175.0.116:9443/carbon/
[2014-08-20 18:28:20,370] WARN {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Waiting for required OSGi services: org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,
[2014-08-20 18:29:20,369] WARN {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Waiting for required OSGi services: org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,
[2014-08-20 18:30:20,368] WARN {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Waiting for required OSGi services: org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,
[2014-08-20 18:31:20,369] WARN {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Waiting for required OSGi services: org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,
[2014-08-20 18:32:20,368] WARN {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Waiting for required OSGi services: org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,
[2014-08-20 18:33:20,369] WARN {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Waiting for required OSGi services: org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,
[2014-08-20 18:34:20,368] WARN {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Waiting for required OSGi services: org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,
[2014-08-20 18:35:20,368] WARN {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Waiting for required OSGi services: org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,
I have tried this configuration by starting with the ESB 4.8.1 Installation and then installing BPS 3.2.0 through Feature Manager and with the almost same result. Any ideas how to resolve this issue ?
Installing BPS features on ESB or vice versa is not recommended. Why is that ?
Generally ESB is a stateless runtime and BPS is a stateful runtime.
ESB use for short live synchronous invocation, while BPS uses for long running, asynchronous processes.
The performance characteristics are also very different between ESB and BPS. ESB uses nio/passthru transport for high performance, But those transport are not supported by the BPS runtime. BPS use servlet transport.
So better to separate them and run ESB and BPS in two different in JVM.