We are trying to setup Apache Usergrid 2.1, with the following configuration:
- CentOS 7
- Cassandra 1.2.19
- Oracle Java 1.8.0_91
- Tomcat 8.0.33
- ElasticSearch 2.3.2
Tomcat, Cassandra and ElasticSearch are running normally, there are no errors in the logs. However, when we deploy usergrid stack (ROOT.war), we get the following error in catalina.out and nothing works.
WARN Slf4jConnectionPoolMonitorImpl:31 - BadRequestException: [host=localhost(127.0.0.1):9160, latency=3(3), attempts=1]InvalidRequestException(why:Keyspace 'Usergrid_Applications' does not exist)
ERROR ServiceManager:110 - This should never happen
org.apache.usergrid.persistence.collection.exception.CollectionRuntimeException: An error occurred connecting to cassandra
This log is written almost every 5 seconds.
Since the application is not running, the proposed database setup urls do not work either.
Btw, we are following this document: https://usergrid.apache.org/docs/installation/deployment-guide.html
We also tried to generate the "Usergrid_Applications" keyspace manually, but that did not work either.
How can we make it work?