You can use applyConfigurationWithoutRestart() method in ServerConfigurationManager class.
After applying all configuration call restartGracefully() method in the same class. Thanks, Krishantha. On Fri, May 22, 2015 at 9:28 AM, Asitha Nanayakkara <[email protected]> wrote: > Commenting out in-memory mode by default led to automation test failure > [1] since server couldn't start in in-memory mode without the in-memory > datasource set > > For in-memory mode related test we are restarting the server with a > broker.xml file configured to start the server in in-memory mode. We assume > master-datasources.xml in-memory mode configuration is set. But if we > comment it out we need to find a way to activate it again when the server > restarts for in-memory mode tests. > > @Krishantha Is there a way to restart a server with changes to multiple > configuration files. Currently we only change the broker.xml [2] > > * Restart the testing MB server in In-Memory H2 database mode by applying > In-Memory database configurations * in andes-virtualhosts-H2-mem.xml file. > * * @throws Exception */ protected void restartServerWithH2MemMode() > throws Exception { serverManager = new ServerConfigurationManager > (automationContext); // Replace the broker.xml with the new configuration > and restarts the server. serverManager.applyConfiguration(new File( > FrameworkPathUtil.getSystemResourceLocation() + File.separator + " > artifacts" + File.separator + "mb" + File.separator + "config" + > File.separator > + "broker.xml"), new File(ServerConfigurationManager.getCarbonHome() + > File.separator + "repository" + File.separator + "conf" + File.separator + > "broker.xml"), true, true); } > > > [1] https://wso2.org/jenkins/job/product-mb/424/console > [2] > https://github.com/wso2/product-mb/blob/master/modules/integration/tests-common/integration-tests-utils/src/main/java/org/wso2/mb/integration/common/utils/backend/MBIntegrationBaseTest.java#L63 > > Thanks, > Asitha > > On Thu, May 21, 2015 at 10:44 AM, Asitha Nanayakkara <[email protected]> > wrote: > >> Hi all, >> >> I've commented out H2 In-memory store by default with PR [1] >> >> [1] https://github.com/wso2/product-mb/pull/102 >> >> >> On Thu, May 21, 2015 at 10:29 AM, Ramith Jayasinghe <[email protected]> >> wrote: >> >>> +1 >>> >>> On Thu, May 21, 2015 at 10:26 AM, Hemika Kodikara <[email protected]> >>> wrote: >>> >>>> Also I think we should comment out the H2-In Memory store by default. >>>> WDYT ? >>>> >>>> Hemika Kodikara >>>> Software Engineer >>>> WSO2 Inc. >>>> lean . enterprise . middleware >>>> http://wso2.com >>>> >>>> Mobile : +94777688882 >>>> >>>> On Thu, May 21, 2015 at 10:22 AM, Hasitha Hiranya <[email protected]> >>>> wrote: >>>> >>>>> Better to highlight this in our docs as well. >>>>> >>>>> >>>>> On Wed, May 20, 2015 at 11:16 PM, Indika Sampath <[email protected]> >>>>> wrote: >>>>> >>>>>> I looked into master-datasources.xml and there are two RDBMS >>>>>> datasources configured for WSO2MBStoreDB (H2 and MySQL). H2 is default >>>>>> database we distributed with MB pack. Please comment it [1] before you >>>>>> configure any other RDBMS datasource. >>>>>> >>>>>> <!-- WSO2 MB embedded H2 Store --> >>>>>> <datasource> >>>>>> <name>WSO2_MB_STORE_DB</name> >>>>>> <description>The datasource used for message broker >>>>>> database</description> >>>>>> <jndiConfig> >>>>>> <name>WSO2MBStoreDB</name> >>>>>> </jndiConfig> >>>>>> <definition type="RDBMS"> >>>>>> <configuration> >>>>>> >>>>>> <url>jdbc:h2:repository/database/WSO2MB_DB;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000</url> >>>>>> <driverClassName>org.h2.Driver</driverClassName> >>>>>> <maxActive>50</maxActive> >>>>>> <maxWait>60000</maxWait> >>>>>> <testOnBorrow>true</testOnBorrow> >>>>>> <validationQuery>SELECT 1</validationQuery> >>>>>> <validationInterval>30000</validationInterval> >>>>>> </configuration> >>>>>> </definition> >>>>>> </datasource> >>>>>> >>>>>> Cheers! >>>>>> >>>>>> >>>>>> On Thu, May 21, 2015 at 8:33 AM, Amalka Subasinghe <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> attached broker.xml and master-datasources.xml files >>>>>>> >>>>>>> On Wed, May 20, 2015 at 11:31 PM, Hemika Kodikara <[email protected]> >>>>>>> wrote: >>>>>>> >>>>>>>> Hi Amalka, >>>>>>>> >>>>>>>> Can you attach the broker.xml file and master-datasources.xml files >>>>>>>> ? >>>>>>>> >>>>>>>> Regards, >>>>>>>> Hemika >>>>>>>> >>>>>>>> Hemika Kodikara >>>>>>>> Software Engineer >>>>>>>> WSO2 Inc. >>>>>>>> lean . enterprise . middleware >>>>>>>> http://wso2.com >>>>>>>> >>>>>>>> Mobile : +94777688882 >>>>>>>> >>>>>>>> On Wed, May 20, 2015 at 10:54 PM, Amalka Subasinghe < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>>>>>> I'm using M7 pack. but I have to create the databases manually. >>>>>>>>> >>>>>>>>> On Wed, May 20, 2015 at 10:51 PM, Indika Sampath <[email protected] >>>>>>>>> > wrote: >>>>>>>>> >>>>>>>>>> Hi Amalka, >>>>>>>>>> >>>>>>>>>> You don't need to externally run db script. Below set of tables >>>>>>>>>> created when you start MB 3.0.0 pack with -Dsetup option. Which >>>>>>>>>> milestone >>>>>>>>>> pack did you configure ? >>>>>>>>>> >>>>>>>>>> MB_BINDING >>>>>>>>>> MB_CONTENT >>>>>>>>>> MB_DURABLE_SUBSCRIPTION >>>>>>>>>> MB_EXCHANGE >>>>>>>>>> MB_EXPIRATION_DATA >>>>>>>>>> MB_METADATA >>>>>>>>>> MB_NODE >>>>>>>>>> MB_QUEUE >>>>>>>>>> MB_QUEUE_COUNTER >>>>>>>>>> MB_QUEUE_MAPPING >>>>>>>>>> >>>>>>>>>> Cheers! >>>>>>>>>> >>>>>>>>>> On Wed, May 20, 2015 at 10:14 PM, Amalka Subasinghe < >>>>>>>>>> [email protected]> wrote: >>>>>>>>>> >>>>>>>>>>> Hi, >>>>>>>>>>> >>>>>>>>>>> I'm trying to setup MB cluster with 2 MB nodes. When I start the >>>>>>>>>>> MB node with -Dsetup following error was thrown. >>>>>>>>>>> Do I need to create tables manually for wso2_mb (MB store db)? >>>>>>>>>>> >>>>>>>>>>> 2015-05-20 22:01:04,676] ERROR >>>>>>>>>>> {org.wso2.andes.server.registry.ApplicationRegistry} - >>>>>>>>>>> org.wso2.andes.kernel.AndesException: Error occurred while >>>>>>>>>>> retrieving all >>>>>>>>>>> queue information. >>>>>>>>>>> Exception during startup: java.lang.Exception: >>>>>>>>>>> org.wso2.andes.kernel.AndesException: Error occurred while >>>>>>>>>>> retrieving all >>>>>>>>>>> queue information. >>>>>>>>>>> java.lang.Exception: org.wso2.andes.kernel.AndesException: Error >>>>>>>>>>> occurred while retrieving all queue information. >>>>>>>>>>> at >>>>>>>>>>> org.wso2.andes.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:266) >>>>>>>>>>> at >>>>>>>>>>> org.wso2.andes.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:147) >>>>>>>>>>> at org.wso2.andes.server.Broker.startupImpl(Broker.java:147) >>>>>>>>>>> at org.wso2.andes.server.Broker.startup(Broker.java:108) >>>>>>>>>>> at org.wso2.andes.server.Main.startBroker(Main.java:218) >>>>>>>>>>> at org.wso2.andes.server.Main.execute(Main.java:207) >>>>>>>>>>> at org.wso2.andes.server.Main.<init>(Main.java:48) >>>>>>>>>>> at org.wso2.andes.server.Main.main(Main.java:41) >>>>>>>>>>> at >>>>>>>>>>> org.wso2.carbon.andes.internal.QpidServiceComponent.startAndesBroker(QpidServiceComponent.java:324) >>>>>>>>>>> at >>>>>>>>>>> org.wso2.carbon.andes.internal.QpidServiceComponent.setHazelcastInstance(QpidServiceComponent.java:226) >>>>>>>>>>> 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.ComponentReference.bind(ComponentReference.java:376) >>>>>>>>>>> at >>>>>>>>>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:432) >>>>>>>>>>> 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.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:950) >>>>>>>>>>> at >>>>>>>>>>> org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent.init(HazelcastClusteringAgent.java:223) >>>>>>>>>>> at >>>>>>>>>>> org.wso2.carbon.core.util.ClusteringUtil.enableClustering(ClusteringUtil.java:38) >>>>>>>>>>> at >>>>>>>>>>> org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:174) >>>>>>>>>>> at >>>>>>>>>>> org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:285) >>>>>>>>>>> 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: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:88) >>>>>>>>>>> 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:1279) >>>>>>>>>>> at >>>>>>>>>>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1192) >>>>>>>>>>> at >>>>>>>>>>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087) >>>>>>>>>>> at >>>>>>>>>>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5210) >>>>>>>>>>> at >>>>>>>>>>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5493) >>>>>>>>>>> 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:745) >>>>>>>>>>> Caused by: org.wso2.andes.kernel.AndesException: Error occurred >>>>>>>>>>> while retrieving all queue information. >>>>>>>>>>> at >>>>>>>>>>> org.wso2.andes.store.rdbms.RDBMSAndesContextStoreImpl.getAllQueuesStored(RDBMSAndesContextStoreImpl.java:697) >>>>>>>>>>> at >>>>>>>>>>> org.wso2.andes.kernel.AndesKernelBoot.recoverMapsForEachQueue(AndesKernelBoot.java:133) >>>>>>>>>>> at >>>>>>>>>>> org.wso2.andes.kernel.AndesKernelBoot.recoverDistributedSlotMap(AndesKernelBoot.java:116) >>>>>>>>>>> at >>>>>>>>>>> org.wso2.andes.server.virtualhost.VirtualHostImpl.<init>(VirtualHostImpl.java:210) >>>>>>>>>>> at >>>>>>>>>>> org.wso2.andes.server.virtualhost.VirtualHostImpl.<init>(VirtualHostImpl.java:155) >>>>>>>>>>> at >>>>>>>>>>> org.wso2.andes.server.registry.ApplicationRegistry.createVirtualHost(ApplicationRegistry.java:568) >>>>>>>>>>> at >>>>>>>>>>> org.wso2.andes.server.registry.ApplicationRegistry.initialiseVirtualHosts(ApplicationRegistry.java:327) >>>>>>>>>>> at >>>>>>>>>>> org.wso2.andes.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:261) >>>>>>>>>>> ... 105 more >>>>>>>>>>> Caused by: >>>>>>>>>>> com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table >>>>>>>>>>> 'wso2_mb.MB_QUEUE' doesn't exist >>>>>>>>>>> at >>>>>>>>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native >>>>>>>>>>> Method) >>>>>>>>>>> at >>>>>>>>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) >>>>>>>>>>> at >>>>>>>>>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) >>>>>>>>>>> at >>>>>>>>>>> java.lang.reflect.Constructor.newInstance(Constructor.java:526) >>>>>>>>>>> at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) >>>>>>>>>>> at com.mysql.jdbc.Util.getInstance(Util.java:386) >>>>>>>>>>> at >>>>>>>>>>> com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054) >>>>>>>>>>> at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237) >>>>>>>>>>> at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169) >>>>>>>>>>> at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2617) >>>>>>>>>>> at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2778) >>>>>>>>>>> at >>>>>>>>>>> com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2825) >>>>>>>>>>> at >>>>>>>>>>> com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2156) >>>>>>>>>>> at >>>>>>>>>>> com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2323) >>>>>>>>>>> at >>>>>>>>>>> org.wso2.andes.store.rdbms.RDBMSAndesContextStoreImpl.getAllQueuesStored(RDBMSAndesContextStoreImpl.java:684) >>>>>>>>>>> ... 112 more >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Thanks >>>>>>>>>>> Amalka >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Indika Sampath >>>>>>>>>> Senior Software Engineer >>>>>>>>>> WSO2 Inc. >>>>>>>>>> http://wso2.com >>>>>>>>>> >>>>>>>>>> Phone: +94 716 424 744 >>>>>>>>>> Blog: http://indikasampath.blogspot.com/ >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> >>>>>>>>> Amalka Subasinghe >>>>>>>>> Senior Software Engineer >>>>>>>>> WSO2 Inc. >>>>>>>>> Mobile: +94 77 9401267 >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> Dev mailing list >>>>>>>>> [email protected] >>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Amalka Subasinghe >>>>>>> Senior Software Engineer >>>>>>> WSO2 Inc. >>>>>>> Mobile: +94 77 9401267 >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Indika Sampath >>>>>> Senior Software Engineer >>>>>> WSO2 Inc. >>>>>> http://wso2.com >>>>>> >>>>>> Phone: +94 716 424 744 >>>>>> Blog: http://indikasampath.blogspot.com/ >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Dev mailing list >>>>>> [email protected] >>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> *Hasitha Abeykoon* >>>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com >>>>> *cell:* *+94 719363063* >>>>> *blog: **abeykoon.blogspot.com* <http://abeykoon.blogspot.com> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Dev mailing list >>>>> [email protected] >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> [email protected] >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> Ramith Jayasinghe >>> Technical Lead >>> WSO2 Inc., http://wso2.com >>> lean.enterprise.middleware >>> >>> E: [email protected] >>> P: +94 777542851 >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> *Asitha Nanayakkara* >> Software Engineer >> WSO2, Inc. http://wso2.com/ >> Mob: + 94 77 85 30 682 >> >> > > > -- > *Asitha Nanayakkara* > Software Engineer > WSO2, Inc. http://wso2.com/ > Mob: + 94 77 85 30 682 > > -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear.
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
