Hi Deep,
I changed the offset value to 1 and tried to start MB Server. It seems
offset value configuration is not fully propagated in to cassandra and i am
getting following error.
[2012-06-12 14:03:35,043] INFO
{org.apache.cassandra.service.StorageService} - Node
localhost/127.0.0.1state jump to normal
[2012-06-12 14:03:35,049] INFO
{org.apache.cassandra.service.StorageService} - Bootstrap/Replace/Move
completed! Now serving reads.
[2012-06-12 14:03:35,050] INFO {org.apache.cassandra.utils.Mx4jTool} -
Will not load MX4J, mx4j-tools.jar is not in the classpath
[2012-06-12 14:03:35,072] INFO
{org.apache.cassandra.thrift.CassandraDaemon} - Binding thrift service to
localhost/127.0.0.1:9161
[2012-06-12 14:03:35,074] INFO
{org.apache.cassandra.thrift.CassandraDaemon} - Using TFastFramedTransport
with a max frame size of 15728640 bytes.
[2012-06-12 14:03:35,076] INFO
{org.apache.cassandra.thrift.CassandraDaemon} - Using
synchronous/threadpool thrift server on localhost/127.0.0.1 : 9161
[2012-06-12 14:03:35,076] INFO
{org.wso2.carbon.cassandra.server.CassandraServerController} - Cassandra
Server Controller Thread was destroyed successfully
[2012-06-12 14:03:35,076] INFO
{org.apache.cassandra.thrift.CassandraDaemon} - Listening for thrift
clients...
[Broker] BRK-1006 : Using configuration :
/home/shammi/wso2/development/trunk/platform/products/mb/modules/distribution/target/wso2mb-2.0.0-SNAPSHOT/repository/conf/advanced/qpid-config.xml
[2012-06-12 14:04:03,770] INFO
{org.wso2.andes.server.registry.ApplicationRegistry} - Initialising
Application
Registry(org.wso2.andes.server.registry.ConfigurationFileApplicationRegistry@120b0058
)
[2012-06-12 14:04:03,795] INFO
{org.wso2.andes.server.plugins.PluginManager} - Opened service trackers
[Broker] BRK-1001 : Startup : Version: 0.11 Build: 90784:90849
[2012-06-12 14:04:03,941] INFO
{org.wso2.andes.server.management.JMXManagedObjectRegistry} - Initialising
managed object registry using platform MBean server
[2012-06-12 14:04:03,946] INFO
{org.wso2.andes.server.security.auth.manager.PrincipalDatabaseAuthenticationManager}
- PrincipalDatabase concrete implementation :
org.wso2.carbon.andes.authentication.andes.CarbonBasedPrincipalDatabase
[2012-06-12 14:04:03,951] INFO
{org.wso2.andes.server.security.auth.manager.PrincipalDatabaseAuthenticationManager}
- Initialised PLAIN SASL provider successfully
[2012-06-12 14:04:03,967] INFO
{org.wso2.andes.server.security.auth.manager.PrincipalDatabaseAuthenticationManager}
- Additional SASL providers successfully registered.
[2012-06-12 14:04:03,968] INFO
{org.wso2.andes.server.security.auth.manager.PrincipalDatabaseAuthenticationManager}
- Registering UserManagementMBean
[Broker] MNG-1001 : Startup
[Broker] MNG-1004 : Ready : Using the platform JMX Agent
[2012-06-12 14:04:04,145] INFO
{me.prettyprint.cassandra.connection.CassandraHostRetryService} - Downed
Host Retry service started with queue size -1 and retry delay 10s
[2012-06-12 14:04:04,155] ERROR
{me.prettyprint.cassandra.connection.HConnectionManager} - Could not start
connection pool for host localhost(127.0.0.1):9160
[2012-06-12 14:04:04,156] INFO
{me.prettyprint.cassandra.connection.CassandraHostRetryService} - Host
detected as down was added to retry queue: localhost(127.0.0.1):9160
[2012-06-12 14:04:04,157] WARN
{me.prettyprint.cassandra.connection.CassandraHostRetryService} - Downed
localhost(127.0.0.1):9160 host still appears to be down: Unable to open
transport to localhost(127.0.0.1):9160 , java.net.ConnectException:
Connection refused
[2012-06-12 14:04:04,164] INFO
{me.prettyprint.cassandra.service.JmxMonitor} - Registering JMX
me.prettyprint.cassandra.service_ClusterOne:ServiceType=hector,MonitorType=hector
Exception during startup:
me.prettyprint.hector.api.exceptions.HectorException: All host pools marked
down. Retry burden pushed out to client.
me.prettyprint.hector.api.exceptions.HectorException: All host pools marked
down. Retry burden pushed out to client.
at
me.prettyprint.cassandra.connection.HConnectionManager.getClientFromLBPolicy(HConnectionManager.java:393)
at
me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:249)
at
me.prettyprint.cassandra.service.AbstractCluster.describeKeyspace(AbstractCluster.java:199)
at
org.wso2.andes.server.store.util.CassandraDataAccessHelper.createKeySpace(CassandraDataAccessHelper.java:146)
at
org.wso2.andes.server.store.CassandraMessageStore.createKeySpace(CassandraMessageStore.java:569)
at
org.wso2.andes.server.store.CassandraMessageStore.performCommonConfiguration(CassandraMessageStore.java:1489)
at
org.wso2.andes.server.store.CassandraMessageStore.configureConfigStore(CassandraMessageStore.java:1605)
at
org.wso2.andes.server.virtualhost.VirtualHostImpl.initialiseMessageStore(VirtualHostImpl.java:407)
at
org.wso2.andes.server.virtualhost.VirtualHostImpl.<init>(VirtualHostImpl.java:235)
at
org.wso2.andes.server.virtualhost.VirtualHostImpl.<init>(VirtualHostImpl.java:171)
at
org.wso2.andes.server.registry.ApplicationRegistry.createVirtualHost(ApplicationRegistry.java:566)
at
org.wso2.andes.server.registry.ApplicationRegistry.initialiseVirtualHosts(ApplicationRegistry.java:325)
at
org.wso2.andes.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:263)
at
org.wso2.andes.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:149)
at org.wso2.andes.server.Broker.startupImpl(Broker.java:142)
at org.wso2.andes.server.Broker.startup(Broker.java:102)
at org.wso2.andes.server.Main.startBroker(Main.java:227)
at org.wso2.andes.server.Main.execute(Main.java:220)
at org.wso2.andes.server.Main.<init>(Main.java:63)
at org.wso2.andes.server.Main.main(Main.java:53)
at
org.wso2.carbon.andes.internal.QpidServiceComponent.activate(QpidServiceComponent.java:183)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
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:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
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:499)
at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:288)
at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
[2012-06-12 14:04:04,189] INFO
{org.apache.cassandra.thrift.CassandraDaemon} - Stop listening to thrift
clients
[2012-06-12 14:04:04,192] INFO {org.apache.cassandra.net.MessagingService}
- Waiting for messaging service to quiesce
[2012-06-12 14:04:04,196] INFO {org.apache.cassandra.net.MessagingService}
- MessagingService shutting down server thread.
Thanks
Shammi
--
Best Regards,*
Shammi Jayasinghe*
Senior Software Engineer; WSO2, Inc.; http://wso2.com,
mobile: +94 71 4493085
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev