我们在Suse 64位操作系统上安装了WSO2 Message Broker,v2.2.0,单核。我们已将master-datasources.xml配置为指向Oracle数据库。 MB的启动需要几分钟,尤其是:
TID: [0] [MB] [2014-06-11 15:57:53,039] INFO {org.apache.cassandra.thrift.ThriftServer} - Listening for thrift clients... {org.apache.cassandra.thrift.ThriftServer}
TID: [0] [MB] [2014-06-11 15:57:53,219] INFO {org.apache.cassandra.service.GCInspector} - GC for MarkSweepCompact: 407 ms for 1 collections, 60663688 used; max is 1037959168 {org.apache.cassandra.service.GCInspector}
TID: [0] [MB] [2014-06-11 15:58:39,137] WARN {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Waiting for required OSGi services: org.wso2.carbon.server.admin.common.IServerAdmin,org.wso2.carbon.throttling.agent.ThrottlingAgent, {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent}
TID: [0] [MB] [2014-06-11 15:59:39,136] WARN {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Waiting for required OSGi services: org.wso2.carbon.server.admin.common.IServerAdmin,org.wso2.carbon.throttling.agent.ThrottlingAgent, {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent}
TID: [0] [MB] [2014-06-11 16:00:39,136] WARN {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Waiting for required OSGi services: org.wso2.carbon.server.admin.common.IServerAdmin,org.wso2.carbon.throttling.agent.ThrottlingAgent, {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent}
这是否有原因?
答案 0 :(得分:0)
使用Wso2 MB 220时,当zookeeper / casandra服务器无法正常启动时,我们会收到这些错误。理想情况下,如果启用了群集,则应在MB启动之前正确启动zookeeper(内部或外部)服务器。 进一步如果您尝试在一台计算机上运行MB群集并希望在那里运行两个Zookeeper节点,那么很可能您将最终遇到这些OSGI级错误。请关注http://indikasampath.blogspot.com/2014/05/wso2-message-broker-cluster-setup-in.html上的博客文章以获取有关WSO2的配置详细信息单个计算机上的Message Broker群集设置