Hi Michael,
I have attached full catalina.out logs for your reference. I am seeing this
error while starting tomcat first time after deploying war. Note: I did not
get chance to run those setup script as tomcat did not start properly. I am
using Usergrid-2.1.0-rc1, cassandra-1.2.19 and elasticsearch-1.7. I also
tried same with cassandra-2.2
here is snippet of error
me.prettyprint.hector.api.exceptions.HInvalidRequestException:
InvalidRequestException(why:Keyspace 'Usergrid_Applications' does not exist)
at
me.prettyprint.cassandra.connection.client.HThriftClient.getCassandra(HThriftClient.java:112)
at
me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:251)
at
me.prettyprint.cassandra.service.KeyspaceServiceImpl.operateWithFailover(KeyspaceServiceImpl.java:132)
at
me.prettyprint.cassandra.service.KeyspaceServiceImpl.getSlice(KeyspaceServiceImpl.java:290)
at
me.prettyprint.cassandra.service.VirtualKeyspaceServiceImpl.getSlice(VirtualKeyspaceServiceImpl.java:133)
at
me.prettyprint.cassandra.model.thrift.ThriftSliceQuery$1.doInKeyspace(ThriftSliceQuery.java:53)
at
me.prettyprint.cassandra.model.thrift.ThriftSliceQuery$1.doInKeyspace(ThriftSliceQuery.java:49)
at
me.prettyprint.cassandra.model.KeyspaceOperationCallback.doInKeyspaceAndMeasure(KeyspaceOperationCallback.java:20)
at
me.prettyprint.cassandra.model.ExecutingVirtualKeyspace.doExecute(ExecutingVirtualKeyspace.java:53)
at
me.prettyprint.cassandra.model.thrift.ThriftSliceQuery.execute(ThriftSliceQuery.java:48)
at
org.apache.usergrid.mq.cassandra.io.AbstractSearch.getQueueBounds(AbstractSearch.java:263)
at
org.apache.usergrid.mq.cassandra.io.ConsumerTransaction.getResults(ConsumerTransaction.java:213)
at
org.apache.usergrid.mq.cassandra.QueueManagerImpl.getFromQueue(QueueManagerImpl.java:412)
at
org.apache.usergrid.batch.service.SchedulerServiceImpl.getJobs(SchedulerServiceImpl.java:168)
at
org.apache.usergrid.batch.service.JobSchedulerService.runOneIteration(JobSchedulerService.java:118)
at
com.google.common.util.concurrent.AbstractScheduledService$1$1.run(AbstractScheduledService.java:174)
at com.google.common.util.concurrent.Callables$3.run(Callables.java:95)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: InvalidRequestException(why:Keyspace 'Usergrid_Applications'
does not exist)
at
org.apache.cassandra.thrift.Cassandra$set_keyspace_result.read(Cassandra.java:5540)
at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
at
org.apache.cassandra.thrift.Cassandra$Client.recv_set_keyspace(Cassandra.java:540)
at
org.apache.cassandra.thrift.Cassandra$Client.set_keyspace(Cassandra.java:527)
at
me.prettyprint.cassandra.connection.client.HThriftClient.getCassandra(HThriftClient.java:110)
... 23 more
Thanks,
Jigar
On Wed, Feb 10, 2016 at 2:09 AM, Michael Russo <[email protected]>
wrote:
> Can you provide the full curl commands (omitting any password) that you
> executed on the tomcat server? Ensure that the following property is set
> as sysadmin privileges are required for the setup:
> *usergrid.sysadmin.login.allowed=true*
>
> What was the http response when running those commands?
>
> Did you notice anything in the catalina.out logs when you executed the
> request? There should be some information if this failed (aside from the
> errors containing "why: Keyspace 'Usergrid_Applications' does not exist
> ").
>
> Thanks.
> -Michael
>
> On Tue, Feb 9, 2016 at 11:11 AM, J Captain <[email protected]> wrote:
>
>> Hi,
>>
>> I am trying to run Usergrid 2.1 code with Cassandra 1.2 and ElesticSearch
>> 1.4. When I start tomcat with ROOT.war I get this error. (why: Keyspace
>> 'Usergrid_Applications' does not exist ) Every where I checked, they are
>> asking to executing three curl commands for setting up the database,
>>
>> Setup calls:
>> PUT http://localhost:8080/system/database/setup
>> PUT http://localhost:8080/system/database/bootstrap
>> GET http://localhost:8080/system/superuser/setup
>>
>> but how can I run them when my tomcat does not start properly? I tried
>> Usergrid1.0 and it works fine. 1.0 does not try to access these keyspace on
>> tomcat start up.
>>
>> I am totally stuck with this issue. Obviously I am missing something.
>> Please help.
>>
>> Thanks,
>> Jigar
>>
>
>
./catalina.sh start; tail -1f ../logs/catalina.out
Using CATALINA_BASE: /mobileiron.com/programs/org.apache.tomcat
Using CATALINA_HOME: /mobileiron.com/programs/org.apache.tomcat
Using CATALINA_TMPDIR: /mobileiron.com/programs/org.apache.tomcat/temp
Using JRE_HOME:
/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home
Using CLASSPATH:
/mobileiron.com/programs/org.apache.tomcat/bin/bootstrap.jar:/mobileiron.com/programs/org.apache.tomcat/bin/tomcat-juli.jar
Tomcat started.
00:06:16,214 INFO discovery:85 - [default]
usergrid-elasticsearch/oTBsRaHnS8yPu3mJzfz4dQ
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=512m;
support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m;
support was removed in 8.0
12-Feb-2016 00:06:34.302 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server version:
Apache Tomcat/8.0.28
12-Feb-2016 00:06:34.303 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server built:
Oct 7 2015 18:25:21 UTC
12-Feb-2016 00:06:34.303 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server number:
8.0.28.0
12-Feb-2016 00:06:34.303 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log OS Name:
Mac OS X
12-Feb-2016 00:06:34.303 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log OS Version:
10.10.5
12-Feb-2016 00:06:34.303 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Architecture:
x86_64
12-Feb-2016 00:06:34.303 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Java Home:
/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre
12-Feb-2016 00:06:34.303 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log JVM Version:
1.8.0_60-b27
12-Feb-2016 00:06:34.303 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:
Oracle Corporation
12-Feb-2016 00:06:34.303 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:
/mobileiron.com/programs/org.apache.tomcat
12-Feb-2016 00:06:34.304 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:
/mobileiron.com/programs/org.apache.tomcat
12-Feb-2016 00:06:34.304 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.util.logging.config.file=/mobileiron.com/programs/org.apache.tomcat/conf/logging.properties
12-Feb-2016 00:06:34.304 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
12-Feb-2016 00:06:34.304 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.awt.headless=true
12-Feb-2016 00:06:34.304 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Dfile.encoding=UTF-8
12-Feb-2016 00:06:34.304 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Xms2048m
12-Feb-2016 00:06:34.305 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Xmx2048m
12-Feb-2016 00:06:34.305 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-XX:PermSize=512m
12-Feb-2016 00:06:34.305 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-XX:MaxPermSize=512m
12-Feb-2016 00:06:34.305 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-XX:ParallelGCThreads=2
12-Feb-2016 00:06:34.305 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-XX:+UseConcMarkSweepGC
12-Feb-2016 00:06:34.305 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-XX:+UseParNewGC
12-Feb-2016 00:06:34.305 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.endorsed.dirs=/mobileiron.com/programs/org.apache.tomcat/endorsed
12-Feb-2016 00:06:34.305 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Dcatalina.base=/mobileiron.com/programs/org.apache.tomcat
12-Feb-2016 00:06:34.306 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Dcatalina.home=/mobileiron.com/programs/org.apache.tomcat
12-Feb-2016 00:06:34.306 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.io.tmpdir=/mobileiron.com/programs/org.apache.tomcat/temp
12-Feb-2016 00:06:34.306 INFO [main]
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based
Apache Tomcat Native library which allows optimal performance in production
environments was not found on the java.library.path:
/Users/jcaptain/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
12-Feb-2016 00:06:34.402 INFO [main] org.apache.coyote.AbstractProtocol.init
Initializing ProtocolHandler ["http-nio-8080"]
12-Feb-2016 00:06:34.422 INFO [main]
org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared
selector for servlet write/read
12-Feb-2016 00:06:34.424 INFO [main] org.apache.coyote.AbstractProtocol.init
Initializing ProtocolHandler ["ajp-nio-8009"]
12-Feb-2016 00:06:34.425 INFO [main]
org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared
selector for servlet write/read
12-Feb-2016 00:06:34.426 INFO [main] org.apache.catalina.startup.Catalina.load
Initialization processed in 411 ms
12-Feb-2016 00:06:34.443 INFO [main]
org.apache.catalina.core.StandardService.startInternal Starting service Catalina
12-Feb-2016 00:06:34.443 INFO [main]
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine:
Apache Tomcat/8.0.28
12-Feb-2016 00:06:34.459 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployWAR Deploying web application
archive /mobileiron.com/programs/org.apache.tomcat/webapps/ROOT.war
00:06:34,631 WARN Slf4jConnectionPoolMonitorImpl:31 - BadRequestException:
[host=127.0.0.1(127.0.0.1):9160, latency=1(1),
attempts=1]InvalidRequestException(why:Keyspace 'Usergrid_Applications' does
not exist)
12-Feb-2016 00:06:39.536 INFO [localhost-startStop-1]
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for
TLDs yet contained no TLDs. Enable debug logging for this logger for a complete
list of JARs that were scanned but no TLDs were found in them. Skipping
unneeded JARs during scanning can improve startup time and JSP compilation time.
00:06:39,625 INFO ContextLoader:285 - Root WebApplicationContext:
initialization started
00:06:39,692 INFO XmlWebApplicationContext:512 - Refreshing Root
WebApplicationContext: startup date [Fri Feb 12 00:06:39 IST 2016]; root of
context hierarchy
00:06:39,724 INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions
from class path resource [usergrid-rest-deploy-context.xml]
00:06:39,775 INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions
from class path resource [usergrid-rest-context.xml]
00:06:39,795 INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions
from class path resource [usergrid-services-context.xml]
00:06:39,921 INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions
from class path resource [usergrid-core-context.xml]
00:06:40,176 INFO DefaultListableBeanFactory:675 - Overriding bean definition
for bean 'securityManager': replacing [Generic bean: class
[org.apache.shiro.mgt.DefaultSecurityManager]; scope=; abstract=false;
lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true;
primary=false; factoryBeanName=null; factoryMethodName=null;
initMethodName=null; destroyMethodName=null; defined in class path resource
[usergrid-services-context.xml]] with [Generic bean: class
[org.apache.usergrid.rest.security.shiro.RestSecurityManager]; scope=;
abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [usergrid-rest-context.xml]]
00:06:40,177 INFO DefaultListableBeanFactory:675 - Overriding bean definition
for bean 'taskExecutor': replacing [Generic bean: class
[org.springframework.core.task.SyncTaskExecutor]; scope=; abstract=false;
lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true;
primary=false; factoryBeanName=null; factoryMethodName=null;
initMethodName=null; destroyMethodName=null; defined in class path resource
[usergrid-services-context.xml]] with [Generic bean: class
[org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor]; scope=;
abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [usergrid-rest-context.xml]]
00:06:40,178 INFO DefaultListableBeanFactory:675 - Overriding bean definition
for bean 'serviceResource': replacing [Generic bean: class
[org.apache.usergrid.rest.applications.ServiceResource]; scope=prototype;
abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
file
[/mobileiron.com/programs/org.apache.tomcat/webapps/ROOT/WEB-INF/classes/org/apache/usergrid/rest/applications/ServiceResource.class]]
with [Generic bean: class
[org.apache.usergrid.rest.applications.ServiceResource]; scope=prototype;
abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [usergrid-rest-context.xml]]
00:06:40,367 INFO PropertiesFactoryBean:172 - Loading properties file from
class path resource [usergrid-default.properties]
00:06:40,367 INFO PropertiesFactoryBean:172 - Loading properties file from
class path resource [usergrid-deployment.properties]
00:06:40,386 INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330
'javax.inject.Inject' annotation found and supported for autowiring
00:06:40,454 INFO RestSecurityManager:56 - Replacing
org.apache.shiro.web.session.mgt.ServletContainerSessionManager@28851524 with
HttpRequestSessionManager
00:06:40,455 WARN DefaultWebSecurityManager:173 - The
org.apache.usergrid.rest.security.shiro.RestSecurityManager implementation
expects SessionManager instances that implement the
org.apache.shiro.web.session.mgt.WebSessionManager interface. The configured
instance is of type
[org.apache.usergrid.rest.security.shiro.session.HttpRequestSessionManager]
which does not implement this interface.. This may cause unexpected behavior.
00:06:40,455 WARN DefaultWebSecurityManager:173 - The
org.apache.usergrid.rest.security.shiro.RestSecurityManager implementation
expects SessionManager instances that implement the
org.apache.shiro.web.session.mgt.WebSessionManager interface. The configured
instance is of type
[org.apache.usergrid.rest.security.shiro.session.HttpRequestSessionManager]
which does not implement this interface.. This may cause unexpected behavior.
00:06:40,469 INFO XmlWebApplicationContext:1376 - Bean 'cacheManager' of type
[class org.apache.shiro.cache.MemoryConstrainedCacheManager] is not eligible
for getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
00:06:40,518 INFO XmlWebApplicationContext:1376 - Bean
'org.springframework.beans.factory.config.MethodInvokingFactoryBean#0' of type
[class org.springframework.beans.factory.config.MethodInvokingFactoryBean] is
not eligible for getting processed by all BeanPostProcessors (for example: not
eligible for auto-proxying)
00:06:40,557 INFO XmlWebApplicationContext:1376 - Bean 'traceTagReporter' of
type [class
org.apache.usergrid.persistence.cassandra.util.Slf4jTraceTagReporter] is not
eligible for getting processed by all BeanPostProcessors (for example: not
eligible for auto-proxying)
00:06:40,558 INFO XmlWebApplicationContext:1376 - Bean 'traceTagManager' of
type [class org.apache.usergrid.persistence.cassandra.util.TraceTagManager] is
not eligible for getting processed by all BeanPostProcessors (for example: not
eligible for auto-proxying)
00:06:40,561 INFO XmlWebApplicationContext:1376 - Bean 'taggedOpTimer' of type
[class org.apache.usergrid.persistence.cassandra.util.TaggedOpTimer] is not
eligible for getting processed by all BeanPostProcessors (for example: not
eligible for auto-proxying)
00:06:40,577 INFO XmlWebApplicationContext:1376 - Bean 'loadBalancingPolicy'
of type [class me.prettyprint.cassandra.connection.DynamicLoadBalancingPolicy]
is not eligible for getting processed by all BeanPostProcessors (for example:
not eligible for auto-proxying)
00:06:40,578 INFO XmlWebApplicationContext:1376 - Bean
'cassandraHostConfigurator' of type [class
me.prettyprint.cassandra.service.CassandraHostConfigurator] is not eligible for
getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
00:06:40,585 INFO CassandraHostRetryService:48 - Downed Host Retry service
started with queue size -1 and retry delay 10s
00:06:40,587 INFO JmxMonitor:52 - Registering JMX
me.prettyprint.cassandra.service_Test
Cluster:ServiceType=ROOT,MonitorType=hector
00:06:40,614 INFO XmlWebApplicationContext:1376 - Bean 'cassandraCluster' of
type [class me.prettyprint.cassandra.service.ThriftCluster] is not eligible for
getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
00:06:40,623 INFO XmlWebApplicationContext:1376 - Bean
'hlockConsistencyLevelPolicy' of type [class
me.prettyprint.cassandra.model.ConfigurableConsistencyLevel] is not eligible
for getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
00:06:40,627 INFO AbstractLockManager:70 - HLockManagerConfigurator
[keyspaceName=Locks, lockManagerCF=HLocks, rowsCacheEnabled=true,
locksTTLInMillis=2000, backOffRetryDelayInMillis=100, replicationFactor=1,
numberOfLockObserverThreads=1, maxSelectSize=10]
00:06:40,662 INFO AbstractLockManager:89 - Keyspace for LockManager already
exists. Skipping creation.
00:06:40,663 INFO AbstractLockManager:98 - Column Family for LockManager
already exists. Skipping creation.
00:06:40,663 INFO XmlWebApplicationContext:1376 - Bean 'lockManager' of type
[class org.apache.usergrid.locking.cassandra.HectorLockManagerImpl] is not
eligible for getting processed by all BeanPostProcessors (for example: not
eligible for auto-proxying)
00:06:40,672 INFO XmlWebApplicationContext:1376 - Bean 'injector' of type
[class org.apache.usergrid.corepersistence.GuiceFactory] is not eligible for
getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
00:06:40,673 INFO GuiceFactory:89 - Loading Core Persistence properties
00:06:40,673 INFO GuiceFactory:106 - hostsString: 127.0.0.1
00:06:40,686 WARN URLConfigurationSource:120 - No URLs will be polled as
dynamic configuration sources.
00:06:40,686 INFO URLConfigurationSource:121 - To enable URLs as dynamic
configuration sources, define System property
archaius.configurationSource.additionalUrls or make config.properties available
on classpath.
00:06:40,698 INFO XmlWebApplicationContext:1376 - Bean 'serviceModule' of type
[class org.apache.usergrid.services.guice.ServiceModuleImpl] is not eligible
for getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
00:06:41,297 WARN GuicyFigModule:352 - No property defaults file
org/apache/usergrid/persistence/core/astyanax/CassandraFig.properties found for
CassandraFig.
00:06:41,303 INFO DynamicPropertyFactory:281 - DynamicPropertyFactory is
initialized with configuration sources:
com.netflix.config.ConcurrentCompositeConfiguration@2c1ed749
00:06:41,446 INFO ConnectionPoolMBeanManager:53 - Registering mbean:
com.netflix.MonitoredResources:type=ASTYANAX,name=UsergridConnectionPool,ServiceType=connectionpool
00:06:41,452 INFO CountingConnectionPoolMonitor:194 - AddHost: 127.0.0.1
00:06:41,452 INFO Slf4jConnectionPoolMonitorImpl:67 - HostAdded:
127.0.0.1(127.0.0.1):9160
00:06:41,465 WARN Slf4jConnectionPoolMonitorImpl:31 - BadRequestException:
[host=127.0.0.1(127.0.0.1):9160, latency=7(10),
attempts=1]InvalidRequestException(why:Keyspace 'Usergrid_Applications' does
not exist)
00:06:41,467 WARN GuicyFigModule:352 - No property defaults file
org/apache/usergrid/persistence/index/IndexFig.properties found for IndexFig.
00:06:41,477 WARN GuicyFigModule:352 - No property defaults file
org/apache/usergrid/persistence/core/metrics/MetricsFig.properties found for
MetricsFig.
00:06:41,484 WARN MetricsFactoryImpl:67 - MetricsService:Logger not started.
00:06:46,215 WARN discovery:91 - [default] waited for 30s and no initial state
was set by the discovery
00:06:46,215 INFO node:261 - [default] started
00:06:46,217 WARN GuicyFigModule:352 - No property defaults file
org/apache/usergrid/persistence/core/guicyfig/ClusterFig.properties found for
ClusterFig.
00:06:46,222 WARN GuicyFigModule:352 - No property defaults file
org/apache/usergrid/persistence/collection/serialization/SerializationFig.properties
found for SerializationFig.
00:06:46,227 INFO XmlWebApplicationContext:1376 - Bean 'injector' of type
[class com.google.inject.internal.InjectorImpl] is not eligible for getting
processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
00:06:46,231 INFO AbstractCluster:90 - found knownPoolHosts:
[127.0.0.1(127.0.0.1):9160]
00:06:46,231 INFO DB:119 - [127.0.0.1(127.0.0.1):9160]
00:06:46,235 INFO XmlWebApplicationContext:1376 - Bean
'consistencyLevelPolicy' of type [class
me.prettyprint.cassandra.model.ConfigurableConsistencyLevel] is not eligible
for getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
00:06:46,242 INFO XmlWebApplicationContext:1376 - Bean 'cassandraService' of
type [class org.apache.usergrid.persistence.cassandra.CassandraService] is not
eligible for getting processed by all BeanPostProcessors (for example: not
eligible for auto-proxying)
00:06:46,269 INFO XmlWebApplicationContext:1376 - Bean 'keyspace' of type
[class me.prettyprint.cassandra.model.ExecutingKeyspace] is not eligible for
getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
00:06:46,271 INFO XmlWebApplicationContext:1376 - Bean 'cassandraCounterStore'
of type [class org.apache.usergrid.count.CassandraCounterStore] is not eligible
for getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
00:06:46,293 INFO XmlWebApplicationContext:1376 - Bean 'batchSubmitter' of
type [class org.apache.usergrid.count.CassandraSubmitter] is not eligible for
getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
00:06:46,294 INFO XmlWebApplicationContext:1376 - Bean 'simpleBatcher' of type
[class org.apache.usergrid.count.SimpleBatcher] is not eligible for getting
processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
00:06:46,294 INFO XmlWebApplicationContext:1376 - Bean 'counterUtils' of type
[class org.apache.usergrid.persistence.cassandra.CounterUtils] is not eligible
for getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
00:06:46,299 WARN GuicyFigModule:352 - No property defaults file
org/apache/usergrid/corepersistence/index/CoreIndexFig.properties found for
CoreIndexFig.
00:06:46,308 WARN GuicyFigModule:352 - No property defaults file
org/apache/usergrid/persistence/graph/GraphFig.properties found for GraphFig.
00:06:46,446 WARN GuicyFigModule:352 - No property defaults file
org/apache/usergrid/persistence/collection/cache/EntityCacheFig.properties
found for EntityCacheFig.
00:06:46,450 WARN GuicyFigModule:352 - No property defaults file
org/apache/usergrid/persistence/collection/scheduler/CollectionSchedulerFig.properties
found for CollectionSchedulerFig.
00:06:46,462 WARN GuicyFigModule:352 - No property defaults file
org/apache/usergrid/corepersistence/index/IndexProcessorFig.properties found
for IndexProcessorFig.
00:06:46,467 WARN GuicyFigModule:352 - No property defaults file
org/apache/usergrid/persistence/queue/QueueFig.properties found for QueueFig.
00:06:46,471 WARN GuicyFigModule:352 - No property defaults file
org/apache/usergrid/corepersistence/asyncevents/AsyncEventsSchedulerFig.properties
found for AsyncEventsSchedulerFig.
00:06:46,479 WARN GuicyFigModule:352 - No property defaults file
org/apache/usergrid/corepersistence/EntityManagerFig.properties found for
EntityManagerFig.
00:06:46,483 WARN GuicyFigModule:352 - No property defaults file
org/apache/usergrid/corepersistence/ApplicationIdCacheFig.properties found for
ApplicationIdCacheFig.
00:06:46,499 INFO XmlWebApplicationContext:1376 - Bean 'entityManagerFactory'
of type [class org.apache.usergrid.corepersistence.CpEntityManagerFactory] is
not eligible for getting processed by all BeanPostProcessors (for example: not
eligible for auto-proxying)
00:06:46,527 INFO XmlWebApplicationContext:1376 - Bean 'mailUtils' of type
[class org.apache.usergrid.utils.MailUtils] is not eligible for getting
processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
00:06:46,536 INFO ManagementServiceImpl:163 -
ManagementServiceImpl.setEntityManagerFactory
00:06:46,551 INFO TokenServiceImpl:183 - access token expires after 604800
seconds
00:06:46,551 INFO TokenServiceImpl:183 - refresh token expires after 604800
seconds
00:06:46,551 INFO TokenServiceImpl:183 - email token expires after 604800
seconds
00:06:46,551 INFO TokenServiceImpl:183 - offline token expires after 604800
seconds
00:06:46,552 INFO XmlWebApplicationContext:1376 - Bean 'tokenService' of type
[class org.apache.usergrid.security.tokens.cassandra.TokenServiceImpl] is not
eligible for getting processed by all BeanPostProcessors (for example: not
eligible for auto-proxying)
00:06:46,563 INFO XmlWebApplicationContext:1376 - Bean 'queueManagerFactory'
of type [class org.apache.usergrid.mq.cassandra.QueueManagerFactoryImpl] is not
eligible for getting processed by all BeanPostProcessors (for example: not
eligible for auto-proxying)
00:06:46,566 INFO XmlWebApplicationContext:1376 - Bean 'schedulerService' of
type [class org.apache.usergrid.batch.service.SchedulerServiceImpl] is not
eligible for getting processed by all BeanPostProcessors (for example: not
eligible for auto-proxying)
00:06:46,571 INFO XmlWebApplicationContext:1376 - Bean 'serviceManagerFactory'
of type [class org.apache.usergrid.services.ServiceManagerFactory] is not
eligible for getting processed by all BeanPostProcessors (for example: not
eligible for auto-proxying)
00:06:46,578 INFO XmlWebApplicationContext:1376 - Bean
'org.apache.usergrid.security.crypto.command.BcryptCommand' of type [class
org.apache.usergrid.security.crypto.command.BcryptCommand] is not eligible for
getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
00:06:46,584 INFO XmlWebApplicationContext:1376 - Bean 'saltProvider' of type
[class org.apache.usergrid.security.salt.NoOpSaltProvider] is not eligible for
getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
00:06:46,584 INFO XmlWebApplicationContext:1376 - Bean
'org.apache.usergrid.security.crypto.command.Md5HashCommand' of type [class
org.apache.usergrid.security.crypto.command.Md5HashCommand] is not eligible for
getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
00:06:46,589 INFO XmlWebApplicationContext:1376 - Bean
'org.apache.usergrid.security.crypto.command.PlainTextCommand' of type [class
org.apache.usergrid.security.crypto.command.PlainTextCommand] is not eligible
for getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
00:06:46,594 INFO XmlWebApplicationContext:1376 - Bean
'org.apache.usergrid.security.crypto.command.Sha1HashCommand' of type [class
org.apache.usergrid.security.crypto.command.Sha1HashCommand] is not eligible
for getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
00:06:46,594 INFO XmlWebApplicationContext:1376 - Bean 'encryptionService' of
type [class org.apache.usergrid.security.crypto.EncryptionServiceImpl] is not
eligible for getting processed by all BeanPostProcessors (for example: not
eligible for auto-proxying)
00:06:46,595 INFO XmlWebApplicationContext:1376 - Bean 'managementService' of
type [class org.apache.usergrid.management.cassandra.ManagementServiceImpl] is
not eligible for getting processed by all BeanPostProcessors (for example: not
eligible for auto-proxying)
00:06:46,596 INFO AuthorizingRealm:248 - No cache or cacheManager properties
have been set. Authorization cache cannot be obtained.
00:06:46,596 INFO XmlWebApplicationContext:1376 - Bean 'realm' of type [class
org.apache.usergrid.security.shiro.Realm] is not eligible for getting processed
by all BeanPostProcessors (for example: not eligible for auto-proxying)
00:06:46,598 INFO XmlWebApplicationContext:1376 - Bean 'securityManager' of
type [class org.apache.usergrid.rest.security.shiro.RestSecurityManager] is not
eligible for getting processed by all BeanPostProcessors (for example: not
eligible for auto-proxying)
00:06:46,599 INFO XmlWebApplicationContext:1376 - Bean
'org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor#0'
of type [class
org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor]
is not eligible for getting processed by all BeanPostProcessors (for example:
not eligible for auto-proxying)
00:06:46,615 INFO DefaultListableBeanFactory:603 - Pre-instantiating
singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@2e8ad936:
defining beans
[queueJob,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,guiceAdapterBeanFactory,org.springframework.aop.config.internalAutoProxyCreator,propertyPlaceholderConfigurer,microsecondsTimeResolution,traceTagManager,traceTagReporter,taggedOpTimer,cassandraHostConfigurator,cassandraCluster,loadBalancingPolicy,lockManager,hlockConsistencyLevelPolicy,injector,cassandraService,consistencyLevelPolicy,entityManagerFactory,queueManagerFactory,simpleBatcher,batchSubmitter,cassandraCounterStore,counterUtils,usergridSystemMonitor,mailUtils,jobSchedulerBackgroundService,schedulerService,jobFactory,org.apache.usergrid.security.crypto.command.BcryptCommand,org.apache.usergrid.security.crypto.command.Md5HashCommand,org.apache.usergrid.security.crypto.command.PlainTextCommand,org.apache.usergrid.security.crypto.command.Sha1HashCommand,encryptionService,realm,securityManager,lifecycleBeanPostProcessor,org.springframework.beans.factory.config.MethodInvokingFactoryBean#0,taskExecutor,tokenService,managementService,saltProvider,serviceManagerFactory,applicationCreator,signInProviderFactory,exportService,exportJob,serviceModule,notificationsQueueListener,importService,importJob,fileImportJob,org.apache.usergrid.rest.applications.ApplicationResource,org.apache.usergrid.rest.applications.assets.AssetsResource,authResource,org.apache.usergrid.rest.applications.events.EventsResource,org.apache.usergrid.rest.applications.notifiers.NotifierResource,org.apache.usergrid.rest.applications.notifiers.NotifiersResource,queueResource,queueSubscriberResource,queueSubscriptionResource,queueTransactionsResource,serviceResource,org.apache.usergrid.rest.applications.users.UserResource,org.apache.usergrid.rest.applications.users.UsersResource,JSONPCallbackFilter,meteringFilter,tracingFilter,jacksonCustomMapperProvider,managementResource,org.apache.usergrid.rest.management.metrics.MetricsResource,org.apache.usergrid.rest.management.organizations.applications.ApplicationResource,org.apache.usergrid.rest.management.organizations.applications.ApplicationsResource,org.apache.usergrid.rest.management.organizations.applications.imports.FileErrorsResource,org.apache.usergrid.rest.management.organizations.applications.imports.FileIncludesResource,org.apache.usergrid.rest.management.organizations.applications.imports.ImportsResource,org.apache.usergrid.rest.management.organizations.OrganizationResource,org.apache.usergrid.rest.management.organizations.OrganizationsResource,org.apache.usergrid.rest.management.organizations.users.UsersResource,org.apache.usergrid.rest.management.users.organizations.OrganizationsResource,org.apache.usergrid.rest.management.users.UserResource,org.apache.usergrid.rest.management.users.UsersResource,org.apache.usergrid.rest.organizations.OrganizationResource,rootResource,securedResourceFilterFactory,basicAuthSecurityFilter,clientCredentialsSecurityFilter,OAuth2AccessTokenSecurityFilter,applicationsResource,connectionResource,databaseResource,indexResource,migrateResource,systemResource,propertiesResource,refreshIndexResource,serverEnvironmentProperties,apiResponse,org.springframework.aop.framework.autoproxy.DefaultAdvisorAutoProxyCreator#0,org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor#0,shiroFilter,cacheManager,jobServiceBootstrap,localFileBinaryStore,awsSdkS3BinaryStore,properties,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor];
root of factory hierarchy
00:06:46,616 INFO QueueJob:66 - QueueJob created:
org.apache.usergrid.services.notifications.QueueJob@62b85b70
00:06:46,659 INFO node:139 - [default] version[1.4.4], pid[52668],
build[c88f77f/2015-02-19T13:05:36Z]
00:06:46,660 INFO node:141 - [default] initializing ...
00:06:46,666 INFO plugins:151 - [default] loaded [], sites []
00:06:46,798 INFO ThreadPoolTaskExecutor:154 - Initializing ExecutorService
'taskExecutor'
00:06:46,816 INFO ExportJob:43 - ExportJob created
org.apache.usergrid.management.export.ExportJob@661017de
00:06:46,845 INFO ImportJob:50 - ImportJob created
org.apache.usergrid.management.importer.ImportJob@45108d40
00:06:46,849 INFO FileImportJob:51 - FileImportJob created
org.apache.usergrid.management.importer.FileImportJob@505f52f9
00:06:46,854 INFO JSONPCallbackFilter:43 - JSONPCallbackFilter is installed
00:06:46,861 INFO MeteringFilter:74 - MeteringFilter installed
00:06:46,871 INFO JacksonCustomMapperProvider:45 - JacksonCustomMapperProvider
installed
00:06:46,881 INFO ManagementResource:134 - ManagementResource initialized
00:06:46,917 INFO SecuredResourceFilterFactory:77 -
SecuredResourceFilterFactory is installed
00:06:46,922 INFO BasicAuthSecurityFilter:42 - BasicAuthSecurityFilter is
installed
00:06:46,927 INFO ClientCredentialsSecurityFilter:48 -
ClientCredentialsSecurityFilter is installed
00:06:46,931 INFO OAuth2AccessTokenSecurityFilter:66 -
OAuth2AccessTokenSecurityFilter is installed
00:06:46,937 INFO ApplicationsResource:60 - ApplicationsResource initialized
00:06:46,949 INFO DatabaseResource:53 - DatabaseResource initialized
00:06:46,960 INFO MigrateResource:64 - SystemResource initialized
00:06:46,966 INFO SystemResource:54 - SystemResource initialized
00:06:47,004 INFO JobServiceBoostrap:65 - Starting Scheduler Service...
00:06:47,010 INFO JobSchedulerService:367 - Starting executor pool. Capacity
is 4
00:06:47,010 INFO JobSchedulerService:371 - Job Scheduler started
00:06:47,012 INFO QueueListener:96 - QueueListener: starting.
00:06:47,015 INFO JobSchedulerService:97 - Running one check iteration ...
00:06:47,021 INFO QueueListener:116 - QueueListener: Starting thread 1.
00:06:47,023 INFO QueueListener:116 - QueueListener: Starting thread 2.
00:06:47,023 INFO QueueListener:132 - QueueListener: done starting.
00:06:47,024 INFO QueueListener:142 - QueueListener: Starting execute process.
00:06:47,024 INFO QueueListener:142 - QueueListener: Starting execute process.
00:06:47,028 INFO ContextLoader:325 - Root WebApplicationContext:
initialization completed in 44608 ms
00:06:47,029 INFO ShutdownListener:59 - ShutdownListener initialized
00:06:47,037 INFO CassandraMQUtils:249 - QueueManagerFactoryImpl.getFromQueue:
/jobs/
00:06:47,050 INFO Schema:272 - Initializing schema...
00:06:47,141 ERROR AbstractSearch:272 - Error getting oldest queue message ID
me.prettyprint.hector.api.exceptions.HInvalidRequestException:
InvalidRequestException(why:Keyspace 'Usergrid_Applications' does not exist)
at
me.prettyprint.cassandra.connection.client.HThriftClient.getCassandra(HThriftClient.java:112)
at
me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:251)
at
me.prettyprint.cassandra.service.KeyspaceServiceImpl.operateWithFailover(KeyspaceServiceImpl.java:132)
at
me.prettyprint.cassandra.service.KeyspaceServiceImpl.getSlice(KeyspaceServiceImpl.java:290)
at
me.prettyprint.cassandra.service.VirtualKeyspaceServiceImpl.getSlice(VirtualKeyspaceServiceImpl.java:133)
at
me.prettyprint.cassandra.model.thrift.ThriftSliceQuery$1.doInKeyspace(ThriftSliceQuery.java:53)
at
me.prettyprint.cassandra.model.thrift.ThriftSliceQuery$1.doInKeyspace(ThriftSliceQuery.java:49)
at
me.prettyprint.cassandra.model.KeyspaceOperationCallback.doInKeyspaceAndMeasure(KeyspaceOperationCallback.java:20)
at
me.prettyprint.cassandra.model.ExecutingVirtualKeyspace.doExecute(ExecutingVirtualKeyspace.java:53)
at
me.prettyprint.cassandra.model.thrift.ThriftSliceQuery.execute(ThriftSliceQuery.java:48)
at
org.apache.usergrid.mq.cassandra.io.AbstractSearch.getQueueBounds(AbstractSearch.java:263)
at
org.apache.usergrid.mq.cassandra.io.ConsumerTransaction.getResults(ConsumerTransaction.java:213)
at
org.apache.usergrid.mq.cassandra.QueueManagerImpl.getFromQueue(QueueManagerImpl.java:412)
at
org.apache.usergrid.batch.service.SchedulerServiceImpl.getJobs(SchedulerServiceImpl.java:168)
at
org.apache.usergrid.batch.service.JobSchedulerService.runOneIteration(JobSchedulerService.java:118)
at
com.google.common.util.concurrent.AbstractScheduledService$1$1.run(AbstractScheduledService.java:174)
at com.google.common.util.concurrent.Callables$3.run(Callables.java:95)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: InvalidRequestException(why:Keyspace 'Usergrid_Applications' does
not exist)
at
org.apache.cassandra.thrift.Cassandra$set_keyspace_result.read(Cassandra.java:5540)
at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
at
org.apache.cassandra.thrift.Cassandra$Client.recv_set_keyspace(Cassandra.java:540)
at
org.apache.cassandra.thrift.Cassandra$Client.set_keyspace(Cassandra.java:527)
at
me.prettyprint.cassandra.connection.client.HThriftClient.getCassandra(HThriftClient.java:110)
... 23 more
00:06:47,148 INFO SwaggerServlet:75 - init(FilterConfig paramFilterConfig)
00:06:47,148 INFO SwaggerServlet:109 - loadSwagger()
00:06:47,158 INFO Schema:339 - Registering class
org.apache.usergrid.persistence.entities.Activity
12-Feb-2016 00:06:47.192 INFO [localhost-startStop-1]
com.sun.jersey.api.core.PackagesResourceConfig.init Scanning for root resource
and provider classes in the packages:
org.apache.usergrid.rest
00:06:47,229 INFO Schema:339 - Registering class
org.apache.usergrid.persistence.entities.Application
00:06:47,241 INFO Schema:339 - Registering class
org.apache.usergrid.persistence.entities.Asset
00:06:47,244 INFO Schema:339 - Registering class
org.apache.usergrid.persistence.entities.Device
00:06:47,249 INFO Schema:339 - Registering class
org.apache.usergrid.persistence.entities.Event
00:06:47,254 INFO Schema:339 - Registering class
org.apache.usergrid.persistence.entities.Export
00:06:47,258 INFO Schema:339 - Registering class
org.apache.usergrid.persistence.entities.FailedImportConnection
12-Feb-2016 00:06:47.259 INFO [localhost-startStop-1]
com.sun.jersey.api.core.ScanningResourceConfig.logClasses Root resource classes
found:
class org.apache.usergrid.rest.RootResource
class org.apache.usergrid.rest.management.ManagementResource
class org.apache.usergrid.rest.test.RefreshIndexResource
class org.apache.usergrid.rest.system.SystemResource
class org.apache.usergrid.rest.test.PropertiesResource
12-Feb-2016 00:06:47.259 INFO [localhost-startStop-1]
com.sun.jersey.api.core.ScanningResourceConfig.logClasses Provider classes
found:
class
org.apache.usergrid.rest.exceptions.ServiceResourceNotFoundExceptionMapper
class org.apache.usergrid.rest.exceptions.JsonWriteExceptionMapper
class org.apache.usergrid.rest.exceptions.AuthorizationExceptionMapper
class org.apache.usergrid.rest.exceptions.EntityNotFoundExceptionMapper
class org.apache.usergrid.rest.TextToJsonSwapWriter
class org.apache.usergrid.rest.exceptions.PersistenceExceptionMapper
class org.apache.usergrid.rest.exceptions.ThrowableMapper
class org.apache.usergrid.rest.exceptions.QueryTokenExceptionMapper
class org.apache.usergrid.rest.JacksonCustomMapperProvider
class org.apache.usergrid.rest.exceptions.IllegalArgumentExceptionMapper
class org.apache.usergrid.rest.exceptions.RedirectionExceptionMapper
class
org.apache.usergrid.rest.exceptions.ForbiddenServiceOperationExceptionMapper
class org.apache.usergrid.rest.exceptions.QueryParseExceptionMapper
class org.apache.usergrid.rest.exceptions.OAuthProblemExceptionMapper
class
org.apache.usergrid.rest.exceptions.RequiredPropertyNotFoundExceptionMapper
class org.apache.usergrid.rest.exceptions.NoOpExceptionMapper
class
org.apache.usergrid.rest.exceptions.DuplicateUniquePropertyExistsExceptionMapper
class org.apache.usergrid.rest.exceptions.JsonParseExceptionMapper
class
org.apache.usergrid.rest.security.shiro.ShiroAuthenticationExceptionMapper
class org.apache.usergrid.rest.exceptions.RecentlyUsedPasswordExceptionMapper
class org.apache.usergrid.rest.exceptions.ServiceExceptionMapper
class
org.apache.usergrid.rest.exceptions.OrganizationApplicationNotFoundExceptionMapper
class org.apache.usergrid.rest.exceptions.SecurityExceptionMapper
class org.apache.usergrid.rest.exceptions.NotFoundExceptionMapper
class org.apache.usergrid.rest.exceptions.ManagementExceptionMapper
class org.apache.usergrid.rest.exceptions.NotImplementedExceptionMapper
class org.apache.usergrid.rest.exceptions.JsonReadExceptionMapper
class org.apache.usergrid.rest.exceptions.ConflictExceptionMapper
class org.apache.usergrid.rest.exceptions.TransactionNotFoundExceptionMapper
00:06:47,262 INFO Schema:339 - Registering class
org.apache.usergrid.persistence.entities.FailedImportEntity
00:06:47,265 INFO Schema:339 - Registering class
org.apache.usergrid.persistence.entities.FileImport
00:06:47,272 INFO Schema:339 - Registering class
org.apache.usergrid.persistence.entities.Folder
00:06:47,275 INFO Schema:339 - Registering class
org.apache.usergrid.persistence.entities.Group
00:06:47,279 INFO Schema:339 - Registering class
org.apache.usergrid.persistence.entities.Import
00:06:47,283 INFO Schema:339 - Registering class
org.apache.usergrid.persistence.entities.JobData
00:06:47,287 INFO Schema:339 - Registering class
org.apache.usergrid.persistence.entities.JobStat
00:06:47,290 INFO Schema:339 - Registering class
org.apache.usergrid.persistence.entities.Message
00:06:47,295 INFO Schema:339 - Registering class
org.apache.usergrid.persistence.entities.Notification
00:06:47,303 INFO Schema:339 - Registering class
org.apache.usergrid.persistence.entities.Notifier
00:06:47,307 INFO Schema:339 - Registering class
org.apache.usergrid.persistence.entities.Receipt
00:06:47,313 INFO Schema:339 - Registering class
org.apache.usergrid.persistence.entities.Role
00:06:47,319 INFO Schema:339 - Registering class
org.apache.usergrid.persistence.entities.User
00:06:47,324 INFO Schema:339 - Registering class
org.apache.usergrid.persistence.DynamicEntity
00:06:47,327 INFO Schema:275 - Schema initialized
00:06:47,378 WARN Slf4jConnectionPoolMonitorImpl:31 - BadRequestException:
[host=127.0.0.1(127.0.0.1):9160, latency=0(0),
attempts=1]InvalidRequestException(why:Keyspace 'Usergrid_Applications' does
not exist)
00:06:47,400 WARN Slf4jConnectionPoolMonitorImpl:31 - BadRequestException:
[host=127.0.0.1(127.0.0.1):9160, latency=1(1),
attempts=1]InvalidRequestException(why:Keyspace 'Usergrid_Applications' does
not exist)
00:06:47,401 WARN Slf4jConnectionPoolMonitorImpl:31 - BadRequestException:
[host=127.0.0.1(127.0.0.1):9160, latency=1(2),
attempts=1]InvalidRequestException(why:Keyspace 'Usergrid_Applications' does
not exist)
00:06:47,407 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$5(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)
at
rx.internal.operators.OperatorBufferWithSize$1.onNext(OperatorBufferWithSize.java:103)
at
rx.internal.operators.OnSubscribeFromIterable$IterableProducer.slowpath(OnSubscribeFromIterable.java:97)
at
rx.internal.operators.OnSubscribeFromIterable$IterableProducer.request(OnSubscribeFromIterable.java:73)
at
rx.internal.operators.OperatorBufferWithSize$1$1.request(OperatorBufferWithSize.java:88)
at rx.Subscriber.setProducer(Subscriber.java:211)
at rx.Subscriber.setProducer(Subscriber.java:205)
at
rx.internal.operators.OperatorBufferWithSize$1.setProducer(OperatorBufferWithSize.java:74)
at
rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:49)
at
rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:32)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable.subscribe(Observable.java:7804)
at rx.Observable.subscribe(Observable.java:7772)
at
rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:432)
at rx.observables.BlockingObservable.last(BlockingObservable.java:219)
at
org.apache.usergrid.persistence.collection.serialization.impl.MvccEntitySerializationStrategyImpl.load(MvccEntitySerializationStrategyImpl.java:223)
at
org.apache.usergrid.persistence.collection.serialization.impl.MvccEntitySerializationStrategyProxyImpl.load(MvccEntitySerializationStrategyProxyImpl.java:92)
at
org.apache.usergrid.persistence.collection.impl.EntityCollectionManagerImpl$1.call(EntityCollectionManagerImpl.java:252)
at
org.apache.usergrid.persistence.collection.impl.EntityCollectionManagerImpl$1.call(EntityCollectionManagerImpl.java:246)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable.subscribe(Observable.java:7804)
at rx.Observable.subscribe(Observable.java:7772)
at
rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:432)
at
rx.observables.BlockingObservable.lastOrDefault(BlockingObservable.java:252)
at
org.apache.usergrid.corepersistence.CpEntityManager.load(CpEntityManager.java:325)
at
org.apache.usergrid.corepersistence.CpEntityManager.getEntity(CpEntityManager.java:514)
at
org.apache.usergrid.corepersistence.CpEntityManager.get(CpEntityManager.java:481)
at
org.apache.usergrid.corepersistence.CpEntityManager.getApplication(CpEntityManager.java:737)
at
org.apache.usergrid.services.ServiceManager.init(ServiceManager.java:101)
at
org.apache.usergrid.services.ServiceManagerFactory.getServiceManager(ServiceManagerFactory.java:69)
at
org.apache.usergrid.services.notifications.QueueListener.execute(QueueListener.java:145)
at
org.apache.usergrid.services.notifications.QueueListener.access$000(QueueListener.java:47)
at
org.apache.usergrid.services.notifications.QueueListener$1.run(QueueListener.java:121)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.netflix.astyanax.connectionpool.exceptions.BadRequestException:
BadRequestException: [host=127.0.0.1(127.0.0.1):9160, latency=1(2),
attempts=1]InvalidRequestException(why:Keyspace 'Usergrid_Applications' does
not exist)
at
com.netflix.astyanax.thrift.ThriftConverter.ToConnectionPoolException(ThriftConverter.java:159)
at
com.netflix.astyanax.thrift.ThriftSyncConnectionFactoryImpl$ThriftConnection.execute(ThriftSyncConnectionFactoryImpl.java:139)
at
com.netflix.astyanax.connectionpool.impl.AbstractExecuteWithFailoverImpl.tryOperation(AbstractExecuteWithFailoverImpl.java:119)
at
com.netflix.astyanax.connectionpool.impl.AbstractHostPartitionConnectionPool.executeWithFailover(AbstractHostPartitionConnectionPool.java:352)
at
com.netflix.astyanax.thrift.ThriftColumnFamilyQueryImpl$4.execute(ThriftColumnFamilyQueryImpl.java:538)
at
org.apache.usergrid.persistence.collection.serialization.impl.MvccEntitySerializationStrategyImpl.lambda$null$5(MvccEntitySerializationStrategyImpl.java:189)
... 85 more
Caused by: InvalidRequestException(why:Keyspace 'Usergrid_Applications' does
not exist)
at
org.apache.cassandra.thrift.Cassandra$set_keyspace_result.read(Cassandra.java:5540)
at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
at
org.apache.cassandra.thrift.Cassandra$Client.recv_set_keyspace(Cassandra.java:540)
at
org.apache.cassandra.thrift.Cassandra$Client.set_keyspace(Cassandra.java:527)
at
com.netflix.astyanax.thrift.ThriftSyncConnectionFactoryImpl$ThriftConnection.execute(ThriftSyncConnectionFactoryImpl.java:127)
... 89 more
Caused by: rx.exceptions.OnErrorThrowable$OnNextValue: OnError while emitting
onNext value: java.util.ArrayList.class
at
rx.exceptions.OnErrorThrowable.addValueAsLastCause(OnErrorThrowable.java:104)
at rx.internal.operators.OperatorMap$1.onNext(OperatorMap.java:58)
... 84 more
12-Feb-2016 00:06:47.410 INFO [localhost-startStop-1]
com.sun.jersey.spi.spring.container.servlet.SpringServlet.getContext Using
default applicationContext
00:06:47,409 ERROR QueueListener:123 - failed to start push
java.lang.RuntimeException:
org.apache.usergrid.persistence.collection.exception.CollectionRuntimeException:
An error occurred connecting to cassandra
at
org.apache.usergrid.services.ServiceManager.init(ServiceManager.java:111)
at
org.apache.usergrid.services.ServiceManagerFactory.getServiceManager(ServiceManagerFactory.java:69)
at
org.apache.usergrid.services.notifications.QueueListener.execute(QueueListener.java:145)
at
org.apache.usergrid.services.notifications.QueueListener.access$000(QueueListener.java:47)
at
org.apache.usergrid.services.notifications.QueueListener$1.run(QueueListener.java:121)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by:
org.apache.usergrid.persistence.collection.exception.CollectionRuntimeException:
An error occurred connecting to cassandra
at
org.apache.usergrid.persistence.collection.serialization.impl.MvccEntitySerializationStrategyImpl.lambda$null$5(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)
at
rx.internal.operators.OperatorBufferWithSize$1.onNext(OperatorBufferWithSize.java:103)
at
rx.internal.operators.OnSubscribeFromIterable$IterableProducer.slowpath(OnSubscribeFromIterable.java:97)
at
rx.internal.operators.OnSubscribeFromIterable$IterableProducer.request(OnSubscribeFromIterable.java:73)
at
rx.internal.operators.OperatorBufferWithSize$1$1.request(OperatorBufferWithSize.java:88)
at rx.Subscriber.setProducer(Subscriber.java:211)
at rx.Subscriber.setProducer(Subscriber.java:205)
at
rx.internal.operators.OperatorBufferWithSize$1.setProducer(OperatorBufferWithSize.java:74)
at
rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:49)
at
rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:32)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable.subscribe(Observable.java:7804)
at rx.Observable.subscribe(Observable.java:7772)
at
rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:432)
at rx.observables.BlockingObservable.last(BlockingObservable.java:219)
at
org.apache.usergrid.persistence.collection.serialization.impl.MvccEntitySerializationStrategyImpl.load(MvccEntitySerializationStrategyImpl.java:223)
at
org.apache.usergrid.persistence.collection.serialization.impl.MvccEntitySerializationStrategyProxyImpl.load(MvccEntitySerializationStrategyProxyImpl.java:92)
at
org.apache.usergrid.persistence.collection.impl.EntityCollectionManagerImpl$1.call(EntityCollectionManagerImpl.java:252)
at
org.apache.usergrid.persistence.collection.impl.EntityCollectionManagerImpl$1.call(EntityCollectionManagerImpl.java:246)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable.subscribe(Observable.java:7804)
at rx.Observable.subscribe(Observable.java:7772)
at
rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:432)
at
rx.observables.BlockingObservable.lastOrDefault(BlockingObservable.java:252)
at
org.apache.usergrid.corepersistence.CpEntityManager.load(CpEntityManager.java:325)
at
org.apache.usergrid.corepersistence.CpEntityManager.getEntity(CpEntityManager.java:514)
at
org.apache.usergrid.corepersistence.CpEntityManager.get(CpEntityManager.java:481)
at
org.apache.usergrid.corepersistence.CpEntityManager.getApplication(CpEntityManager.java:737)
at
org.apache.usergrid.services.ServiceManager.init(ServiceManager.java:101)
... 9 more
Caused by: com.netflix.astyanax.connectionpool.exceptions.BadRequestException:
BadRequestException: [host=127.0.0.1(127.0.0.1):9160, latency=1(2),
attempts=1]InvalidRequestException(why:Keyspace 'Usergrid_Applications' does
not exist)
at
com.netflix.astyanax.thrift.ThriftConverter.ToConnectionPoolException(ThriftConverter.java:159)
at
com.netflix.astyanax.thrift.ThriftSyncConnectionFactoryImpl$ThriftConnection.execute(ThriftSyncConnectionFactoryImpl.java:139)
at
com.netflix.astyanax.connectionpool.impl.AbstractExecuteWithFailoverImpl.tryOperation(AbstractExecuteWithFailoverImpl.java:119)
at
com.netflix.astyanax.connectionpool.impl.AbstractHostPartitionConnectionPool.executeWithFailover(AbstractHostPartitionConnectionPool.java:352)
at
com.netflix.astyanax.thrift.ThriftColumnFamilyQueryImpl$4.execute(ThriftColumnFamilyQueryImpl.java:538)
at
org.apache.usergrid.persistence.collection.serialization.impl.MvccEntitySerializationStrategyImpl.lambda$null$5(MvccEntitySerializationStrategyImpl.java:189)
... 85 more
Caused by: InvalidRequestException(why:Keyspace 'Usergrid_Applications' does
not exist)
at
org.apache.cassandra.thrift.Cassandra$set_keyspace_result.read(Cassandra.java:5540)
at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
at
org.apache.cassandra.thrift.Cassandra$Client.recv_set_keyspace(Cassandra.java:540)
at
org.apache.cassandra.thrift.Cassandra$Client.set_keyspace(Cassandra.java:527)
at
com.netflix.astyanax.thrift.ThriftSyncConnectionFactoryImpl$ThriftConnection.execute(ThriftSyncConnectionFactoryImpl.java:127)
... 89 more
Caused by: rx.exceptions.OnErrorThrowable$OnNextValue: OnError while emitting
onNext value: java.util.ArrayList.class
at
rx.exceptions.OnErrorThrowable.addValueAsLastCause(OnErrorThrowable.java:104)
at rx.internal.operators.OperatorMap$1.onNext(OperatorMap.java:58)
... 84 more
00:06:47,410 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$5(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)
at
rx.internal.operators.OperatorBufferWithSize$1.onNext(OperatorBufferWithSize.java:103)
at
rx.internal.operators.OnSubscribeFromIterable$IterableProducer.slowpath(OnSubscribeFromIterable.java:97)
at
rx.internal.operators.OnSubscribeFromIterable$IterableProducer.request(OnSubscribeFromIterable.java:73)
at
rx.internal.operators.OperatorBufferWithSize$1$1.request(OperatorBufferWithSize.java:88)
at rx.Subscriber.setProducer(Subscriber.java:211)
at rx.Subscriber.setProducer(Subscriber.java:205)
at
rx.internal.operators.OperatorBufferWithSize$1.setProducer(OperatorBufferWithSize.java:74)
at
rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:49)
at
rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:32)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable.subscribe(Observable.java:7804)
at rx.Observable.subscribe(Observable.java:7772)
at
rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:432)
at rx.observables.BlockingObservable.last(BlockingObservable.java:219)
at
org.apache.usergrid.persistence.collection.serialization.impl.MvccEntitySerializationStrategyImpl.load(MvccEntitySerializationStrategyImpl.java:223)
at
org.apache.usergrid.persistence.collection.serialization.impl.MvccEntitySerializationStrategyProxyImpl.load(MvccEntitySerializationStrategyProxyImpl.java:92)
at
org.apache.usergrid.persistence.collection.impl.EntityCollectionManagerImpl$1.call(EntityCollectionManagerImpl.java:252)
at
org.apache.usergrid.persistence.collection.impl.EntityCollectionManagerImpl$1.call(EntityCollectionManagerImpl.java:246)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable.subscribe(Observable.java:7804)
at rx.Observable.subscribe(Observable.java:7772)
at
rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:432)
at
rx.observables.BlockingObservable.lastOrDefault(BlockingObservable.java:252)
at
org.apache.usergrid.corepersistence.CpEntityManager.load(CpEntityManager.java:325)
at
org.apache.usergrid.corepersistence.CpEntityManager.getEntity(CpEntityManager.java:514)
at
org.apache.usergrid.corepersistence.CpEntityManager.get(CpEntityManager.java:481)
at
org.apache.usergrid.corepersistence.CpEntityManager.getApplication(CpEntityManager.java:737)
at
org.apache.usergrid.services.ServiceManager.init(ServiceManager.java:101)
at
org.apache.usergrid.services.ServiceManagerFactory.getServiceManager(ServiceManagerFactory.java:69)
at
org.apache.usergrid.services.notifications.QueueListener.execute(QueueListener.java:145)
at
org.apache.usergrid.services.notifications.QueueListener.access$000(QueueListener.java:47)
at
org.apache.usergrid.services.notifications.QueueListener$1.run(QueueListener.java:121)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.netflix.astyanax.connectionpool.exceptions.BadRequestException:
BadRequestException: [host=127.0.0.1(127.0.0.1):9160, latency=1(1),
attempts=1]InvalidRequestException(why:Keyspace 'Usergrid_Applications' does
not exist)
at
com.netflix.astyanax.thrift.ThriftConverter.ToConnectionPoolException(ThriftConverter.java:159)
at
com.netflix.astyanax.thrift.ThriftSyncConnectionFactoryImpl$ThriftConnection.execute(ThriftSyncConnectionFactoryImpl.java:139)
at
com.netflix.astyanax.connectionpool.impl.AbstractExecuteWithFailoverImpl.tryOperation(AbstractExecuteWithFailoverImpl.java:119)
at
com.netflix.astyanax.connectionpool.impl.AbstractHostPartitionConnectionPool.executeWithFailover(AbstractHostPartitionConnectionPool.java:352)
at
com.netflix.astyanax.thrift.ThriftColumnFamilyQueryImpl$4.execute(ThriftColumnFamilyQueryImpl.java:538)
at
org.apache.usergrid.persistence.collection.serialization.impl.MvccEntitySerializationStrategyImpl.lambda$null$5(MvccEntitySerializationStrategyImpl.java:189)
... 85 more
Caused by: InvalidRequestException(why:Keyspace 'Usergrid_Applications' does
not exist)
at
org.apache.cassandra.thrift.Cassandra$set_keyspace_result.read(Cassandra.java:5540)
at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
at
org.apache.cassandra.thrift.Cassandra$Client.recv_set_keyspace(Cassandra.java:540)
at
org.apache.cassandra.thrift.Cassandra$Client.set_keyspace(Cassandra.java:527)
at
com.netflix.astyanax.thrift.ThriftSyncConnectionFactoryImpl$ThriftConnection.execute(ThriftSyncConnectionFactoryImpl.java:127)
... 89 more
Caused by: rx.exceptions.OnErrorThrowable$OnNextValue: OnError while emitting
onNext value: java.util.ArrayList.class
at
rx.exceptions.OnErrorThrowable.addValueAsLastCause(OnErrorThrowable.java:104)
at rx.internal.operators.OperatorMap$1.onNext(OperatorMap.java:58)
... 84 more
00:06:47,413 ERROR QueueListener:123 - failed to start push
java.lang.RuntimeException:
org.apache.usergrid.persistence.collection.exception.CollectionRuntimeException:
An error occurred connecting to cassandra
at
org.apache.usergrid.services.ServiceManager.init(ServiceManager.java:111)
at
org.apache.usergrid.services.ServiceManagerFactory.getServiceManager(ServiceManagerFactory.java:69)
at
org.apache.usergrid.services.notifications.QueueListener.execute(QueueListener.java:145)
at
org.apache.usergrid.services.notifications.QueueListener.access$000(QueueListener.java:47)
at
org.apache.usergrid.services.notifications.QueueListener$1.run(QueueListener.java:121)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by:
org.apache.usergrid.persistence.collection.exception.CollectionRuntimeException:
An error occurred connecting to cassandra
at
org.apache.usergrid.persistence.collection.serialization.impl.MvccEntitySerializationStrategyImpl.lambda$null$5(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)
at
rx.internal.operators.OperatorBufferWithSize$1.onNext(OperatorBufferWithSize.java:103)
at
rx.internal.operators.OnSubscribeFromIterable$IterableProducer.slowpath(OnSubscribeFromIterable.java:97)
at
rx.internal.operators.OnSubscribeFromIterable$IterableProducer.request(OnSubscribeFromIterable.java:73)
at
rx.internal.operators.OperatorBufferWithSize$1$1.request(OperatorBufferWithSize.java:88)
at rx.Subscriber.setProducer(Subscriber.java:211)
at rx.Subscriber.setProducer(Subscriber.java:205)
at
rx.internal.operators.OperatorBufferWithSize$1.setProducer(OperatorBufferWithSize.java:74)
at
rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:49)
at
rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:32)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable.subscribe(Observable.java:7804)
at rx.Observable.subscribe(Observable.java:7772)
at
rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:432)
at rx.observables.BlockingObservable.last(BlockingObservable.java:219)
at
org.apache.usergrid.persistence.collection.serialization.impl.MvccEntitySerializationStrategyImpl.load(MvccEntitySerializationStrategyImpl.java:223)
at
org.apache.usergrid.persistence.collection.serialization.impl.MvccEntitySerializationStrategyProxyImpl.load(MvccEntitySerializationStrategyProxyImpl.java:92)
at
org.apache.usergrid.persistence.collection.impl.EntityCollectionManagerImpl$1.call(EntityCollectionManagerImpl.java:252)
at
org.apache.usergrid.persistence.collection.impl.EntityCollectionManagerImpl$1.call(EntityCollectionManagerImpl.java:246)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable.subscribe(Observable.java:7804)
at rx.Observable.subscribe(Observable.java:7772)
at
rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:432)
at
rx.observables.BlockingObservable.lastOrDefault(BlockingObservable.java:252)
at
org.apache.usergrid.corepersistence.CpEntityManager.load(CpEntityManager.java:325)
at
org.apache.usergrid.corepersistence.CpEntityManager.getEntity(CpEntityManager.java:514)
at
org.apache.usergrid.corepersistence.CpEntityManager.get(CpEntityManager.java:481)
at
org.apache.usergrid.corepersistence.CpEntityManager.getApplication(CpEntityManager.java:737)
at
org.apache.usergrid.services.ServiceManager.init(ServiceManager.java:101)
... 9 more
Caused by: com.netflix.astyanax.connectionpool.exceptions.BadRequestException:
BadRequestException: [host=127.0.0.1(127.0.0.1):9160, latency=1(1),
attempts=1]InvalidRequestException(why:Keyspace 'Usergrid_Applications' does
not exist)
at
com.netflix.astyanax.thrift.ThriftConverter.ToConnectionPoolException(ThriftConverter.java:159)
at
com.netflix.astyanax.thrift.ThriftSyncConnectionFactoryImpl$ThriftConnection.execute(ThriftSyncConnectionFactoryImpl.java:139)
at
com.netflix.astyanax.connectionpool.impl.AbstractExecuteWithFailoverImpl.tryOperation(AbstractExecuteWithFailoverImpl.java:119)
at
com.netflix.astyanax.connectionpool.impl.AbstractHostPartitionConnectionPool.executeWithFailover(AbstractHostPartitionConnectionPool.java:352)
at
com.netflix.astyanax.thrift.ThriftColumnFamilyQueryImpl$4.execute(ThriftColumnFamilyQueryImpl.java:538)
at
org.apache.usergrid.persistence.collection.serialization.impl.MvccEntitySerializationStrategyImpl.lambda$null$5(MvccEntitySerializationStrategyImpl.java:189)
... 85 more
Caused by: InvalidRequestException(why:Keyspace 'Usergrid_Applications' does
not exist)
at
org.apache.cassandra.thrift.Cassandra$set_keyspace_result.read(Cassandra.java:5540)
at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
at
org.apache.cassandra.thrift.Cassandra$Client.recv_set_keyspace(Cassandra.java:540)
at
org.apache.cassandra.thrift.Cassandra$Client.set_keyspace(Cassandra.java:527)
at
com.netflix.astyanax.thrift.ThriftSyncConnectionFactoryImpl$ThriftConnection.execute(ThriftSyncConnectionFactoryImpl.java:127)
... 89 more
Caused by: rx.exceptions.OnErrorThrowable$OnNextValue: OnError while emitting
onNext value: java.util.ArrayList.class
at
rx.exceptions.OnErrorThrowable.addValueAsLastCause(OnErrorThrowable.java:104)
at rx.internal.operators.OperatorMap$1.onNext(OperatorMap.java:58)
... 84 more
12-Feb-2016 00:06:47.415 INFO [localhost-startStop-1]
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory.registerSpringBeans
Registering Spring bean, jacksonCustomMapperProvider, of type
org.apache.usergrid.rest.JacksonCustomMapperProvider as a provider class
12-Feb-2016 00:06:47.415 INFO [localhost-startStop-1]
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory.registerSpringBeans
Registering Spring bean, managementResource, of type
org.apache.usergrid.rest.management.ManagementResource as a root resource class
12-Feb-2016 00:06:47.416 INFO [localhost-startStop-1]
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory.registerSpringBeans
Registering Spring bean, rootResource, of type
org.apache.usergrid.rest.RootResource as a root resource class
12-Feb-2016 00:06:47.416 INFO [localhost-startStop-1]
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory.registerSpringBeans
Registering Spring bean, systemResource, of type
org.apache.usergrid.rest.system.SystemResource as a root resource class
12-Feb-2016 00:06:47.416 INFO [localhost-startStop-1]
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory.registerSpringBeans
Registering Spring bean, propertiesResource, of type
org.apache.usergrid.rest.test.PropertiesResource as a root resource class
12-Feb-2016 00:06:47.417 INFO [localhost-startStop-1]
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory.registerSpringBeans
Registering Spring bean, refreshIndexResource, of type
org.apache.usergrid.rest.test.RefreshIndexResource as a root resource class
12-Feb-2016 00:06:47.420 INFO [localhost-startStop-1]
com.sun.jersey.server.impl.application.WebApplicationImpl._initiate Initiating
Jersey application, version 'Jersey: 1.19 02/11/2015 03:25 AM'
00:06:47,856 INFO ContentTypeFilter:67 - Starting content type filter
12-Feb-2016 00:06:47.875 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application
archive /mobileiron.com/programs/org.apache.tomcat/webapps/ROOT.war has
finished in 50,791 ms
12-Feb-2016 00:06:47.878 INFO [main] org.apache.catalina.startup.Catalina.start
Server startup in 50840 ms