From: [email protected]
To: [email protected]
Subject: Usergrid deployment issue: why:Keyspace 'Usergrid_Applications' does 
not exist
Date: Tue, 26 Apr 2016 00:10:26 +0000




Hello,

I am trying to deploy Usergrid 2.1 for a couple of days now, i am getting same 
error again & again.

tried to setup the DB with these commands:

curl -vX PUT http://localhost:8080/system/database/setup -u superuser:test
curl -vX PUT http://localhost:8080/system/database/bootstrap -u superuser:test
curl -vX GET http://localhost:8080/system/superuser/setup -u superuser:test

but still getting same error:

* Closing connection 0
{"error":"uncaught","timestamp":1461628672082,"duration":2,"error_description":"Internal
 Server 
Error","exception":"org.apache.usergrid.rest.exceptions.UncaughtException","error_id":"856e0aff-0b41-11e6-929d-080027184f15"}amro@amro-VirtualBox:~$
 

checked all parameters in /usr/share/tomcat7/lib/usergrid-deployment.properties 

is there any bug in 2.1 usergrid?

it looks it can't connect to cassandra DB:

WARN Slf4jConnectionPoolMonitorImpl:31 - BadRequestException: 
[host=localhost(127.0.0.1):9160, latency=44(110), 
attempts=1]InvalidRequestException(why:Keyspace 'Usergrid_Applications' does 
not exist)

Then
==========
00:56:38,070  WARN Slf4jConnectionPoolMonitorImpl:31 - BadRequestException: 
[host=localhost(127.0.0.1):9160, latency=1(6), attempts=1]InvalidReq
uestException(why:Keyspace 'Usergrid_Applications' does not exist)
00:56:38,103 ERROR ServiceManager:110 - This should never happen
org.apache.usergrid.persistence.collection.exception.CollectionRuntimeException:
 An error occurred connecting to cassandra
        at 
org.apache.usergrid.persistence.collection.serialization.impl.MvccEntitySerializationStrategyImpl.lambda$null$0(MvccEntitySerializationStrategyImpl.java:192)
        at rx.internal.operators.OperatorMap$1.onNext(OperatorMap.java:55)
        at 
rx.internal.util.ScalarSynchronousObservable$1.call(ScalarSynchronousObservable.java:46)
        at 
rx.internal.util.ScalarSynchronousObservable$1.call(ScalarSynchronousObservable.java:35)
        at rx.Observable$2.call(Observable.java:162)
        at rx.Observable$2.call(Observable.java:154)
        at rx.Observable.unsafeSubscribe(Observable.java:7710)
        at 
rx.internal.operators.OperatorSubscribeOn$1$1.call(OperatorSubscribeOn.java:62)
        at 
rx.schedulers.ImmediateScheduler$InnerImmediateScheduler.schedule(ImmediateScheduler.java:58)
        at 
rx.internal.operators.OperatorSubscribeOn$1.onNext(OperatorSubscribeOn.java:57)
        at 
rx.internal.operators.OperatorSubscribeOn$1.onNext(OperatorSubscribeOn.java:43)
        at 
rx.internal.util.ScalarSynchronousObservable$1.call(ScalarSynchronousObservable.java:46)
        at 
rx.internal.util.ScalarSynchronousObservable$1.call(ScalarSynchronousObservable.java:35)
        at rx.Observable$2.call(Observable.java:162)
        at rx.Observable$2.call(Observable.java:154)
        at rx.Observable.unsafeSubscribe(Observable.java:7710)
        at 
rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:231)
        at 
rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:140)
        at rx.internal.operators.OperatorMap$1.onNext(OperatorMap.java:55)

========
tried to connect directly to cassandra and it worked:

VirtualBox:~/mBaaS$ cqlsh
Connected to Test Cluster at localhost:9160.
[cqlsh 3.1.8 | Cassandra 1.2.19 | CQL spec 3.0.5 | Thrift protocol 19.36.2]
Use HELP for help.
cqlsh> 

please help - please help- please help

Thanks v much/
AA

                                          
                                          

Reply via email to