1

我正在尝试让 usergrid 2.0 运行。我构建了源代码并部署到了 tomcat。当我尝试设置数据库(http://localhost:8080/system/database/setup)时,状态显示 usergrid 正在运行,这会导致错误。“迁移核心持久性时出错”

错误:

{"error":"runtime","timestamp":1234567890,"duration":0,"error_description":"迁移核心持久性时出错","exception":"java.lang.RuntimeException"}

如何解决这个问题?

4

2 回答 2

2

您必须运行 cassandra 1.2.1* 和 Elastic Search 当前版本。您也不能从 1.0 集群升级。

于 2015-03-12T14:39:03.693 回答
0

There could be a variety of things wrong. Maybe your Cassandra and ElasticSearch instances are not available, maybe you have specified the wrong hostnames/ports for them in your usergrid-deployment.properties file, maybe your properties file is not in the Tomcat classpath (or maybe there you are hitting a bug in Usergrid).

Since you see a RuntimeException, there is probably a stack trace in Tomcat's catalina.out log file that could provide information to help you diagnose the problem.

于 2015-03-12T14:42:51.850 回答