Makes sense, thanks for the update Dave M
On 6 June 2014 14:44, Dave <[email protected]> wrote: > Hi Martin, > > Getting all tests passing with our new "Core Persistence" engine and making > the two-dot-o stack deployable is my number one priority. I'm hopeful that > I'll have it working on Tomcat and serving REST requests by next week. > > - Dave > > > > > On Fri, Jun 6, 2014 at 6:18 AM, Martin Harris < > [email protected]> wrote: > > > Thanks Rod, good to know. Do you have a timeline for when it'll be > > deployable? > > > > Also, is the two-dot-o 'Usergrid Launcher' > > (org.apache.usergrid.launcher.App) up and running? When I run it and view > > localhost:8080/status I get the usual friendly json status (including > > "cassandraAvailable" : true), but when I go to > > localhost:8080/system/superuser/setup I get the following (truncated) > > error: > > > > 2014-06-06 14:17:59,225 ERROR (Grizzly(10)) SystemResource - Unable to > > complete superuser setup > > > > java.lang.IllegalArgumentException: cpHeadEntity cannot be null > > > > at org.springframework.util.Assert.notNull(Assert.java:112) > > > > at org.apache.usergrid.corepersistence.CpRelationManager.init( > > CpRelationManager.java:207) > > > > at > org.apache.usergrid.corepersistence.CpEntityManager.getRelationManager( > > CpEntityManager.java:638) > > > > at > > > > > org.apache.usergrid.corepersistence.CpEntityManager.getEntityRefsForUniqueProperty( > > CpEntityManager.java:736) > > > > at org.apache.usergrid.corepersistence.CpEntityManager.getAlias( > > CpEntityManager.java:722) > > > > at org.apache.usergrid.corepersistence.CpEntityManager.getAlias( > > CpEntityManager.java:683) > > > > at > org.apache.usergrid.corepersistence.CpEntityManager.getUserByIdentifier( > > CpEntityManager.java:1802) > > > > at > > > > > org.apache.usergrid.management.cassandra.ManagementServiceImpl.getUserEntityByIdentifier( > > ManagementServiceImpl.java:1036) > > > > at > > > > > org.apache.usergrid.management.cassandra.ManagementServiceImpl.getAdminUserByUsername( > > ManagementServiceImpl.java:1045) > > > > at > > > > > org.apache.usergrid.management.cassandra.ManagementServiceImpl.provisionSuperuser( > > ManagementServiceImpl.java:349) > > > > at org.apache.usergrid.rest.SystemResource.getSetupSuperuser( > > SystemResource.java:101) > > > > > > Cheers > > > > > > M > > > > > > On 6 June 2014 13:53, Rod Simpson <[email protected]> wrote: > > > > > I didn't think the 2-0 branch was quite deployable. Rod Simpson > > > > > > On Fri, Jun 6, 2014 at 7:43 AM, Martin Harris > > > <[email protected]> wrote: > > > > > > > Hi Folks, > > > > I'm having trouble deploying the two-dot-o version of usergrid. I've > > > built > > > > the two-dot-o branch, setup a Cassandra server, and a Tomcat server, > > > copied > > > > the attached usergrid-custom.properties file to the Tomcat's lib > folder > > > and > > > > started Tomcat > > > > When I try to access the server using http://81.95.158.182:8080, it > > > > successfully redirects me to http://81.95.158.182:8080/status but > > > instead > > > > of the usual status, I get the following: > > > > > > > > > > {"error":null,"errorDescription":null,"errorUri":null,"exception":null,"callback":null,"path":null,"uri":null,"status":null,"timestamp":1402057486966,"organization":null,"application":null,"entities":null,"next":null,"cursor":null,"count":null,"action":null,"list":null,"data":null,"applications":null,"metadata":null,"params":null,"counters":null,"credentials":null,"properties":{"status":{"fieldNames":["started","uptime","version","cassandraAvailable","org.apache.usergrid.count.AbstractBatcher","org.apache.usergrid.count.CassandraSubmitter","org.apache.usergrid.rest.filters.MeteringFilter"],"elements":[{"longValue":1402056713227,"doubleValue":1.402056713227E12,"intValue":1897374731,"numberType":"LONG","bigIntegerValue":1402056713227,"decimalValue":1402056713227,"numberValue":1402056713227,"long":true,"integralNumber":true,"number":true,"valueNode":true,"fieldNames":[],"elements":[],"booleanValue":false,"textValue":null,"binaryValue":null,"valueAsInt":1897374731,"valueAsLong":1402056713227,"valueAsDouble":1.402056713227E12,"valueAsBoolean":true,"containerNode":false,"missingNode":false,"bigDecimal":false,"bigInteger":false,"textual":false,"boolean":false,"binary":false,"valueAsText":"1402056713227","floatingPointNumber":false,"int":false,"double":false,"object":false,"pojo":false,"null":false,"array":false,"fields":[]},{"longValue":773745,"doubleValue":773745.0,"intValue":773745,"numberType":"LONG","bigIntegerValue":773745,"decimalValue":773745,"numberValue":773745,"long":true,"integralNumber":true,"number":true,"valueNode":true,"fieldNames":[],"elements":[],"booleanValue":false,"textValue":null,"binaryValue":null,"valueAsInt":773745,"valueAsLong":773745,"valueAsDouble":773745.0,"valueAsBoolean":true,"containerNode":false,"missingNode":false,"bigDecimal":false,"bigInteger":false,"textual":false,"boolean":false,"binary":false,"valueAsText":"773745","floatingPointNumber":false,"int":false,"double":false,"object":false,"pojo":false,"null":false,"array":false,"fields":[]},{"textValue":"2.0.0-SNAPSHOT"}]}}} > > > > Also attached is a copy of the catalina.out log file from the Tomcat > > > server > > > > Any help would be appreciated > > > > Cheers > > > > -- > > > > Martin Harris > > > > Lead Software Engineer > > > > Cloudsoft Corporation Ltd > > > > www.cloudsoftcorp.com > > > > > > > > > > > -- > > Martin Harris > > Lead Software Engineer > > Cloudsoft Corporation Ltd > > www.cloudsoftcorp.com > > Mobile: +44 (0)7989 047-855 > > > -- Martin Harris Lead Software Engineer Cloudsoft Corporation Ltd www.cloudsoftcorp.com Mobile: +44 (0)7989 047-855
