我一直試圖在servicemix內運行卡夫卡消費者。消費者能夠正確運行,當我使用mvn駱駝運行它時:運行。然而,到動物園管理員連接失敗裏面的ServiceMix與以下錯誤:卡夫卡消費者無法連接到zookeeper - 會話0x0服務器null
2014-11-05 13:57:08,125 | INFO | l Console Thread | VerifiableProperties | ? ? | 217 - org.apache.servicemix.bundles.kafka_2.10 - 0.8.1.1 | Property zookeeper.connect is overridden to 172.17.0.5:2181
2014-11-05 13:57:08,126 | INFO | l Console Thread | ZookeeperConsumerConnector | ? ? | 217 - org.apache.servicemix.bundles.kafka_2.10 - 0.8.1.1 | [group2_sumit-lm-1415224628125-d456f96e], Connecting to zookeeper instance at 172.17.0.5:2181
2014-11-05 13:57:08,126 | INFO | l Console Thread | ZooKeeper | ? ? | 250 - org.apache.hadoop.zookeeper - 3.4.6 | Initiating client connection, connectString=172.17.0.5:2181 sessionTimeout=6000 [email protected]
2014-11-05 13:57:08,126 | INFO | -172.17.0.5:2181 | ZkEventThread | ? ? | 259 - wrap_mvn_com.github.sgroschupf_zkclient_0.1 - 0.0.0 | Starting ZkClient event thread.
2014-11-05 13:57:08,128 | WARN | 172.17.0.5:2181) | ClientCnxn | ? ? | 250 - org.apache.hadoop.zookeeper - 3.4.6 | Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.lang.NoClassDefFoundError: org/ietf/jgss/GSSException
at org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:945)[250:org.apache.hadoop.zookeeper:3.4.6]
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1003)[250:org.apache.hadoop.zookeeper:3.4.6]
Caused by: java.lang.ClassNotFoundException: org.ietf.jgss.GSSException not found by org.apache.hadoop.zookeeper [250]
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1556)[org.apache.felix.framework-4.4.1.jar:]
at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:77)[org.apache.felix.framework-4.4.1.jar:]
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1993)[org.apache.felix.framework-4.4.1.jar:]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_65]
的飼養員和卡夫卡的搬運工容器內我的本地機器上運行的唯一。這裏的連接不是問題,因爲我可以通過端口2181 telnet到zookeeper。我似乎也無法從zookeeper日誌中得到任何東西。登錄zookeeper是加密格式。有沒有辦法從servicemix或zookeeper內部調試這個問題?
任何指針將真正helfull。