Hi, Could you please tell me how to do that ?
On Thu, Mar 26, 2015 at 11:15 AM, Sajini De Silva <[email protected]> wrote: > Hi Mahesh, > > You can try cleaning the cassandra database and start again. > > Thank you, > Sajini > > On Thu, Mar 26, 2015 at 11:05 AM, Mahesh Chinthaka <[email protected]> > wrote: > >> Hi all, >> >> Im getting following error while starting the server. Any idea on >> resolving this ? >> Is there any way that I could delete existing durable topic subscriptions >> and topics ? That option is not available in UI in this version (2.2.0) >> Log is attached below. >> >> >> [2015-03-25 22:23:58,501] INFO >> {org.wso2.andes.server.store.CassandraMessageStore} - Registered >> Subscription carbon:b338fddd07574deb886f29e2c97b31923aa364b8b8652e66 for >> Topic >> registry.notifications.StoreAssetUpdate._system.governance.recipes.Send_Searched_Tweets >> >> [2015-03-25 22:23:58,581] INFO >> {org.wso2.andes.server.cassandra.QueueDeliveryWorker} - Queue worker >> started for queue: carbon:b338fddd07574deb886f29e2c97b31923aa364b8b8652e66 >> with on flight message checks >> >> [2015-03-25 22:23:59,541] INFO >> {org.wso2.andes.server.store.CassandraMessageStore} - Registered >> Subscription carbon:3e71a8984895669bf94f0334a876bfcc11b1dfde6e90d39b for >> Topic >> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendSearchedTweets >> >> [2015-03-25 22:24:01,138] INFO >> {org.wso2.andes.server.store.CassandraMessageStore} - Registered >> Subscription carbon:a3a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for >> Topic >> registry.notifications.StoreAssetUpdate._system.governance.connections.gmail.1.0.0 >> >> [2015-03-25 22:24:02,472] INFO >> {org.wso2.andes.server.store.CassandraMessageStore} - Registered >> Subscription carbon:fcbae9c4f1945632b616ef7b39ae30be40058f01d370aabb for >> Topic >> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendTweets >> >> [2015-03-25 22:24:03,944] INFO >> {org.wso2.andes.server.store.CassandraMessageStore} - Registered >> Subscription carbon:9938fddd07574deb5bb5a9e2c97b31925ba364b8b8652e66 for >> Topic >> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendSearchedTweest >> >> [2015-03-25 22:24:05,339] INFO >> {org.wso2.andes.server.store.CassandraMessageStore} - Registered >> Subscription carbon:ecbae9c4f1945632b616ef7b39ae30be40058f01d370aabb for >> Topic >> registry.notifications.StoreAssetUpdate._system.governance.recipes.SendTweets >> >> [2015-03-25 22:24:06,241] INFO >> {org.wso2.andes.server.store.CassandraMessageStore} - Registered >> Subscription carbon:2e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b for >> Topic >> registry.notifications.StoreAssetUpdate._system.governance.recipes.SendSearchedTweets >> >> [2015-03-25 22:24:06,910] INFO >> {org.wso2.andes.server.store.CassandraMessageStore} - Registered >> Subscription carbon:a338fddd07574deb886f29e2c97b31923aa364b8b8652e66 for >> Topic >> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.Send_Searched_Tweets >> >> [2015-03-25 22:24:07,750] INFO >> {org.wso2.andes.server.store.CassandraMessageStore} - Registered >> Subscription carbon:e938fddd07574deb5bb5a9e2c97b31925ba364b8b8652e66 for >> Topic >> registry.notifications.StoreAssetUpdate._system.governance.recipes.SendSearchedTweest >> >> [2015-03-25 22:24:08,341] INFO >> {org.wso2.andes.server.store.CassandraMessageStore} - Registered >> Subscription carbon:b3a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for >> Topic >> registry.notifications.StoreLifecycleStateChange._system.governance.connections.gmail.1.0.0 >> >> [2015-03-25 22:24:08,784] INFO >> {org.wso2.andes.server.store.CassandraMessageStore} - Registered >> Subscription carbon:1c761f5aa45b646570c289a9d046936473e314f178a49c85 for >> Topic >> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.a >> >> [2015-03-25 22:24:09,302] INFO >> {org.wso2.andes.server.store.CassandraMessageStore} - Registered >> Subscription carbon:0c761f5aa45b646570c289a9d046936473e314f178a49c85 for >> Topic registry.notifications.StoreAssetUpdate._system.governance.recipes.a >> >> [2015-03-25 22:24:09,685] INFO >> {org.wso2.andes.server.store.CassandraMessageStore} - Registered >> Subscription carbon:93a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for >> Topic >> registry.notifications.StoreLifecycleStateChange._system.governance.connections.twitter.1.0.0 >> >> [2015-03-25 22:24:10,396] INFO >> {org.wso2.andes.server.store.CassandraMessageStore} - Registered >> Subscription carbon:83a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for >> Topic >> registry.notifications.StoreAssetUpdate._system.governance.connections.twitter.1.0.0 >> >> [2015-03-25 22:24:10,701] INFO >> {org.wso2.andes.server.protocol.AMQProtocolEngine} - Closing channel due >> to: Cannot subscribe to queue >> carbon:3e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b as it already has >> an existing exclusive consumer >> >> [2015-03-25 22:24:10,702] INFO >> {org.wso2.andes.server.protocol.AMQProtocolEngine} - Cannot subscribe to >> queue carbon:3e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b as it already >> has an existing exclusive consumer whilst processing:[BasicConsumeBodyImpl: >> ticket=0, queue=carbon:3e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b, >> consumerTag=1, noLocal=false, noAck=false, exclusive=true, nowait=false, >> arguments=null] >> >> [2015-03-25 22:24:10,702] INFO >> {org.wso2.andes.server.protocol.AMQProtocolEngine} - Closing connection >> due to: org.wso2.andes.AMQConnectionException: Cannot subscribe to queue >> carbon:3e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b as it already has >> an existing exclusive consumer [error code 403: access refused] >> >> [2015-03-25 22:24:10,704] INFO >> {org.wso2.andes.client.handler.ConnectionCloseMethodHandler} - >> ConnectionClose frame received >> >> [2015-03-25 22:24:10,704] INFO >> {org.wso2.andes.client.handler.ConnectionCloseMethodHandler} - Error :403: >> access refused:pool-24-thread-3 >> >> [2015-03-25 22:24:10,704] ERROR >> {org.wso2.andes.client.state.AMQStateManager} - No Waiters for error >> saving as last error:Cannot subscribe to queue >> carbon:3e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b as it already has >> an existing exclusive consumer >> >> [2015-03-25 22:24:10,706] ERROR >> {org.wso2.carbon.event.core.internal.builder.EventBrokerHandler} - Can not >> create the event broker >> >> org.wso2.carbon.event.core.exception.EventBrokerConfigurationException: >> Can not get the subscriptions >> >> at >> org.wso2.carbon.event.core.internal.CarbonEventBroker.loadExistingSubscriptions(CarbonEventBroker.java:83) >> >> at >> org.wso2.carbon.event.core.internal.CarbonEventBroker.init(CarbonEventBroker.java:67) >> >> at >> org.wso2.carbon.event.core.internal.CarbonEventBrokerFactory.getEventBroker(CarbonEventBrokerFactory.java:90) >> >> at >> org.wso2.carbon.event.core.internal.builder.EventBrokerBuilder.createEventBroker(EventBrokerBuilder.java:56) >> >> at >> org.wso2.carbon.event.core.internal.builder.EventBrokerHandler.startEventBroker(EventBrokerHandler.java:57) >> >> at >> org.wso2.carbon.event.core.internal.builder.EventBrokerHandler.notifyStart(EventBrokerHandler.java:96) >> >> at >> org.wso2.carbon.andes.internal.QpidServiceComponent.activate(QpidServiceComponent.java:258) >> >> 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.EventBrokerBuilderDS.activate(EventBrokerBuilderDS.java:69) >> >> 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) >> >> Caused by: org.wso2.carbon.event.core.exception.EventBrokerException: Can >> not subscribe to topic >> /registry/notifications/StoreLifecycleStateChange/_system/governance/recipes/SendSearchedTweets >> Error registering consumer: org.wso2.andes.AMQSecurityException: Cannot >> subscribe to queue carbon:3e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b >> as it already has an existing exclusive consumer [error code 403: access >> refused] >> >> at >> org.wso2.carbon.event.core.internal.delivery.jms.JMSDeliveryManager.subscribe(JMSDeliveryManager.java:136) >> >> at >> org.wso2.carbon.event.core.internal.CarbonEventBroker.loadExistingSubscriptions(CarbonEventBroker.java:79) >> >> ... 88 more >> >> Caused by: javax.jms.JMSException: Error registering consumer: >> org.wso2.andes.AMQSecurityException: Cannot subscribe to queue >> carbon:3e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b as it already has >> an existing exclusive consumer [error code 403: access refused] >> >> at org.wso2.andes.client.AMQSession$5.execute(AMQSession.java:2087) >> >> at org.wso2.andes.client.AMQSession$5.execute(AMQSession.java:2030) >> >> at >> org.wso2.andes.client.AMQConnectionDelegate_8_0.executeRetrySupport(AMQConnectionDelegate_8_0.java:315) >> >> at >> org.wso2.andes.client.AMQConnection.executeRetrySupport(AMQConnection.java:621) >> >> at >> org.wso2.andes.client.failover.FailoverRetrySupport.execute(FailoverRetrySupport.java:102) >> >> at >> org.wso2.andes.client.AMQSession.createConsumerImpl(AMQSession.java:2028) >> >> at org.wso2.andes.client.AMQSession.createConsumer(AMQSession.java:1024) >> >> at >> org.wso2.andes.client.AMQSession.createDurableSubscriber(AMQSession.java:1173) >> >> at >> org.wso2.andes.client.AMQSession.createDurableSubscriber(AMQSession.java:1073) >> >> at >> org.wso2.andes.client.AMQTopicSessionAdaptor.createDurableSubscriber(AMQTopicSessionAdaptor.java:73) >> >> at >> org.wso2.carbon.event.core.internal.delivery.jms.JMSDeliveryManager.subscribe(JMSDeliveryManager.java:129) >> >> ... 89 more >> >> Caused by: org.wso2.andes.AMQSecurityException: Cannot subscribe to queue >> carbon:3e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b as it already has >> an existing exclusive consumer [error code 403: access refused] >> >> at >> org.wso2.andes.client.handler.ConnectionCloseMethodHandler.methodReceived(ConnectionCloseMethodHandler.java:85) >> >> at >> org.wso2.andes.client.handler.ClientMethodDispatcherImpl.dispatchConnectionClose(ClientMethodDispatcherImpl.java:192) >> >> at >> org.wso2.andes.framing.amqp_0_91.ConnectionCloseBodyImpl.execute(ConnectionCloseBodyImpl.java:140) >> >> at >> org.wso2.andes.client.state.AMQStateManager.methodReceived(AMQStateManager.java:111) >> >> at >> org.wso2.andes.client.protocol.AMQProtocolHandler.methodBodyReceived(AMQProtocolHandler.java:515) >> >> at >> org.wso2.andes.client.protocol.AMQProtocolSession.methodFrameReceived(AMQProtocolSession.java:456) >> >> at >> org.wso2.andes.framing.AMQMethodBodyImpl.handle(AMQMethodBodyImpl.java:96) >> >> at >> org.wso2.andes.client.protocol.AMQProtocolHandler$2.run(AMQProtocolHandler.java:466) >> >> at org.wso2.andes.pool.Job.processAll(Job.java:109) >> >> at org.wso2.andes.pool.Job.run(Job.java:157) >> >> ... 3 more >> >> [2015-03-25 22:24:10,722] INFO >> {org.wso2.andes.server.handler.ConnectionCloseOkMethodHandler} - Received >> Connection-close-ok >> [2015-03-25 22:24:10,718] ERROR {org.wso2.andes.client.AMQConnection} - >> Throwable Received but no listener set: org.wso2.andes.AMQException: Cannot >> subscribe to queue carbon:3e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b >> as it already has an existing exclusive consumer [error code 403: access >> refused] >> >> -- >> *Mahesh Chinthaka Vidanagama* | Software Engineer >> WSO2, Inc | lean. enterprise. middleware. >> #20, Palm Grove, Colombo 03, Sri Lanka >> Mobile: +94 71 63 63 083 | Work: +94 112 145 345 >> Email: [email protected] | Web: www.wso2.com >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Sajini De SIlva > Software Engineer; WSO2 Inc.; http://wso2.com , > Email: [email protected] > Blog: http://sajinid.blogspot.com/ > Git hub profile: https://github.com/sajinidesilva > > Phone: +94 712797729 > > -- *Mahesh Chinthaka Vidanagama* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 63 63 083 | Work: +94 112 145 345 Email: [email protected] | Web: www.wso2.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
