2013-10-18 37 views
1

我試圖運行帶有嵌入式cassandra和rexster的Titan。下載Titan發行的titan-all-0.3.2並解包到Linux機器上。拆包後,這是我跑的命令無法啓動具有嵌入式cassandra和rexter的titan服務器

$ ./bin/titan.sh配置/泰坦服務器rexster.xml配置/ titan-server-cassandra.properties

這是我在看日誌 啓動RexPro服務後,無法部署並啓動灰熊。有沒有人有這個問題?

異常堆棧跟蹤:

13/10/18 14:51:31 INFO server.RexProRexsterServer: RexPro serving on port: [8184] 
    Oct 18, 2013 2:51:31 PM org.glassfish.grizzly.servlet.WebappContext deploy 
    INFO: Starting application [jersey] ... 
    Oct 18, 2013 2:51:31 PM org.glassfish.grizzly.servlet.WebappContext deploy 
    SEVERE: [jersey] Exception deploying application. See stack trace for details. 
    java.lang.RuntimeException: com.sun.jersey.api.container.ContainerException: No  WebApplication provider is present 
    at org.glassfish.grizzly.servlet.WebappContext.initServlets(WebappContext.java:1479) 
    at org.glassfish.grizzly.servlet.WebappContext.deploy(WebappContext.java:265) 

回答

3

有一些在0.3.2 zip文件的一些包裝問題。你基本上需要更換澤西島周圍的jar文件,以使其起作用(或者我認爲使用titan-cassandra distribution而不是泰坦全部)。

你可以閱讀更多有關該問題的here及其解決方案(也報道here),但得到的答覆是:

您應該能夠通過在 泰坦替換這個jar文件打補丁0.3.2 lib目錄:

球衣核-1.8.jar

有:

球衣核心,1.17 (http://repo1.maven.org/maven2/com/sun/jersey/jersey-core/1.17/jersey-core-1.17.jar