Hi, folks --I'm evaluating Usergrid as a candidate for our cloud service backend, and am attempting to set up a simple, single-node, single-server installation of it, but can't get it to respond; http://localhost:8080/status comes back with a blank 404.
I'm following the instructions here: https://usergrid.apache.org/docs/installation/deployment-guide.html.
OS: Ubuntu 16.04 (server) Java version: 1.8.0_91 (Oracle) Cassandra: $ cqlsh Connected to Test Cluster at 127.0.0.1:9042. [cqlsh 5.0.1 | Cassandra 3.0.6 | CQL spec 3.4.0 | Native protocol v4] Use HELP for help. Elasticsearch: $ curl http://localhost:9200 { "name" : "Devos the Devastator", "cluster_name" : "elasticsearch", "version" : { "number" : "2.3.3", "build_hash" : "218bdf10790eef486ff2c41a3df5cfa32dadcfde", "build_timestamp" : "2016-05-17T15:40:04Z", "build_snapshot" : false, "lucene_version" : "5.5.0" }, "tagline" : "You Know, for Search" } ROOT.war is in /var/lib/tomcat7/webapps. When I start Tomcat7, I get the following in /var/log/tomcat7/catalina.out:14:22:50,304 INFO AbstractLockManager:70 - HLockManagerConfigurator [keyspaceName=Locks, lockManagerCF=HLocks, rowsCacheEnabled=true, locksTTLInMillis=2000, backOffRetryDelayInMillis=100, replicationFac
tor=1, numberOfLockObserverThreads=1, maxSelectSize=10]14:22:50,339 WARN XmlWebApplicationContext:486 - Exception encountered during context initialization - cancelling refresh attempt org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shiroFilter' defined in class path resource [usergrid-rest-context.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor#0 ' defined in class path resource [usergrid-rest-context.xml]: Cannot resolve reference to bean 'securityManager' while setting bean property 'securityManager'; nested exception is org.springframework.bea ns.factory.BeanCreationException: Error creating bean with name 'securityManager' defined in class path resource [usergrid-rest-context.xml]: Cannot resolve reference to bean 'realm' while setting bean p roperty 'realm'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'realm': Injection of autowired dependencies failed; nested exception is org.sp ringframework.beans.factory.BeanCreationException: Could not autowire method: public void org.apache.usergrid.security.shiro.Realm.setEntityManagerFactory(org.apache.usergrid.persistence.EntityManagerFac tory); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [usergrid-core-context.xml]: Cannot resolve reference to bean 'cassandraService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cassandraServ ice' defined in class path resource [usergrid-core-context.xml]: Cannot resolve reference to bean 'lockManager' while setting constructor argument; nested exception is org.springframework.beans.factory.B eanCreationException: Error creating bean with name 'lockManager': Invocation of init method failed; nested exception is me.prettyprint.hector.api.exceptions.HectorException: All host pools marked down.
Retry burden pushed out to client.Related cause: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'shiroFilter': Requested bean is currently in creation: Is there an unresolvable circular
reference? I'm kind of stuck and would appreciate any help. With best regards, Petteri Sulonen
smime.p7s
Description: S/MIME Cryptographic Signature
