1

我正在尝试使用嵌入式 cassandra 和 rexster 运行 Titan。下载 Titan 发行版 titan-all-0.3.2 并在 linux 机器上解压。解压后这是我运行的命令

$ ./bin/titan.sh 配置/titan-server-rexster.xml 配置/titan-server-cassandra.properties

这是我在日志中看到的内容 启动 RexPro 服务后,它无法部署和启动 grizzly。有人遇到过这个问题吗?

异常堆栈跟踪:

    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)
4

1 回答 1

3

There were some packaging problems in some of the 0.3.2 zip files. You basically need to replace a jar file or two around Jersey to get it to work (or I think use the titan-cassandra distribution instead of titan-all).

You can read more about the issue here and its solution (also reported here), but the answer is:

You should be able to patch 0.3.2 by replacing this jar file in the Titan lib directory:

jersey-core-1.8.jar

with:

jersey-core-1.17 (http://repo1.maven.org/maven2/com/sun/jersey/jersey-core/1.17/jersey-core-1.17.jar)

于 2013-10-19T13:48:52.080 回答