wso2 / product-ei

An open source, a high-performance hybrid integration platform that allows developers quick integration with any application, data, or system.
https://wso2.com/integration/
Apache License 2.0
374 stars 281 forks source link

First run of BPM uses DB creation scripts for different DBMS when using MySQL #2115

Closed etalaq closed 1 month ago

etalaq commented 6 years ago

Starting the business process manager tries to use different DBMS scripts other than MySQL script although datasource are pointing to MySQL database. Also, the server doesn't work and the management url cannot be accessed.

``JAVA_HOME environment variable is set to /usr/java/jdk1.8.0_162 CARBON_HOME environment variable is set to /apps/wso2ei-6.2.0/wso2/business-process Using Java memory options: -Xms256m -Xmx1024m [2018-04-10 17:46:39,893] [EI-Business-Process] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Starting WSO2 Carbon... [2018-04-10 17:46:39,898] [EI-Business-Process] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Operating System : Linux 3.10.0-693.5.2.el7.x86_64, amd64 [2018-04-10 17:46:39,898] [EI-Business-Process] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Home : /usr/java/jdk1.8.0_162/jre [2018-04-10 17:46:39,899] [EI-Business-Process] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Version : 1.8.0_162 [2018-04-10 17:46:39,899] [EI-Business-Process] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM : Java HotSpot(TM) 64-Bit Server VM 25.162-b12,Oracle Corporation [2018-04-10 17:46:39,899] [EI-Business-Process] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Carbon Home : /apps/wso2ei-6.2.0/wso2/business-process [2018-04-10 17:46:39,899] [EI-Business-Process] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Temp Dir : /apps/wso2ei-6.2.0/wso2/business-process/tmp [2018-04-10 17:46:39,900] [EI-Business-Process] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - User : wso2admin, en-US, Asia/Bahrain [2018-04-10 17:46:42,011] [EI-Business-Process] INFO {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} - Configured Registry in 136ms [2018-04-10 17:46:42,163] [EI-Business-Process] INFO {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} - Connected to mount at wso2bpsregistry in 8ms [2018-04-10 17:46:42,266] [EI-Business-Process] INFO {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} - Connected to mount at wso2bpsregistry in 1ms [2018-04-10 17:46:42,322] [EI-Business-Process] INFO {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} - Registry Mode : READ-WRITE [2018-04-10 17:46:42,355] [EI-Business-Process] INFO {org.wso2.carbon.attachment.mgt.server.internal.AttachmentServiceComponent} - Initialising Attachment Server [2018-04-10 17:46:42,560] [EI-Business-Process] INFO {org.wso2.carbon.attachment.mgt.core.dao.impl.jpa.AbstractJPAVendorAdapter} - [Attachment-Mgt OpenJPA] DB Dictionary: mysql [2018-04-10 17:46:42,560] [EI-Business-Process] INFO {org.wso2.carbon.attachment.mgt.core.dao.impl.jpa.AbstractJPAVendorAdapter} - [Attachment-Mgt OpenJPA] Generate DDL Enabled. [2018-04-10 17:46:42,704] [EI-Business-Process] INFO {org.wso2.carbon.attachment.mgt.server.internal.AttachmentServiceComponent} - Registering AttachmentServerService [2018-04-10 17:46:42,719] [EI-Business-Process] INFO {org.wso2.carbon.bpel.core.internal.BPELServiceComponent} - Initializing BPEL Engine........ [2018-04-10 17:46:42,771] [EI-Business-Process] INFO {org.apache.ode.il.EmbeddedGeronimoFactory} - Using embedded Geronimo transaction manager [2018-04-10 17:46:42,790] [EI-Business-Process] INFO {org.apache.ode.il.dbutil.Database} - ODE using external DataSource "bpsds". [2018-04-10 17:46:42,790] [EI-Business-Process] INFO {org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - Using DAO Connection Factory class: org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl [2018-04-10 17:46:42,790] [EI-Business-Process] INFO {org.apache.ode.il.dbutil.Database} - Using DAO Connection Factory class org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl. [2018-04-10 17:46:42,894] [EI-Business-Process] INFO {org.apache.ode.store.jpa.DbConfStoreConnectionFactory} - ProcessStore initializing transaction manager using org.apache.ode.il.EmbeddedGeronimoFactory [2018-04-10 17:46:42,895] [EI-Business-Process] INFO {org.apache.ode.il.EmbeddedGeronimoFactory} - Using embedded Geronimo transaction manager [2018-04-10 17:46:42,929] [EI-Business-Process] INFO {org.apache.ode.scheduler.simple.JdbcDelegate} - Using database MySQL major version 5 [2018-04-10 17:46:42,930] [EI-Business-Process] INFO {org.apache.ode.scheduler.simple.JdbcDelegate} - Using database dialect: MYSQL [2018-04-10 17:46:42,968] [EI-Business-Process] INFO {org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - Registering E4X Extension... [2018-04-10 17:46:42,970] [EI-Business-Process] INFO {org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - Registering B4P Extension... [2018-04-10 17:46:42,973] [EI-Business-Process] INFO {org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - Registering B4P Filter... [2018-04-10 17:46:42,981] [EI-Business-Process] INFO {org.apache.ode.bpel.engine.BpelServerImpl} - BPEL Server Started. [2018-04-10 17:46:42,981] [EI-Business-Process] INFO {org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - Registering MBeans [2018-04-10 17:46:43,026] [EI-Business-Process] INFO {org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent} - Initialising HumanTask Server [2018-04-10 17:46:43,113] [EI-Business-Process] INFO {org.apache.ode.il.EmbeddedGeronimoFactory} - Using embedded Geronimo transaction manager [2018-04-10 17:46:43,121] [EI-Business-Process] INFO {org.wso2.carbon.humantask.core.dao.jpa.AbstractJPAVendorAdapter} - [HT OpenJPA] DB Dictionary: mysql [2018-04-10 17:46:43,122] [EI-Business-Process] INFO {org.wso2.carbon.humantask.core.dao.jpa.AbstractJPAVendorAdapter} - [HT OpenJPA] Generate DDL Enabled. [2018-04-10 17:46:43,153] [EI-Business-Process] INFO {org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent} - Registering Axis2ConfigurationContextObserver [2018-04-10 17:46:43,160] [EI-Business-Process] INFO {org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent} - Registering HT related MBeans [2018-04-10 17:46:43,166] [EI-Business-Process] INFO {org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent} - MXBean for Human tasks registered successfully [2018-04-10 17:46:43,167] [EI-Business-Process] INFO {org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent} - Registering HumanTaskUIResourceProvider [2018-04-10 17:46:43,173] [EI-Business-Process] INFO {org.wso2.carbon.bpmn.core.internal.BPMNServiceComponent} - Initializing the BPMN core component... [2018-04-10 17:46:44,769] [EI-Business-Process] INFO {org.activiti.engine.impl.ProcessEngineImpl} - ProcessEngine default created [2018-04-10 17:46:44,771] [EI-Business-Process] INFO {org.activiti.engine.impl.jobexecutor.JobExecutor} - Starting up the JobExecutor[org.activiti.engine.impl.jobexecutor.DefaultJobExecutor]. [2018-04-10 17:46:44,773] [EI-Business-Process] INFO {org.activiti.engine.impl.jobexecutor.AcquireJobsRunnableImpl} - JobExecutor[org.activiti.engine.impl.jobexecutor.DefaultJobExecutor] starting to acquire jobs [2018-04-10 17:46:44,803] [EI-Business-Process] INFO {org.wso2.carbon.bpmn.analytics.publisher.internal.BPMNAnalyticsServiceComponent} - Initializing the BPMN Analytics Service component... [2018-04-10 17:46:47,024] [EI-Business-Process] INFO {org.wso2.carbon.registry.indexing.solr.SolrClient} - Default Embedded Solr Server Initialized [2018-04-10 17:46:47,258] [EI-Business-Process] INFO {org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} - Carbon UserStoreMgtDSComponent activated successfully. [2018-04-10 17:47:04,202] [EI-Business-Process] INFO {org.apache.catalina.startup.TaglibUriRule} - TLD skipped. URI: http://tiles.apache.org/tags-tiles is already defined [2018-04-10 17:47:05,119] [EI-Business-Process] INFO {org.apache.axis2.deployment.ClusterBuilder} - Clustering has been enabled [2018-04-10 17:47:05,129] [EI-Business-Process] INFO {org.apache.axis2.deployment.ClusterBuilder} - Running in application mode [2018-04-10 17:47:05,515] [EI-Business-Process] INFO {org.wso2.carbon.bpmn.core.deployment.BPMNDeployer} - Initializing BPMN Deployer for tenant -1234. [2018-04-10 17:47:05,519] [EI-Business-Process] INFO {org.wso2.carbon.bpmn.core.deployment.BPMNDeployer} - Resolving BPMN deployments to avoid inconsistencies [2018-04-10 17:47:05,567] [EI-Business-Process] INFO {org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer} - User Store Configuration Deployer initiated. [2018-04-10 17:47:05,568] [EI-Business-Process] INFO {org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer} - User Store Configuration Deployer initiated. [2018-04-10 17:47:05,576] [EI-Business-Process] INFO {org.wso2.carbon.bpel.deployer.BPELDeployer} - Initializing BPEL Deployer for tenant -1234. [2018-04-10 17:47:05,587] [EI-Business-Process] INFO {org.wso2.carbon.humantask.deployer.HumanTaskDeployer} - Initializing HumanTask Deployer for tenant -1234. [2018-04-10 17:47:06,624] [EI-Business-Process] INFO {org.apache.axis2.deployment.ModuleDeployer} - Deploying module: addressing-1.6.1-wso2v23 - file:/apps/wso2ei-6.2.0/wso2/business-process/repository/deployment/client/modules/addressing-1.6.1-wso2v23.mar [2018-04-10 17:47:08,659] [EI-Business-Process] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: wso2carbon-sts {super-tenant} [2018-04-10 17:47:08,733] [EI-Business-Process] INFO {org.apache.axis2.deployment.DeploymentEngine} - Deploying Web service: org.wso2.carbon.sts-5.2.6 - [2018-04-10 17:47:08,980] [EI-Business-Process] INFO {org.apache.axis2.deployment.DeploymentEngine} - Deploying Web service: org.wso2.carbon.tryit-4.6.21 - [2018-04-10 17:47:09,188] [EI-Business-Process] INFO {org.wso2.carbon.core.init.CarbonServerManager} - Repository : /apps/wso2ei-6.2.0/wso2/business-process/repository/deployment/server/ [2018-04-10 17:47:09,249] [EI-Business-Process] INFO {org.wso2.carbon.core.multitenancy.eager.TenantLoadingConfig} - Using tenant lazy loading policy... [2018-04-10 17:47:09,277] [EI-Business-Process] INFO {org.wso2.carbon.core.internal.permission.update.PermissionUpdater} - Permission cache updated for tenant -1234 [2018-04-10 17:47:13,163] [EI-Business-Process] ERROR {org.wso2.carbon.bpel.core.ode.integration.BPELSchedulerInitializer} - HazelCast instance not available, but distributed lock enabled [2018-04-10 17:47:13,164] [EI-Business-Process] INFO {org.wso2.carbon.humantask.core.HumanTaskSchedulerInitializer} - Starting HumanTasks Scheduler [2018-04-10 17:47:13,779] [EI-Business-Process] ERROR {org.wso2.carbon.humantask.core.scheduler.SimpleScheduler} - Error retrieving node list.

org.apache.openjpa.persistence.PersistenceException: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'CLOB, MESSAGE_HEADER CLOB, MESSAGE_TYPE VARCHAR(255), MESSAGE_NAME VARCHAR(512),' at line 1 {stmnt 1633404713 CREATE TABLE HT_MESSAGE (MESSAGE_ID BIGINT NOT NULL, MESSAGE_DATA CLOB, MESSAGE_HEADER CLOB, MESSAGE_TYPE VARCHAR(255), MESSAGE_NAME VARCHAR(512), TASK_ID BIGINT, PRIMARY KEY (MESSAGE_ID)) ENGINE = innodb} [code=1064, state=42000] at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:559) at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:455) at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:160) at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:164) at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:122) at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:209) at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156) at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:227) at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:60) at org.wso2.carbon.humantask.core.dao.jpa.openjpa.HumanTaskDAOConnectionFactoryImpl.getConnection(HumanTaskDAOConnectionFactoryImpl.java:66) at org.wso2.carbon.humantask.core.scheduler.SimpleScheduler.getConnection(SimpleScheduler.java:824) at org.wso2.carbon.humantask.core.scheduler.SimpleScheduler.access$200(SimpleScheduler.java:41) at org.wso2.carbon.humantask.core.scheduler.SimpleScheduler$5.call(SimpleScheduler.java:611) at org.wso2.carbon.humantask.core.scheduler.SimpleScheduler$5.call(SimpleScheduler.java:609) at org.wso2.carbon.humantask.core.scheduler.SimpleScheduler.execTransaction(SimpleScheduler.java:879) at org.wso2.carbon.humantask.core.scheduler.SimpleScheduler.execTransaction(SimpleScheduler.java:828) at org.wso2.carbon.humantask.core.scheduler.SimpleScheduler.start(SimpleScheduler.java:609) at org.wso2.carbon.humantask.core.HumanTaskSchedulerInitializer.completingServerStartup(HumanTaskSchedulerInitializer.java:38) at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.notifyBefore(CarbonCoreServiceComponent.java:238) at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:158) at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:287) 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.throttling.agent.internal.ThrottlingAgentServiceComponent.registerThrottlingAgent(ThrottlingAgentServiceComponent.java:123) at org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent.activate(ThrottlingAgentServiceComponent.java:100) 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.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:515) at org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:220) at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:94) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: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.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:1230) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1174) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1066) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5370) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5668) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1700) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1690) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'CLOB, MESSAGE_HEADER CLOB, MESSAGE_TYPE VARCHAR(255), MESSAGE_NAME VARCHAR(512),' at line 1 {stmnt 1633404713 CREATE TABLE HT_MESSAGE (MESSAGE_ID BIGINT NOT NULL, MESSAGE_DATA CLOB, MESSAGE_HEADER CLOB, MESSAGE_TYPE VARCHAR(255), MESSAGE_NAME VARCHAR(512), TASK_ID BIGINT, PRIMARY KEY (MESSAGE_ID)) ENGINE = innodb} [code=1064, state=42000] at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:247) at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:231) at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$700(LoggingConnectionDecorator.java:72) at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingStatement.executeUpdate(LoggingConnectionDecorator.java:942) at org.apache.openjpa.lib.jdbc.DelegatingStatement.executeUpdate(DelegatingStatement.java:114) at org.apache.openjpa.jdbc.schema.SchemaTool.executeSQL(SchemaTool.java:1224) at org.apache.openjpa.jdbc.schema.SchemaTool.createTable(SchemaTool.java:975) at org.apache.openjpa.jdbc.schema.SchemaTool.add(SchemaTool.java:551) at org.apache.openjpa.jdbc.schema.SchemaTool.add(SchemaTool.java:366) at org.apache.openjpa.jdbc.schema.SchemaTool.run(SchemaTool.java:343) at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:505) ... 92 more [2018-04-10 17:47:14,102] [EI-Business-Process] INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} - Mgt Console URL : https://x.x.x.202:9445/carbon/ [2018-04-10 17:47:14,103] [EI-Business-Process] INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} - BPS HumanTask Explorer : https://x.x.x.202:9445/humantask-explorer [2018-04-10 17:47:14,103] [EI-Business-Process] INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} - BPS BPMN Explorer : https://x.x.x.202:9445/bpmn-explorer ``
himasha commented 6 years ago

Hi ,

Have you followed the instructions related to 'changing BPS database' in [1]?

[1] https://docs.wso2.com/display/BPS351/Setting+up+MySQL#SettingupMySQL-SettingupdatasourceconfigurationsSettingupdatasourceconfigurations

Thanks, Himasha

On Tue, Apr 10, 2018 at 8:45 PM, etalaq notifications@github.com wrote:

Starting the business process manager tries to use different DBMS scripts other than MySQL script although datasource are pointing to MySQL database. Also, the server doesn't work and the management url cannot be accessed.

JAVA_HOME environment variable is set to /usr/java/jdk1.8.0_162 CARBON_HOME environment variable is set to /apps/wso2ei-6.2.0/wso2/business-process Using Java memory options: -Xms256m -Xmx1024m [2018-04-10 17:46:39,893] [EI-Business-Process] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator}

  • Starting WSO2 Carbon... [2018-04-10 17:46:39,898] [EI-Business-Process] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Operating System : Linux 3.10.0-693.5.2.el7.x86_64, amd64 [2018-04-10 17:46:39,898] [EI-Business-Process] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator}
  • Java Home : /usr/java/jdk1.8.0_162/jre [2018-04-10 17:46:39,899] [EI-Business-Process] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator}
  • Java Version : 1.8.0_162 [2018-04-10 17:46:39,899] [EI-Business-Process] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM : Java HotSpot(TM) 64-Bit Server VM 25.162-b12,Oracle Corporation [2018-04-10 17:46:39,899] [EI-Business-Process] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator}
  • Carbon Home : /apps/wso2ei-6.2.0/wso2/business-process [2018-04-10 17:46:39,899] [EI-Business-Process] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator}
  • Java Temp Dir : /apps/wso2ei-6.2.0/wso2/business-process/tmp [2018-04-10 17:46:39,900] [EI-Business-Process] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator}
  • User : wso2admin, en-US, Asia/Bahrain [2018-04-10 17:46:42,011] [EI-Business-Process] INFO {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService}
  • Configured Registry in 136ms [2018-04-10 17:46:42,163] [EI-Business-Process] INFO {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService}
  • Connected to mount at wso2bpsregistry in 8ms [2018-04-10 17:46:42,266] [EI-Business-Process] INFO {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService}
  • Connected to mount at wso2bpsregistry in 1ms [2018-04-10 17:46:42,322] [EI-Business-Process] INFO {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent}
  • Registry Mode : READ-WRITE [2018-04-10 17:46:42,355] [EI-Business-Process] INFO {org.wso2.carbon.attachment. mgt.server.internal.AttachmentServiceComponent} - Initialising Attachment Server [2018-04-10 17:46:42,560] [EI-Business-Process] INFO {org.wso2.carbon.attachment.mgt.core.dao.impl.jpa.AbstractJPAVendorAdapter}
  • [Attachment-Mgt OpenJPA] DB Dictionary: mysql [2018-04-10 17:46:42,560] [EI-Business-Process] INFO {org.wso2.carbon.attachment. mgt.core.dao.impl.jpa.AbstractJPAVendorAdapter} - [Attachment-Mgt OpenJPA] Generate DDL Enabled. [2018-04-10 17:46:42,704] [EI-Business-Process] INFO {org.wso2.carbon.attachment. mgt.server.internal.AttachmentServiceComponent} - Registering AttachmentServerService [2018-04-10 17:46:42,719] [EI-Business-Process] INFO {org.wso2.carbon.bpel.core.internal.BPELServiceComponent} - Initializing BPEL Engine........ [2018-04-10 17:46:42,771] [EI-Business-Process] INFO {org.apache.ode.il.EmbeddedGeronimoFactory} - Using embedded Geronimo transaction manager [2018-04-10 17:46:42,790] [EI-Business-Process] INFO {org.apache.ode.il.dbutil.Database} - ODE using external DataSource "bpsds". [2018-04-10 17:46:42,790] [EI-Business-Process] INFO {org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl}
  • Using DAO Connection Factory class: org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl [2018-04-10 17:46:42,790] [EI-Business-Process] INFO {org.apache.ode.il.dbutil.Database} - Using DAO Connection Factory class org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl. [2018-04-10 17:46:42,894] [EI-Business-Process] INFO {org.apache.ode.store.jpa.DbConfStoreConnectionFactory}
  • ProcessStore initializing transaction manager using org.apache.ode.il.EmbeddedGeronimoFactory [2018-04-10 17:46:42,895] [EI-Business-Process] INFO {org.apache.ode.il.EmbeddedGeronimoFactory}
  • Using embedded Geronimo transaction manager [2018-04-10 17:46:42,929] [EI-Business-Process] INFO {org.apache.ode.scheduler.simple.JdbcDelegate}
  • Using database MySQL major version 5 [2018-04-10 17:46:42,930] [EI-Business-Process] INFO {org.apache.ode.scheduler.simple.JdbcDelegate}
  • Using database dialect: MYSQL [2018-04-10 17:46:42,968] [EI-Business-Process] INFO {org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl}
  • Registering E4X Extension... [2018-04-10 17:46:42,970] [EI-Business-Process] INFO {org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl}
  • Registering B4P Extension... [2018-04-10 17:46:42,973] [EI-Business-Process] INFO {org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl}
  • Registering B4P Filter... [2018-04-10 17:46:42,981] [EI-Business-Process] INFO {org.apache.ode.bpel.engine.BpelServerImpl} - BPEL Server Started. [2018-04-10 17:46:42,981] [EI-Business-Process] INFO {org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - Registering MBeans [2018-04-10 17:46:43,026] [EI-Business-Process] INFO {org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent} - Initialising HumanTask Server [2018-04-10 17:46:43,113] [EI-Business-Process] INFO {org.apache.ode.il.EmbeddedGeronimoFactory} - Using embedded Geronimo transaction manager [2018-04-10 17:46:43,121] [EI-Business-Process] INFO {org.wso2.carbon.humantask.core.dao.jpa.AbstractJPAVendorAdapter}
  • [HT OpenJPA] DB Dictionary: mysql [2018-04-10 17:46:43,122] [EI-Business-Process] INFO {org.wso2.carbon.humantask.core.dao.jpa.AbstractJPAVendorAdapter}
  • [HT OpenJPA] Generate DDL Enabled. [2018-04-10 17:46:43,153] [EI-Business-Process] INFO {org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent}
  • Registering Axis2ConfigurationContextObserver [2018-04-10 17:46:43,160] [EI-Business-Process] INFO {org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent}
  • Registering HT related MBeans [2018-04-10 17:46:43,166] [EI-Business-Process] INFO {org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent}
  • MXBean for Human tasks registered successfully [2018-04-10 17:46:43,167] [EI-Business-Process] INFO {org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent}
  • Registering HumanTaskUIResourceProvider [2018-04-10 17:46:43,173] [EI-Business-Process] INFO {org.wso2.carbon.bpmn.core.internal.BPMNServiceComponent}
  • Initializing the BPMN core component... [2018-04-10 17:46:44,769] [EI-Business-Process] INFO {org.activiti.engine.impl.ProcessEngineImpl} - ProcessEngine default created [2018-04-10 17:46:44,771] [EI-Business-Process] INFO {org.activiti.engine.impl.jobexecutor.JobExecutor}
  • Starting up the JobExecutor[org.activiti.engine.impl.jobexecutor.DefaultJobExecutor]. [2018-04-10 17:46:44,773] [EI-Business-Process] INFO {org.activiti.engine.impl.jobexecutor.AcquireJobsRunnableImpl} - JobExecutor[org.activiti.engine.impl.jobexecutor.DefaultJobExecutor] starting to acquire jobs [2018-04-10 17:46:44,803] [EI-Business-Process] INFO {org.wso2.carbon.bpmn.analytics.publisher.internal.BPMNAnalyticsServiceComponent}
  • Initializing the BPMN Analytics Service component... [2018-04-10 17:46:47,024] [EI-Business-Process] INFO {org.wso2.carbon.registry.indexing.solr.SolrClient}
  • Default Embedded Solr Server Initialized [2018-04-10 17:46:47,258] [EI-Business-Process] INFO {org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent}
  • Carbon UserStoreMgtDSComponent activated successfully. [2018-04-10 17:47:04,202] [EI-Business-Process] INFO {org.apache.catalina.startup.TaglibUriRule}
  • TLD skipped. URI: http://tiles.apache.org/tags-tiles is already defined [2018-04-10 17:47:05,119] [EI-Business-Process] INFO {org.apache.axis2.deployment.ClusterBuilder} - Clustering has been enabled [2018-04-10 17:47:05,129] [EI-Business-Process] INFO {org.apache.axis2.deployment.ClusterBuilder} - Running in application mode [2018-04-10 17:47:05,515] [EI-Business-Process] INFO {org.wso2.carbon.bpmn.core.deployment.BPMNDeployer} - Initializing BPMN Deployer for tenant -1234. [2018-04-10 17:47:05,519] [EI-Business-Process] INFO {org.wso2.carbon.bpmn.core.deployment.BPMNDeployer} - Resolving BPMN deployments to avoid inconsistencies [2018-04-10 17:47:05,567] [EI-Business-Process] INFO {org.wso2.carbon.identity. user.store.configuration.deployer.UserStoreConfigurationDeployer} - User Store Configuration Deployer initiated. [2018-04-10 17:47:05,568] [EI-Business-Process] INFO {org.wso2.carbon.identity. user.store.configuration.deployer.UserStoreConfigurationDeployer} - User Store Configuration Deployer initiated. [2018-04-10 17:47:05,576] [EI-Business-Process] INFO {org.wso2.carbon.bpel.deployer.BPELDeployer} - Initializing BPEL Deployer for tenant -1234. [2018-04-10 17:47:05,587] [EI-Business-Process] INFO {org.wso2.carbon.humantask.deployer.HumanTaskDeployer}
  • Initializing HumanTask Deployer for tenant -1234. [2018-04-10 17:47:06,624] [EI-Business-Process] INFO {org.apache.axis2.deployment.ModuleDeployer}
  • Deploying module: addressing-1.6.1-wso2v23 - file:/apps/wso2ei-6.2.0/wso2/ business-process/repository/deployment/client/modules/addressing-1.6.1-wso2v23.mar [2018-04-10 17:47:08,659] [EI-Business-Process] INFO {org.wso2.carbon.core. deployment.DeploymentInterceptor} - Deploying Axis2 service: wso2carbon-sts {super-tenant} [2018-04-10 17:47:08,733] [EI-Business-Process] INFO {org.apache.axis2.deployment.DeploymentEngine}
  • Deploying Web service: org.wso2.carbon.sts-5.2.6 - [2018-04-10 17:47:08,980] [EI-Business-Process] INFO {org.apache.axis2.deployment.DeploymentEngine}
  • Deploying Web service: org.wso2.carbon.tryit-4.6.21 - [2018-04-10 17:47:09,188] [EI-Business-Process] INFO {org.wso2.carbon.core.init.CarbonServerManager}
  • Repository : /apps/wso2ei-6.2.0/wso2/business-process/repository/deployment/server/ [2018-04-10 17:47:09,249] [EI-Business-Process] INFO {org.wso2.carbon.core. multitenancy.eager.TenantLoadingConfig} - Using tenant lazy loading policy... [2018-04-10 17:47:09,277] [EI-Business-Process] INFO {org.wso2.carbon.core.internal.permission.update.PermissionUpdater} - Permission cache updated for tenant -1234 [2018-04-10 17:47:13,163] [EI-Business-Process] ERROR {org.wso2.carbon.bpel.core.ode.integration.BPELSchedulerInitializer}
  • HazelCast instance not available, but distributed lock enabled [2018-04-10 17:47:13,164] [EI-Business-Process] INFO {org.wso2.carbon.humantask.core.HumanTaskSchedulerInitializer} - Starting HumanTasks Scheduler [2018-04-10 17:47:13,779] [EI-Business-Process] ERROR {org.wso2.carbon.humantask.core.scheduler.SimpleScheduler} - Error retrieving node list. <openjpa-2.2.0-wso2v1-r128166:129108 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'CLOB, MESSAGE_HEADER CLOB, MESSAGE_TYPE VARCHAR(255), MESSAGE_NAME VARCHAR(512),' at line 1 {stmnt 1633404713 CREATE TABLE HT_MESSAGE (MESSAGE_ID BIGINT NOT NULL, MESSAGE_DATA CLOB, MESSAGE_HEADER CLOB, MESSAGE_TYPE VARCHAR(255), MESSAGE_NAME VARCHAR(512), TASK_ID BIGINT, PRIMARY KEY (MESSAGE_ID)) ENGINE = innodb} [code=1064, state=42000] at org.apache.openjpa.jdbc.meta. MappingTool.record(MappingTool.java:559) at org.apache.openjpa.jdbc.meta. MappingTool.record(MappingTool.java:455) at org.apache.openjpa.jdbc. kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:160) at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:164) at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:122) at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker( AbstractBrokerFactory.java:209) at org.apache.openjpa.kernel. DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156) at org.apache.openjpa.persistence.EntityManagerFactoryImpl. createEntityManager(EntityManagerFactoryImpl.java:227) at org.apache.openjpa.persistence.EntityManagerFactoryImpl. createEntityManager(EntityManagerFactoryImpl.java:60) at org.wso2.carbon.humantask.core.dao.jpa.openjpa. HumanTaskDAOConnectionFactoryImpl.getConnection( HumanTaskDAOConnectionFactoryImpl.java:66) at org.wso2.carbon.humantask. core.scheduler.SimpleScheduler.getConnection(SimpleScheduler.java:824) at org.wso2.carbon.humantask.core.scheduler.SimpleScheduler.access$200(SimpleScheduler.java:41) at org.wso2.carbon.humantask.core.scheduler.SimpleScheduler$5.call(SimpleScheduler.java:611) at org.wso2.carbon.humantask.core.scheduler.SimpleScheduler$5.call(SimpleScheduler.java:609) at org.wso2.carbon.humantask.core.scheduler.SimpleScheduler. execTransaction(SimpleScheduler.java:879) at org.wso2.carbon.humantask. core.scheduler.SimpleScheduler.execTransaction(SimpleScheduler.java:828) at org.wso2.carbon.humantask.core.scheduler.SimpleScheduler.start(SimpleScheduler.java:609) at org.wso2.carbon.humantask.core.HumanTaskSchedulerInitializer. completingServerStartup(HumanTaskSchedulerInitializer.java:38) at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.notifyBefore( CarbonCoreServiceComponent.java:238) at org.wso2.carbon.core.internal. StartupFinalizerServiceComponent.completeInitialization( StartupFinalizerServiceComponent.java:158) at org.wso2.carbon.core.internal.StartupFinalizerServiceCompone nt.serviceChanged(StartupFinalizerServiceComponent.java:287) 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.throttling.agent.internal. ThrottlingAgentServiceComponent.registerThrottlingAgent( ThrottlingAgentServiceComponent.java:123) at org.wso2.carbon.throttling. agent.internal.ThrottlingAgentServiceComponent.activate( ThrottlingAgentServiceComponent.java:100) 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.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:515) at org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:220) at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate( CarbonCoreServiceComponent.java:94) at sun.reflect. NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect. NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: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.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:1230) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1174) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1066) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5370) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5668) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1700) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1690) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'CLOB, MESSAGE_HEADER CLOB, MESSAGE_TYPE VARCHAR(255), MESSAGE_NAME VARCHAR(512),' at line 1 {stmnt 1633404713 CREATE TABLE HT_MESSAGE (MESSAGE_ID BIGINT NOT NULL, MESSAGE_DATA CLOB, MESSAGE_HEADER CLOB, MESSAGE_TYPE VARCHAR(255), MESSAGE_NAME VARCHAR(512), TASK_ID BIGINT, PRIMARY KEY (MESSAGE_ID)) ENGINE = innodb} [code=1064, state=42000] at org.apache.openjpa.lib.jdbc. LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:247) at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap( LoggingConnectionDecorator.java:231) at org.apache.openjpa.lib.jdbc. LoggingConnectionDecorator.access$700(LoggingConnectionDecorator.java:72) at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$ LoggingConnection$LoggingStatement.executeUpdate( LoggingConnectionDecorator.java:942) at org.apache.openjpa.lib.jdbc. DelegatingStatement.executeUpdate(DelegatingStatement.java:114) at org.apache.openjpa.jdbc.schema.SchemaTool.executeSQL(SchemaTool.java:1224) at org.apache.openjpa.jdbc.schema.SchemaTool.createTable(SchemaTool.java:975) at org.apache.openjpa.jdbc.schema.SchemaTool.add(SchemaTool.java:551) at org.apache.openjpa.jdbc.schema.SchemaTool.add(SchemaTool.java:366) at org.apache.openjpa.jdbc.schema.SchemaTool.run(SchemaTool.java:343) at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:505) ... 92 more [2018-04-10 17:47:14,102] [EI-Business-Process] INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} - Mgt Console URL : https://x.x.x.202:9445/carbon/ [2018-04-10 17:47:14,103] [EI-Business-Process] INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComponent}
  • BPS HumanTask Explorer : https://x.x.x.202:9445/humantask-explorer [2018-04-10 17:47:14,103] [EI-Business-Process] INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} - BPS BPMN Explorer : https://x.x.x.202:9445/bpmn-explorer

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wso2/product-ei/issues/2115, or mute the thread https://github.com/notifications/unsubscribe-auth/AJPTIMbkOh4TdQyBTaG9NObL7E15mgMXks5tnMx-gaJpZM4TOdrp .

-- Himasha Guruge Senior Software Engineer WSO2 Inc. Mobile: +94 777459299 himashag@wso2.com

etalaq commented 6 years ago

Followed it still the same. Here is the summary:

After doing the change suggested by the other link i get the following message in the logs which i think related to the configuration: <jndi contextFactory="com.sun.jndi.rmi.registry.RegistryContextFactory" providerUrl="rmi://localhost:2199/>

[2018-04-11 08:50:34,740] [EI-Business-Process] ERROR {org.wso2.carbon.attachment.mgt.core.datasource.impl.BasicDataSourceManager} - Could not initialize the DataSource:bpsds javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused (Connection refused)] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:136) at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:142) at javax.naming.InitialContext.lookup(InitialContext.java:417) at org.wso2.carbon.attachment.mgt.core.datasource.impl.BasicDataSourceManager.lookupInJNDI(BasicDataSourceManager.java:134) at org.wso2.carbon.attachment.mgt.core.datasource.impl.BasicDataSourceManager.initExternalDb(BasicDataSourceManager.java:112) at org.wso2.carbon.attachment.mgt.core.datasource.impl.BasicDataSourceManager.initDataSource(BasicDataSourceManager.java:107) at org.wso2.carbon.attachment.mgt.core.datasource.impl.BasicDataSourceManager.startDataSource(BasicDataSourceManager.java:100) at org.wso2.carbon.attachment.mgt.core.datasource.impl.BasicDataSourceManager.start(BasicDataSourceManager.java:67) at org.wso2.carbon.attachment.mgt.server.AttachmentServer.initDataSourceManager(AttachmentServer.java:90) at org.wso2.carbon.attachment.mgt.server.AttachmentServer.init(AttachmentServer.java:59) at org.wso2.carbon.attachment.mgt.server.internal.AttachmentServiceComponent.initAttachmentServer(AttachmentServiceComponent.java:90) at org.wso2.carbon.attachment.mgt.server.internal.AttachmentServiceComponent.activate(AttachmentServiceComponent.java:71) 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.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.ndatasource.core.internal.DataSourceServiceComponent.registerServices(DataSourceServiceComponent.java:126) at org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent.initSuperTenantUserDataSources(DataSourceServiceComponent.java:221) at org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent.checkInitTenantUserDataSources(DataSourceServiceComponent.java:206) at org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent.setRegistryService(DataSourceServiceComponent.java:157) 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.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent.activate(RegistryCoreServiceComponent.java:129) 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.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.wso2.carbon.user.core.internal.Activator.startDeploy(Activator.java:69) at org.wso2.carbon.user.core.internal.BundleCheckActivator.start(BundleCheckActivator.java:61) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381) at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390) at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544) at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1) 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: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused (Connection refused) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202) at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:338) at sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:112) at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:132) ... 92 more Caused by: java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at java.net.Socket.connect(Socket.java:538) at java.net.Socket.<init>(Socket.java:434) at java.net.Socket.<init>(Socket.java:211) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:148) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613) ... 97 more [2018-04-11 08:50:34,751] [EI-Business-Process] FATAL {org.wso2.carbon.attachment.mgt.core.dao.AbstractDAOManager} - DAO Connection Factory creation failed. Reason:DataSource is not initialized. java.lang.NullPointerException: DataSource is not initialized. at org.wso2.carbon.attachment.mgt.core.datasource.AbstractDataSourceManager.getDataSource(AbstractDataSourceManager.java:37) at org.wso2.carbon.attachment.mgt.core.dao.AbstractDAOManager.initDAOConnectionFactory(AbstractDAOManager.java:116) at org.wso2.carbon.attachment.mgt.core.dao.AbstractDAOManager.init(AbstractDAOManager.java:88) at org.wso2.carbon.attachment.mgt.server.AttachmentServer.initDAOManager(AttachmentServer.java:75) at org.wso2.carbon.attachment.mgt.server.AttachmentServer.init(AttachmentServer.java:60) at org.wso2.carbon.attachment.mgt.server.internal.AttachmentServiceComponent.initAttachmentServer(AttachmentServiceComponent.java:90) at org.wso2.carbon.attachment.mgt.server.internal.AttachmentServiceComponent.activate(AttachmentServiceComponent.java:71) 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.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.ndatasource.core.internal.DataSourceServiceComponent.registerServices(DataSourceServiceComponent.java:126) at org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent.initSuperTenantUserDataSources(DataSourceServiceComponent.java:221) at org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent.checkInitTenantUserDataSources(DataSourceServiceComponent.java:206) at org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent.setRegistryService(DataSourceServiceComponent.java:157) 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.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent.activate(RegistryCoreServiceComponent.java:129) 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.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.wso2.carbon.user.core.internal.Activator.startDeploy(Activator.java:69) at org.wso2.carbon.user.core.internal.BundleCheckActivator.start(BundleCheckActivator.java:61) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381) at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390) at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544) at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)