You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@usergrid.apache.org by Guillaume <gu...@gmail.com> on 2016/03/31 19:30:02 UTC

problem to install / test usergrid

Hi,

I try to install usergrid on Debian/Jessie, I used java sun 8 SE last
version.

It appears I have a problem with elasticsearch, I downloaded the .deb
directly from their website.

sources & config are attached to the mail.

Thank you for helping,
Guillaume

Re: problem to install / test usergrid

Posted by Thành Vũ Trung <v2...@gmail.com>.
Hi,
Sorry for I don't know why is your problem...
But I think you should try again with guideline:
https://usergrid.apache.org/docs/installation/deployment-guide.html
I used to this guideline to install and It was working nice.

On Sat, Apr 2, 2016 at 7:26 PM, Guillaume <gu...@gmail.com> wrote:

> hi,
>
> yes I did it like that :
>
> # curl -v -u tron:g1psy -X PUT http://localhost:8080/system/database/setup
> * Hostname was NOT found in DNS cache
> *   Trying 127.0.0.1...
> * Connected to localhost (127.0.0.1) port 8080 (#0)
> * Server auth using Basic with user 'tron'
> > PUT /system/database/setup HTTP/1.1
> > Authorization: Basic dHJvbjpnMXBzeQ==
> > User-Agent: curl/7.38.0
> > Host: localhost:8080
> > Accept: */*
> >
> < HTTP/1.1 500 Internal Server Error
> * Server Apache-Coyote/1.1 is not blacklisted
> < Server: Apache-Coyote/1.1
> < Access-Control-Allow-Origin: *
> < Content-Type: application/json
> < Content-Length: 218
> < Date: Sat, 02 Apr 2016 11:15:37 GMT
> < Connection: close
> <
> * Closing connection 0
> {"error":"h_invalid_request","timestamp":1459595737973,"duration":1,"error_description":"InvalidRequestException(why:You
> have not logged
> in)","exception":"me.prettyprint.hector.api.exceptions.HInvalidRequestException"}#
>
>
> I attach again my properties file to this email
> : /usr/share/tomcat7/lib/usergrid-deployment.properties
>
> Regards,
> Guillaume
>
> 2016-04-02 12:20 GMT+01:00 Thành Vũ Trung <v2...@gmail.com>:
>
>> Hi Guillaume,
>> How do you run setup request? I guest you used POST method instead of PUT
>> method that required in installation guideline.
>> Please see bellow:
>>
>> curl -X PUT http://localhost:8080/system/database/setup     -u superuser:test
>> curl -X PUT http://localhost:8080/system/database/bootstrap -u superuser:test
>> curl -X GET http://localhost:8080/system/superuser/setup    -u superuser:test
>>
>> You change  superuser:test to you user:password that match with you
>> usergrid-deployment.properties
>>
>> On Sat, Apr 2, 2016 at 4:37 AM, Guillaume <gu...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> It looks better, I have the following problem now :
>>>
>>> # service tomcat7 restart && tail -f /var/log/tomcat7/catalina.out
>>> Apr 01, 2016 10:05:06 PM org.apache.catalina.startup.HostConfig
>>> deployDescriptor
>>> INFO: Deploying configuration descriptor
>>> /etc/tomcat7/Catalina/localhost/host-manager.xml
>>> Apr 01, 2016 10:05:07 PM org.apache.catalina.startup.HostConfig
>>> deployDescriptor
>>> INFO: Deployment of configuration descriptor
>>> /etc/tomcat7/Catalina/localhost/host-manager.xml has finished in 306 ms
>>> Apr 01, 2016 10:05:07 PM org.apache.catalina.startup.HostConfig
>>> deployDescriptor
>>> INFO: Deploying configuration descriptor
>>> /etc/tomcat7/Catalina/localhost/manager.xml
>>> Apr 01, 2016 10:05:07 PM org.apache.catalina.startup.HostConfig
>>> deployDescriptor
>>> INFO: Deployment of configuration descriptor
>>> /etc/tomcat7/Catalina/localhost/manager.xml has finished in 43 ms
>>> Apr 01, 2016 10:05:07 PM org.apache.catalina.startup.HostConfig deployWAR
>>> INFO: Deploying web application archive /var/lib/tomcat7/webapps/ROOT.war
>>> 2016-04-01 22:05:14,531 INFO (localhost-startStop-1)
>>> [org.apache.usergrid.rest.security.shiro.RestSecurityManager] - Replacing
>>> org.apache.shiro.web.session.mgt.ServletContainerSessionManager@62bf678e
>>> with HttpRequestSessionManager
>>> 2016-04-01 22:05:14,700 INFO (localhost-startStop-1)
>>> [org.apache.usergrid.corepersistence.GuiceFactory] - Loading Core
>>> Persistence properties
>>> 2016-04-01 22:05:14,708 INFO (localhost-startStop-1)
>>> [org.apache.usergrid.corepersistence.GuiceFactory] - hostsString: 127.0.0.1
>>> 2016-04-01 22:05:16,251 INFO (localhost-startStop-1)
>>> [org.apache.usergrid.locking.cassandra.AstyanaxLockManagerImpl] - Keyspace
>>> Locks created or already exists with options
>>> {strategy_class=org.apache.cassandra.locator.SimpleStrategy,
>>> strategy_options={replication_factor=1}}
>>> 2016-04-01 22:05:16,255 INFO (localhost-startStop-1)
>>> [org.apache.usergrid.locking.cassandra.AstyanaxLockManagerImpl] - Locks
>>> column family AstyanaxLocks exists with options: {gc_grace_seconds=60,
>>> compaction_strategy_options={sstable_size_in_mb=512}, caching=ALL,
>>> compaction_strategy=org.apache.cassandra.db.compaction.LeveledCompactionStrategy}
>>> 2016-04-01 22:05:16,286 WARN (localhost-startStop-1)
>>> [org.apache.usergrid.persistence.core.metrics.MetricsFactoryImpl] -
>>> MetricsService:Logger not started.
>>> 2016-04-01 22:05:21,533 INFO (localhost-startStop-1)
>>> [org.apache.usergrid.persistence.cassandra.DB] - [127.0.0.1(127.0.0.1):9160]
>>> 2016-04-01 22:05:22,043 INFO (localhost-startStop-1)
>>> [org.apache.usergrid.management.cassandra.ManagementServiceImpl] -
>>> ManagementServiceImpl.setEntityManagerFactory
>>> 2016-04-01 22:05:22,113 INFO (localhost-startStop-1)
>>> [org.apache.usergrid.security.tokens.cassandra.TokenServiceImpl] - access
>>> token expires after 604800 seconds
>>> 2016-04-01 22:05:22,114 INFO (localhost-startStop-1)
>>> [org.apache.usergrid.security.tokens.cassandra.TokenServiceImpl] - refresh
>>> token expires after 604800 seconds
>>> 2016-04-01 22:05:22,114 INFO (localhost-startStop-1)
>>> [org.apache.usergrid.security.tokens.cassandra.TokenServiceImpl] - email
>>> token expires after 604800 seconds
>>> 2016-04-01 22:05:22,114 INFO (localhost-startStop-1)
>>> [org.apache.usergrid.security.tokens.cassandra.TokenServiceImpl] - offline
>>> token expires after 604800 seconds
>>> 2016-04-01 22:05:22,453 INFO (localhost-startStop-1)
>>> [org.apache.usergrid.rest.system.QueueSystemResource] - queue resource
>>> initialized
>>> 2016-04-01 22:05:22,458 INFO (localhost-startStop-1)
>>> [org.apache.usergrid.rest.system.ApplicationsResource] -
>>> ApplicationsResource initialized
>>> 2016-04-01 22:05:22,463 INFO (localhost-startStop-1)
>>> [org.apache.usergrid.rest.system.SystemResource] - SystemResource
>>> initialized
>>> 2016-04-01 22:05:22,469 INFO (localhost-startStop-1)
>>> [org.apache.usergrid.rest.system.DatabaseResource] - DatabaseResource
>>> initialized
>>> 2016-04-01 22:05:22,475 INFO (localhost-startStop-1)
>>> [org.apache.usergrid.rest.system.MigrateResource] - SystemResource
>>> initialized
>>> 2016-04-01 22:05:22,495 INFO (localhost-startStop-1)
>>> [org.apache.usergrid.rest.JacksonCustomMapperProvider] -
>>> JacksonCustomMapperProvider installed
>>> 2016-04-01 22:05:22,529 INFO (localhost-startStop-1)
>>> [org.apache.usergrid.rest.JobServiceBoostrap] - Starting Scheduler
>>> Service...
>>> 2016-04-01 22:05:22,535 INFO (JobSchedulerService STARTING)
>>> [org.apache.usergrid.batch.service.JobSchedulerService] - Starting executor
>>> pool.  Capacity is 4
>>> 2016-04-01 22:05:22,536 INFO (JobSchedulerService STARTING)
>>> [org.apache.usergrid.batch.service.JobSchedulerService] - Job Scheduler
>>> started
>>> 2016-04-01 22:05:22,542 INFO (JobSchedulerService RUNNING)
>>> [org.apache.usergrid.batch.service.JobSchedulerService] - Running one check
>>> iteration ...
>>> 2016-04-01 22:05:22,554 INFO (localhost-startStop-1)
>>> [org.apache.usergrid.rest.ShutdownListener] - ShutdownListener initialized
>>> 2016-04-01 22:05:22,571 INFO (JobSchedulerService RUNNING)
>>> [org.apache.usergrid.mq.cassandra.CassandraMQUtils] -
>>> QueueManagerFactoryImpl.getFromQueue: /jobs/
>>> 2016-04-01 22:05:22,585 INFO (QueueListener_PushNotifications-1)
>>> [org.apache.usergrid.persistence.Schema] - Initializing schema...
>>> 2016-04-01 22:05:22,765 INFO (QueueListener_PushNotifications-1)
>>> [org.apache.usergrid.persistence.Schema] - Registering class
>>> org.apache.usergrid.persistence.entities.JobStat
>>> 2016-04-01 22:05:22,888 INFO (QueueListener_PushNotifications-1)
>>> [org.apache.usergrid.persistence.Schema] - Registering class
>>> org.apache.usergrid.persistence.entities.Asset
>>> 2016-04-01 22:05:22,898 ERROR (JobSchedulerService RUNNING)
>>> [org.apache.usergrid.mq.cassandra.io.AbstractSearch] - Error getting oldest
>>> queue message ID
>>> me.prettyprint.hector.api.exceptions.HInvalidRequestException:
>>> InvalidRequestException(why:unconfigured table Queue_Properties)
>>> at
>>> me.prettyprint.cassandra.service.ExceptionsTranslatorImpl.translate(ExceptionsTranslatorImpl.java:52)
>>> at
>>> me.prettyprint.cassandra.service.KeyspaceServiceImpl$7.execute(KeyspaceServiceImpl.java:286)
>>> at
>>> me.prettyprint.cassandra.service.KeyspaceServiceImpl$7.execute(KeyspaceServiceImpl.java:269)
>>> at
>>> me.prettyprint.cassandra.service.Operation.executeAndSetResult(Operation.java:104)
>>> at
>>> me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:253)
>>> 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:265)
>>> at
>>> org.apache.usergrid.mq.cassandra.io.ConsumerTransaction.getResults(ConsumerTransaction.java:215)
>>> at
>>> org.apache.usergrid.mq.cassandra.QueueManagerImpl.getFromQueue(QueueManagerImpl.java:416)
>>> at
>>> org.apache.usergrid.batch.service.SchedulerServiceImpl.getJobs(SchedulerServiceImpl.java:170)
>>> at
>>> org.apache.usergrid.batch.service.JobSchedulerService.runOneIteration(JobSchedulerService.java:119)
>>> 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:unconfigured table
>>> Queue_Properties)
>>> at
>>> org.apache.cassandra.thrift.Cassandra$get_slice_result.read(Cassandra.java:7946)
>>> at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
>>> at
>>> org.apache.cassandra.thrift.Cassandra$Client.recv_get_slice(Cassandra.java:603)
>>> at
>>> org.apache.cassandra.thrift.Cassandra$Client.get_slice(Cassandra.java:587)
>>> at
>>> me.prettyprint.cassandra.service.KeyspaceServiceImpl$7.execute(KeyspaceServiceImpl.java:274)
>>> ... 25 more
>>> 2016-04-01 22:05:22,899 INFO (QueueListener_PushNotifications-1)
>>> [org.apache.usergrid.persistence.Schema] - Registering class
>>> org.apache.usergrid.persistence.entities.FileImport
>>> 2016-04-01 22:05:22,921 INFO (QueueListener_PushNotifications-1)
>>> [org.apache.usergrid.persistence.Schema] - Registering class
>>> org.apache.usergrid.persistence.entities.JobData
>>> 2016-04-01 22:05:22,925 INFO (QueueListener_PushNotifications-1)
>>> [org.apache.usergrid.persistence.Schema] - Registering class
>>> org.apache.usergrid.persistence.entities.Group
>>> 2016-04-01 22:05:22,938 INFO (QueueListener_PushNotifications-1)
>>> [org.apache.usergrid.persistence.Schema] - Registering class
>>> org.apache.usergrid.persistence.entities.Message
>>> 2016-04-01 22:05:22,941 INFO (QueueListener_PushNotifications-1)
>>> [org.apache.usergrid.persistence.Schema] - Registering class
>>> org.apache.usergrid.persistence.entities.Application
>>> 2016-04-01 22:05:22,953 INFO (QueueListener_PushNotifications-1)
>>> [org.apache.usergrid.persistence.Schema] - Registering class
>>> org.apache.usergrid.persistence.entities.Role
>>> 2016-04-01 22:05:22,959 INFO (QueueListener_PushNotifications-1)
>>> [org.apache.usergrid.persistence.Schema] - Registering class
>>> org.apache.usergrid.persistence.entities.Folder
>>> 2016-04-01 22:05:22,965 INFO (QueueListener_PushNotifications-1)
>>> [org.apache.usergrid.persistence.Schema] - Registering class
>>> org.apache.usergrid.persistence.entities.Activity
>>> 2016-04-01 22:05:22,973 INFO (QueueListener_PushNotifications-1)
>>> [org.apache.usergrid.persistence.Schema] - Registering class
>>> org.apache.usergrid.persistence.entities.Notifier
>>> 2016-04-01 22:05:22,980 INFO (QueueListener_PushNotifications-1)
>>> [org.apache.usergrid.persistence.Schema] - Registering class
>>> org.apache.usergrid.persistence.entities.Import
>>> 2016-04-01 22:05:22,984 INFO (QueueListener_PushNotifications-1)
>>> [org.apache.usergrid.persistence.Schema] - Registering class
>>> org.apache.usergrid.persistence.entities.Export
>>> 2016-04-01 22:05:22,990 INFO (QueueListener_PushNotifications-1)
>>> [org.apache.usergrid.persistence.Schema] - Registering class
>>> org.apache.usergrid.persistence.entities.Notification
>>> 2016-04-01 22:05:22,999 INFO (QueueListener_PushNotifications-1)
>>> [org.apache.usergrid.persistence.Schema] - Registering class
>>> org.apache.usergrid.persistence.entities.FailedImportEntity
>>> 2016-04-01 22:05:23,006 INFO (QueueListener_PushNotifications-1)
>>> [org.apache.usergrid.persistence.Schema] - Registering class
>>> org.apache.usergrid.persistence.entities.Device
>>> 2016-04-01 22:05:23,013 INFO (QueueListener_PushNotifications-1)
>>> [org.apache.usergrid.persistence.Schema] - Registering class
>>> org.apache.usergrid.persistence.entities.FailedImportConnection
>>> 2016-04-01 22:05:23,047 INFO (QueueListener_PushNotifications-1)
>>> [org.apache.usergrid.persistence.Schema] - Registering class
>>> org.apache.usergrid.persistence.entities.Event
>>> 2016-04-01 22:05:23,060 INFO (QueueListener_PushNotifications-1)
>>> [org.apache.usergrid.persistence.Schema] - Registering class
>>> org.apache.usergrid.persistence.entities.Receipt
>>> 2016-04-01 22:05:23,066 INFO (QueueListener_PushNotifications-1)
>>> [org.apache.usergrid.persistence.Schema] - Registering class
>>> org.apache.usergrid.persistence.entities.User
>>> 2016-04-01 22:05:23,074 INFO (QueueListener_PushNotifications-1)
>>> [org.apache.usergrid.persistence.Schema] - Registering class
>>> org.apache.usergrid.persistence.DynamicEntity
>>> 2016-04-01 22:05:23,078 INFO (QueueListener_PushNotifications-1)
>>> [org.apache.usergrid.persistence.Schema] - Schema initialized
>>> 2016-04-01 22:05:23,229 ERROR (QueueListener_PushNotifications-2)
>>> [org.apache.usergrid.services.ServiceManager] - Failed to get application
>>> java.lang.RuntimeException: application id
>>> {b6768a08-b5d5-11e3-a495-11ddb1de66c8} is returning null
>>> at
>>> org.apache.usergrid.services.ServiceManager.init(ServiceManager.java:103)
>>> at
>>> org.apache.usergrid.services.ServiceManagerFactory.getServiceManager(ServiceManagerFactory.java:71)
>>> at
>>> org.apache.usergrid.services.notifications.QueueListener.execute(QueueListener.java:158)
>>> at
>>> org.apache.usergrid.services.notifications.QueueListener.access$000(QueueListener.java:47)
>>> at
>>> org.apache.usergrid.services.notifications.QueueListener$1.run(QueueListener.java:125)
>>> 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)
>>> 2016-04-01 22:05:23,230 ERROR (QueueListener_PushNotifications-2)
>>> [org.apache.usergrid.services.ServiceManager] - ServiceManager init failure
>>> java.lang.RuntimeException: application id
>>> {b6768a08-b5d5-11e3-a495-11ddb1de66c8} is returning null
>>> at
>>> org.apache.usergrid.services.ServiceManager.init(ServiceManager.java:103)
>>> at
>>> org.apache.usergrid.services.ServiceManagerFactory.getServiceManager(ServiceManagerFactory.java:71)
>>> at
>>> org.apache.usergrid.services.notifications.QueueListener.execute(QueueListener.java:158)
>>> at
>>> org.apache.usergrid.services.notifications.QueueListener.access$000(QueueListener.java:47)
>>> at
>>> org.apache.usergrid.services.notifications.QueueListener$1.run(QueueListener.java:125)
>>> 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)
>>> 2016-04-01 22:05:23,231 ERROR (QueueListener_PushNotifications-2)
>>> [org.apache.usergrid.services.notifications.QueueListener] - QueueListener:
>>> threads interrupted
>>> java.lang.RuntimeException: java.lang.RuntimeException: application id
>>> {b6768a08-b5d5-11e3-a495-11ddb1de66c8} is returning null
>>> at
>>> org.apache.usergrid.services.ServiceManager.init(ServiceManager.java:111)
>>> at
>>> org.apache.usergrid.services.ServiceManagerFactory.getServiceManager(ServiceManagerFactory.java:71)
>>> at
>>> org.apache.usergrid.services.notifications.QueueListener.execute(QueueListener.java:158)
>>> at
>>> org.apache.usergrid.services.notifications.QueueListener.access$000(QueueListener.java:47)
>>> at
>>> org.apache.usergrid.services.notifications.QueueListener$1.run(QueueListener.java:125)
>>> 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: java.lang.RuntimeException: application id
>>> {b6768a08-b5d5-11e3-a495-11ddb1de66c8} is returning null
>>> at
>>> org.apache.usergrid.services.ServiceManager.init(ServiceManager.java:103)
>>> ... 9 more
>>> 2016-04-01 22:05:23,231 ERROR (QueueListener_PushNotifications-1)
>>> [org.apache.usergrid.services.ServiceManager] - Failed to get application
>>> java.lang.RuntimeException: application id
>>> {b6768a08-b5d5-11e3-a495-11ddb1de66c8} is returning null
>>> at
>>> org.apache.usergrid.services.ServiceManager.init(ServiceManager.java:103)
>>> at
>>> org.apache.usergrid.services.ServiceManagerFactory.getServiceManager(ServiceManagerFactory.java:71)
>>> at
>>> org.apache.usergrid.services.notifications.QueueListener.execute(QueueListener.java:158)
>>> at
>>> org.apache.usergrid.services.notifications.QueueListener.access$000(QueueListener.java:47)
>>> at
>>> org.apache.usergrid.services.notifications.QueueListener$1.run(QueueListener.java:125)
>>> 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)
>>> 2016-04-01 22:05:23,232 ERROR (QueueListener_PushNotifications-1)
>>> [org.apache.usergrid.services.ServiceManager] - ServiceManager init failure
>>> java.lang.RuntimeException: application id
>>> {b6768a08-b5d5-11e3-a495-11ddb1de66c8} is returning null
>>> at
>>> org.apache.usergrid.services.ServiceManager.init(ServiceManager.java:103)
>>> at
>>> org.apache.usergrid.services.ServiceManagerFactory.getServiceManager(ServiceManagerFactory.java:71)
>>> at
>>> org.apache.usergrid.services.notifications.QueueListener.execute(QueueListener.java:158)
>>> at
>>> org.apache.usergrid.services.notifications.QueueListener.access$000(QueueListener.java:47)
>>> at
>>> org.apache.usergrid.services.notifications.QueueListener$1.run(QueueListener.java:125)
>>> 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)
>>> 2016-04-01 22:05:23,233 ERROR (QueueListener_PushNotifications-1)
>>> [org.apache.usergrid.services.notifications.QueueListener] - QueueListener:
>>> threads interrupted
>>> java.lang.RuntimeException: java.lang.RuntimeException: application id
>>> {b6768a08-b5d5-11e3-a495-11ddb1de66c8} is returning null
>>> at
>>> org.apache.usergrid.services.ServiceManager.init(ServiceManager.java:111)
>>> at
>>> org.apache.usergrid.services.ServiceManagerFactory.getServiceManager(ServiceManagerFactory.java:71)
>>> at
>>> org.apache.usergrid.services.notifications.QueueListener.execute(QueueListener.java:158)
>>> at
>>> org.apache.usergrid.services.notifications.QueueListener.access$000(QueueListener.java:47)
>>> at
>>> org.apache.usergrid.services.notifications.QueueListener$1.run(QueueListener.java:125)
>>> 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: java.lang.RuntimeException: application id
>>> {b6768a08-b5d5-11e3-a495-11ddb1de66c8} is returning null
>>> at
>>> org.apache.usergrid.services.ServiceManager.init(ServiceManager.java:103)
>>> ... 9 more
>>> 2016-04-01 22:05:23,833 INFO (localhost-startStop-1)
>>> [org.apache.usergrid.rest.security.shiro.filters.ClientCredentialsSecurityFilter]
>>> - ClientCredentialsSecurityFilter is installed
>>> 2016-04-01 22:05:23,835 INFO (localhost-startStop-1)
>>> [org.apache.usergrid.rest.security.shiro.filters.BasicAuthSecurityFilter] -
>>> BasicAuthSecurityFilter is installed
>>> 2016-04-01 22:05:23,836 INFO (localhost-startStop-1)
>>> [org.apache.usergrid.rest.security.shiro.filters.OAuth2AccessTokenSecurityFilter]
>>> - OAuth2AccessTokenSecurityFilter is installed
>>> 2016-04-01 22:05:23,846 INFO (localhost-startStop-1)
>>> [org.apache.usergrid.rest.security.SecuredResourceFilterFactory] -
>>> SecuredResourceFilterFactory is installed
>>> Apr 01, 2016 10:05:24 PM org.apache.catalina.startup.HostConfig deployWAR
>>> INFO: Deployment of web application archive
>>> /var/lib/tomcat7/webapps/ROOT.war has finished in 17,124 ms
>>> Apr 01, 2016 10:05:24 PM org.apache.catalina.startup.HostConfig
>>> deployDirectory
>>> INFO: Deploying web application directory /var/lib/tomcat7/webapps/portal
>>> Apr 01, 2016 10:05:24 PM org.apache.catalina.startup.HostConfig
>>> deployDirectory
>>> INFO: Deployment of web application directory
>>> /var/lib/tomcat7/webapps/portal has finished in 219 ms
>>> Apr 01, 2016 10:05:24 PM org.apache.coyote.AbstractProtocol start
>>> INFO: Starting ProtocolHandler ["http-bio-8080"]
>>> Apr 01, 2016 10:05:24 PM org.apache.catalina.startup.Catalina start
>>> INFO: Server startup in 17741 ms
>>> 2016-04-01 22:05:27,910 INFO (JobSchedulerService RUNNING)
>>> [org.apache.usergrid.batch.service.JobSchedulerService] - Running one check
>>> iteration ...
>>> 2016-04-01 22:05:27,910 INFO (JobSchedulerService RUNNING)
>>> [org.apache.usergrid.mq.cassandra.CassandraMQUtils] -
>>> QueueManagerFactoryImpl.getFromQueue: /jobs/
>>> 2016-04-01 22:05:28,042 ERROR (JobSchedulerService RUNNING)
>>> [org.apache.usergrid.mq.cassandra.io.AbstractSearch] - Error getting oldest
>>> queue message ID
>>> me.prettyprint.hector.api.exceptions.HInvalidRequestException:
>>> InvalidRequestException(why:unconfigured table Queue_Properties)
>>> at
>>> me.prettyprint.cassandra.service.ExceptionsTranslatorImpl.translate(ExceptionsTranslatorImpl.java:52)
>>> at
>>> me.prettyprint.cassandra.service.KeyspaceServiceImpl$7.execute(KeyspaceServiceImpl.java:286)
>>> at
>>> me.prettyprint.cassandra.service.KeyspaceServiceImpl$7.execute(KeyspaceServiceImpl.java:269)
>>> at
>>> me.prettyprint.cassandra.service.Operation.executeAndSetResult(Operation.java:104)
>>> at
>>> me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:253)
>>> 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:265)
>>> at
>>> org.apache.usergrid.mq.cassandra.io.ConsumerTransaction.getResults(ConsumerTransaction.java:215)
>>> at
>>> org.apache.usergrid.mq.cassandra.QueueManagerImpl.getFromQueue(QueueManagerImpl.java:416)
>>> at
>>> org.apache.usergrid.batch.service.SchedulerServiceImpl.getJobs(SchedulerServiceImpl.java:170)
>>> at
>>> org.apache.usergrid.batch.service.JobSchedulerService.runOneIteration(JobSchedulerService.java:119)
>>> 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:unconfigured table
>>> Queue_Properties)
>>> at
>>> org.apache.cassandra.thrift.Cassandra$get_slice_result.read(Cassandra.java:7946)
>>> at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
>>> at
>>> org.apache.cassandra.thrift.Cassandra$Client.recv_get_slice(Cassandra.java:603)
>>> at
>>> org.apache.cassandra.thrift.Cassandra$Client.get_slice(Cassandra.java:587)
>>> at
>>> me.prettyprint.cassandra.service.KeyspaceServiceImpl$7.execute(KeyspaceServiceImpl.java:274)
>>> ... 25 more
>>> 2016-04-01 22:05:33,043 INFO (JobSchedulerService RUNNING)
>>> [org.apache.usergrid.batch.service.JobSchedulerService] - Running one check
>>> iteration ...
>>> 2016-04-01 22:05:33,043 INFO (JobSchedulerService RUNNING)
>>> [org.apache.usergrid.mq.cassandra.CassandraMQUtils] -
>>> QueueManagerFactoryImpl.getFromQueue: /jobs/
>>> 2016-04-01 22:05:33,171 ERROR (JobSchedulerService RUNNING)
>>> [org.apache.usergrid.mq.cassandra.io.AbstractSearch] - Error getting oldest
>>> queue message ID
>>> me.prettyprint.hector.api.exceptions.HInvalidRequestException:
>>> InvalidRequestException(why:unconfigured table Queue_Properties)
>>> at
>>> me.prettyprint.cassandra.service.ExceptionsTranslatorImpl.translate(ExceptionsTranslatorImpl.java:52)
>>> at
>>> me.prettyprint.cassandra.service.KeyspaceServiceImpl$7.execute(KeyspaceServiceImpl.java:286)
>>> at
>>> me.prettyprint.cassandra.service.KeyspaceServiceImpl$7.execute(KeyspaceServiceImpl.java:269)
>>> at
>>> me.prettyprint.cassandra.service.Operation.executeAndSetResult(Operation.java:104)
>>> at
>>> me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:253)
>>> 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:265)
>>> at
>>> org.apache.usergrid.mq.cassandra.io.ConsumerTransaction.getResults(ConsumerTransaction.java:215)
>>> at
>>> org.apache.usergrid.mq.cassandra.QueueManagerImpl.getFromQueue(QueueManagerImpl.java:416)
>>> at
>>> org.apache.usergrid.batch.service.SchedulerServiceImpl.getJobs(SchedulerServiceImpl.java:170)
>>> at
>>> org.apache.usergrid.batch.service.JobSchedulerService.runOneIteration(JobSchedulerService.java:119)
>>> 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:unconfigured table
>>> Queue_Properties)
>>> at
>>> org.apache.cassandra.thrift.Cassandra$get_slice_result.read(Cassandra.java:7946)
>>> at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
>>> at
>>> org.apache.cassandra.thrift.Cassandra$Client.recv_get_slice(Cassandra.java:603)
>>> at
>>> org.apache.cassandra.thrift.Cassandra$Client.get_slice(Cassandra.java:587)
>>> at
>>> me.prettyprint.cassandra.service.KeyspaceServiceImpl$7.execute(KeyspaceServiceImpl.java:274)
>>> ... 25 more
>>>
>>> I can see status from url http://localhost:8080/status but the init url
>>> aren't working with this message :
>>>
>>> /system/database/setup ->
>>>
>>> {"error":"not_allowed","timestamp":1459542526731,"duration":68,"error_description":"HTTP 405 Method Not Allowed","exception":"javax.ws.rs.NotAllowedException"}
>>>
>>>
>>> /status ->
>>>
>>>
>>> {
>>>   "timestamp" : 1459542566381,
>>>   "duration" : 84,
>>>   "status" : {
>>>     "started" : 1459541122397,
>>>     "uptime" : 1443984,
>>>     "version" : "2.1",
>>>     "cassandraAvailable" : true,
>>>     "cassandraStatus" : "GREEN",
>>>     "managementAppIndexStatus" : "YELLOW",
>>>     "org.apache.usergrid.count.AbstractBatcher" : {
>>>       "add_invocation" : {
>>>         "type" : "timer",
>>>         "unit" : "microseconds",
>>>         "duration" : {
>>>           "min" : 0.0,
>>>           "max" : 0.0,
>>>           "mean" : 0.0,
>>>           "std_dev" : 0.0,
>>>           "median" : 0.0,
>>>           "p75" : 0.0,
>>>           "p95" : 0.0,
>>>           "p98" : 0.0,
>>>           "p99" : 0.0,
>>>           "p999" : 0.0
>>>         },
>>>         "rate" : {
>>>           "unit" : "seconds",
>>>           "count" : 0,
>>>           "mean" : 0.0,
>>>           "m1" : 0.0,
>>>           "m5" : 0.0,
>>>           "m15" : 0.0
>>>         }
>>>       },
>>>       "batch_add_invocations" : {
>>>         "type" : "counter",
>>>         "count" : 0
>>>       }
>>>     },
>>>     "org.apache.usergrid.count.CassandraSubmitter" : {
>>>       "submit_invocation" : {
>>>         "type" : "timer",
>>>         "unit" : "microseconds",
>>>         "duration" : {
>>>           "min" : 0.0,
>>>           "max" : 0.0,
>>>           "mean" : 0.0,
>>>           "std_dev" : 0.0,
>>>           "median" : 0.0,
>>>           "p75" : 0.0,
>>>           "p95" : 0.0,
>>>           "p98" : 0.0,
>>>           "p99" : 0.0,
>>>           "p999" : 0.0
>>>         },
>>>         "rate" : {
>>>           "unit" : "seconds",
>>>           "count" : 0,
>>>           "mean" : 0.0,
>>>           "m1" : 0.0,
>>>           "m5" : 0.0,
>>>           "m15" : 0.0
>>>         }
>>>       }
>>>     }
>>>   }
>>> }
>>>
>>>
>>>
>>>
>>> 2016-04-01 3:18 GMT+01:00 Thành Vũ Trung <v2...@gmail.com>:
>>>
>>>> Hi,
>>>> Please change elasticsearch port in your usergrid-deployment.properties
>>>> to 9300
>>>> 9200 is http elasticsearch port.
>>>>
>>>> Regards.
>>>>
>>>> On Fri, Apr 1, 2016 at 2:22 AM, Guillaume <gu...@gmail.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I re-deployed all that stuff with the good versions but I continue to
>>>>> have this problem here is the catalina.out result :
>>>>>
>>>>> Mar 31, 2016 8:13:29 PM org.apache.catalina.startup.HostConfig
>>>>> deployDescriptor
>>>>> INFO: Deploying configuration descriptor
>>>>> /etc/tomcat7/Catalina/localhost/host-manager.xml
>>>>> Mar 31, 2016 8:13:30 PM org.apache.catalina.startup.HostConfig
>>>>> deployDescriptor
>>>>> INFO: Deployment of configuration descriptor
>>>>> /etc/tomcat7/Catalina/localhost/host-manager.xml has finished in 317 ms
>>>>> Mar 31, 2016 8:13:30 PM org.apache.catalina.startup.HostConfig
>>>>> deployDescriptor
>>>>> INFO: Deploying configuration descriptor
>>>>> /etc/tomcat7/Catalina/localhost/manager.xml
>>>>> Mar 31, 2016 8:13:30 PM org.apache.catalina.startup.HostConfig
>>>>> deployDescriptor
>>>>> INFO: Deployment of configuration descriptor
>>>>> /etc/tomcat7/Catalina/localhost/manager.xml has finished in 66 ms
>>>>> Mar 31, 2016 8:13:30 PM org.apache.catalina.startup.HostConfig
>>>>> deployWAR
>>>>> INFO: Deploying web application archive
>>>>> /var/lib/tomcat7/webapps/ROOT.war
>>>>> 20:13:35,967  INFO ContextLoader:285 - Root WebApplicationContext:
>>>>> initialization started
>>>>> 20:13:36,053  INFO XmlWebApplicationContext:512 - Refreshing Root
>>>>> WebApplicationContext: startup date [Thu Mar 31 20:13:36 CEST 2016]; root
>>>>> of context hierarchy
>>>>> 20:13:36,099  INFO XmlBeanDefinitionReader:316 - Loading XML bean
>>>>> definitions from class path resource [usergrid-rest-deploy-context.xml]
>>>>> 20:13:36,175  INFO XmlBeanDefinitionReader:316 - Loading XML bean
>>>>> definitions from class path resource [usergrid-rest-context.xml]
>>>>> 20:13:36,206  INFO XmlBeanDefinitionReader:316 - Loading XML bean
>>>>> definitions from class path resource [usergrid-services-context.xml]
>>>>> 20:13:36,375  INFO XmlBeanDefinitionReader:316 - Loading XML bean
>>>>> definitions from class path resource [usergrid-core-context.xml]
>>>>> 20:13:36,819  INFO DefaultListableBeanFactory:675 - Overriding bean
>>>>> definition for bean 'injector': replacing [Generic bean: class
>>>>> [org.apache.usergrid.corepersistence.GuiceFactory]; 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-core-context.xml]] with [Generic bean: class
>>>>> [org.apache.usergrid.corepersistence.GuiceFactory]; 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]]
>>>>> 20:13:36,929  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]]
>>>>> 20:13:36,930  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]]
>>>>> 20:13:36,931  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
>>>>> [/var/lib/tomcat7/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]]
>>>>> 20:13:37,359  INFO PropertiesFactoryBean:172 - Loading properties file
>>>>> from class path resource [usergrid-default.properties]
>>>>> 20:13:37,362  INFO PropertiesFactoryBean:172 - Loading properties file
>>>>> from class path resource [usergrid-deployment.properties]
>>>>> 20:13:37,397  INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330
>>>>> 'javax.inject.Inject' annotation found and supported for autowiring
>>>>> 20:13:37,543  INFO RestSecurityManager:56 - Replacing
>>>>> org.apache.shiro.web.session.mgt.ServletContainerSessionManager@7c4b46ba
>>>>> with HttpRequestSessionManager
>>>>> 20:13:37,595  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)
>>>>> 20:13:37,661  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)
>>>>> 20:13:37,663  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)
>>>>> 20:13:37,667  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)
>>>>> 20:13:37,694  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)
>>>>> 20:13:37,695  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)
>>>>> 20:13:37,703  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)
>>>>> 20:13:37,704  INFO GuiceFactory:89 - Loading Core Persistence
>>>>> properties
>>>>> 20:13:37,711  INFO GuiceFactory:107 - hostsString: 127.0.0.1
>>>>> 20:13:37,731  WARN URLConfigurationSource:120 - No URLs will be polled
>>>>> as dynamic configuration sources.
>>>>> 20:13:37,732  INFO URLConfigurationSource:121 - To enable URLs as
>>>>> dynamic configuration sources, define System property
>>>>> archaius.configurationSource.additionalUrls or make config.properties
>>>>> available on classpath.
>>>>> 20:13:37,760  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)
>>>>> 20:13:38,774  WARN GuicyFigModule:352 - No property defaults file
>>>>> org/apache/usergrid/persistence/core/astyanax/CassandraFig.properties found
>>>>> for CassandraFig.
>>>>> 20:13:38,785  INFO DynamicPropertyFactory:281 - DynamicPropertyFactory
>>>>> is initialized with configuration sources:
>>>>> com.netflix.config.ConcurrentCompositeConfiguration@7842de02
>>>>> 20:13:38,989  INFO ConnectionPoolMBeanManager:53 - Registering mbean:
>>>>> com.netflix.MonitoredResources:type=ASTYANAX,name=ConnectionPool-Shared,ServiceType=connectionpool
>>>>> 20:13:39,000  INFO CountingConnectionPoolMonitor:194 - AddHost:
>>>>> 127.0.0.1
>>>>> 20:13:39,001  INFO Slf4jConnectionPoolMonitorImpl:67 - HostAdded:
>>>>> 127.0.0.1(127.0.0.1):9160
>>>>> 20:13:39,237  INFO AstyanaxLockManagerImpl:183 - Keyspace Locks
>>>>> created or already exists with options
>>>>> {strategy_class=org.apache.cassandra.locator.SimpleStrategy,
>>>>> strategy_options={replication_factor=1}}
>>>>> 20:13:39,241  INFO AstyanaxLockManagerImpl:140 - Locks column family
>>>>> AstyanaxLocks exists with options: {gc_grace_seconds=60,
>>>>> compaction_strategy_options={sstable_size_in_mb=512}, caching=ALL,
>>>>> compaction_strategy=org.apache.cassandra.db.compaction.LeveledCompactionStrategy}
>>>>> 20:13:39,242  WARN GuicyFigModule:352 - No property defaults file
>>>>> org/apache/usergrid/persistence/index/IndexFig.properties found for
>>>>> IndexFig.
>>>>> 20:13:39,257  WARN GuicyFigModule:352 - No property defaults file
>>>>> org/apache/usergrid/persistence/core/metrics/MetricsFig.properties found
>>>>> for MetricsFig.
>>>>> 20:13:39,264  WARN MetricsFactoryImpl:65 - MetricsService:Logger not
>>>>> started.
>>>>> 20:13:39,464  INFO node:139 - [ES-1] version[1.4.4], pid[22864],
>>>>> build[c88f77f/2015-02-19T13:05:36Z]
>>>>> 20:13:39,465  INFO node:141 - [ES-1] initializing ...
>>>>> 20:13:39,469  INFO plugins:151 - [ES-1] loaded [], sites []
>>>>> 20:13:41,227  INFO node:207 - [ES-1] initialized
>>>>> 20:13:41,227  INFO node:226 - [ES-1] starting ...
>>>>> 20:13:41,269  INFO transport:93 - [ES-1] bound_address {inet[
>>>>> 0.0.0.0/0.0.0.0:9301] <http://0.0.0.0/0.0.0.0:9301%5D>},
>>>>> publish_address {inet[/85.159.232.235:9301]}
>>>>> 20:13:41,280  INFO discovery:85 - [ES-1]
>>>>> elasticsearch/8EyL0XM0R1uBbwMTroU8Zw
>>>>> 20:13:45,052  WARN unicast:460 - [ES-1] failed to send ping to
>>>>> [[#zen_unicast_1#][node1.astrosaid.com][inet[/127.0.0.1:9200]]]
>>>>> org.elasticsearch.transport.ReceiveTimeoutTransportException:
>>>>> [][inet[/127.0.0.1:9200]][internal:discovery/zen/unicast_gte_1_4]
>>>>> request_id [0] timed out after [3750ms]
>>>>> at
>>>>> org.elasticsearch.transport.TransportService$TimeoutHandler.run(TransportService.java:366)
>>>>> 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)
>>>>> 20:13:49,543  WARN unicast:460 - [ES-1] failed to send ping to
>>>>> [[#zen_unicast_1#][node1.astrosaid.com][inet[/127.0.0.1:9200]]]
>>>>> org.elasticsearch.transport.ReceiveTimeoutTransportException:
>>>>> [][inet[/127.0.0.1:9200]][internal:discovery/zen/unicast_gte_1_4]
>>>>> request_id [3] timed out after [3751ms]
>>>>> at
>>>>> org.elasticsearch.transport.TransportService$TimeoutHandler.run(TransportService.java:366)
>>>>> 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)
>>>>> 20:13:54,046  WARN unicast:460 - [ES-1] failed to send ping to
>>>>> [[#zen_unicast_1#][node1.astrosaid.com][inet[/127.0.0.1:9200]]]
>>>>> org.elasticsearch.transport.ReceiveTimeoutTransportException:
>>>>> [][inet[/127.0.0.1:9200]][internal:discovery/zen/unicast_gte_1_4]
>>>>> request_id [6] timed out after [3750ms]
>>>>> at
>>>>> org.elasticsearch.transport.TransportService$TimeoutHandler.run(TransportService.java:366)
>>>>> 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)
>>>>> 20:14:03,051  WARN unicast:460 - [ES-1] failed to send ping to
>>>>> [[#zen_unicast_1#][node1.astrosaid.com][inet[/127.0.0.1:9200]]]
>>>>> org.elasticsearch.transport.ReceiveTimeoutTransportException:
>>>>> [][inet[/127.0.0.1:9200]][internal:discovery/zen/unicast_gte_1_4]
>>>>> request_id [12] timed out after [3751ms]
>>>>> at
>>>>> org.elasticsearch.transport.TransportService$TimeoutHandler.run(TransportService.java:366)
>>>>> 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)
>>>>>
>>>>>
>>>>> note I use a "compiled" version of ROOT.war, I already tried with
>>>>> build 2.1.0 but I have more errors.
>>>>>
>>>>> now I use openjdk 1.8 instead of sun java for all services.
>>>>>
>>>>> here is the result from elasticsearch log :
>>>>>
>>>>> [2016-03-31 20:07:05,181][WARN ][http.netty               ] [ES-1]
>>>>> Caught exception while handling client http traffic, closing connection
>>>>> [id: 0x26c60774, /127.0.0.1:44571 => /127.0.0.1:9200]
>>>>> java.lang.IllegalArgumentException: empty text
>>>>> at
>>>>> org.elasticsearch.common.netty.handler.codec.http.HttpVersion.<init>(HttpVersion.java:97)
>>>>> at
>>>>> org.elasticsearch.common.netty.handler.codec.http.HttpVersion.valueOf(HttpVersion.java:62)
>>>>> at
>>>>> org.elasticsearch.common.netty.handler.codec.http.HttpRequestDecoder.createMessage(HttpRequestDecoder.java:75)
>>>>> at
>>>>> org.elasticsearch.common.netty.handler.codec.http.HttpMessageDecoder.decode(HttpMessageDecoder.java:191)
>>>>> at
>>>>> org.elasticsearch.common.netty.handler.codec.http.HttpMessageDecoder.decode(HttpMessageDecoder.java:102)
>>>>> at
>>>>> org.elasticsearch.common.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:500)
>>>>> at
>>>>> org.elasticsearch.common.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:435)
>>>>> at
>>>>> org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
>>>>> at
>>>>> org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
>>>>> at
>>>>> org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
>>>>> at
>>>>> org.elasticsearch.common.netty.OpenChannelsHandler.handleUpstream(OpenChannelsHandler.java:74)
>>>>> at
>>>>> org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
>>>>> at
>>>>> org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)
>>>>> at
>>>>> org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:268)
>>>>> at
>>>>> org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:255)
>>>>> at
>>>>> org.elasticsearch.common.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)
>>>>> at
>>>>> org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)
>>>>> at
>>>>> org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)
>>>>> at
>>>>> org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)
>>>>> at
>>>>> org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)
>>>>> at
>>>>> org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
>>>>> at
>>>>> org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
>>>>> at
>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>>>> at
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>>>> at java.lang.Thread.run(Thread.java:745)
>>>>>
>>>>>
>>>>> # curl -v 127.0.0.1:9200
>>>>> * Rebuilt URL to: 127.0.0.1:9200/
>>>>> * Hostname was NOT found in DNS cache
>>>>> *   Trying 127.0.0.1...
>>>>> * Connected to 127.0.0.1 (127.0.0.1) port 9200 (#0)
>>>>> > GET / HTTP/1.1
>>>>> > User-Agent: curl/7.38.0
>>>>> > Host: 127.0.0.1:9200
>>>>> > Accept: */*
>>>>> >
>>>>> < HTTP/1.1 200 OK
>>>>> < Content-Type: application/json; charset=UTF-8
>>>>> < Content-Length: 332
>>>>> <
>>>>> {
>>>>>   "status" : 200,
>>>>>   "name" : "ES-1",
>>>>>   "cluster_name" : "elasticsearch",
>>>>>   "version" : {
>>>>>     "number" : "1.4.5",
>>>>>     "build_hash" : "2aaf797f2a571dcb779a3b61180afe8390ab61f9",
>>>>>     "build_timestamp" : "2015-04-27T08:06:06Z",
>>>>>     "build_snapshot" : false,
>>>>>     "lucene_version" : "4.10.4"
>>>>>   },
>>>>>   "tagline" : "You Know, for Search"
>>>>> }
>>>>> * Connection #0 to host 127.0.0.1 left intact
>>>>>
>>>>>
>>>>> # nodetool status
>>>>> Datacenter: datacenter1
>>>>> =======================
>>>>> Status=Up/Down
>>>>> |/ State=Normal/Leaving/Joining/Moving
>>>>> --  Address    Load       Tokens       Owns    Host ID
>>>>>               Rack
>>>>> UN  127.0.0.1  130.38 KB  256          ?
>>>>> a83d15ee-893f-4613-abca-a80d29e047a1  rack1
>>>>>
>>>>> *Note: Non-system keyspaces don't have the same replication settings,
>>>>> effective ownership information is meaningless <<< ???*
>>>>>
>>>>> Well if you have other ideas ? Thank you for helping to deploy.
>>>>> Guillaume
>>>>>
>>>>>
>>>>> 2016-03-31 18:41 GMT+01:00 Thành Vũ Trung <v2...@gmail.com>:
>>>>>
>>>>>> Hi,
>>>>>> I think you should re-install with:
>>>>>> JDK: 1.8
>>>>>> Tomcat: 7
>>>>>> Cassandra: 2.2.x
>>>>>> Elasticsearch: 1.4.5 or 1.4.1
>>>>>> I see many email have issue when install usergrid. Most of the reason
>>>>>> is used elasticsearch 2.
>>>>>> Hope can help you to resolve your issue.
>>>>>>
>>>>>> Regards.
>>>>>>
>>>>>> On Fri, Apr 1, 2016 at 12:30 AM, Guillaume <gu...@gmail.com> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I try to install usergrid on Debian/Jessie, I used java sun 8 SE
>>>>>>> last version.
>>>>>>>
>>>>>>> It appears I have a problem with elasticsearch, I downloaded the
>>>>>>> .deb directly from their website.
>>>>>>>
>>>>>>> sources & config are attached to the mail.
>>>>>>>
>>>>>>> Thank you for helping,
>>>>>>> Guillaume
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> *---------------------------------------------------------------------------------------------*
>>>>>> *Thanh Vu*
>>>>>>
>>>>>> *Information Technology Engineer*
>>>>>> *Mobile:* +84903298791
>>>>>> *Skype:* v2t_nd |* Email:* maito:v2tmobile.it@gmail.com
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *---------------------------------------------------------------------------------------------*
>>>> *Thanh Vu*
>>>>
>>>> *Information Technology Engineer*
>>>> *Mobile:* +84903298791
>>>> *Skype:* v2t_nd |* Email:* maito:v2tmobile.it@gmail.com
>>>>
>>>>
>>>
>>
>>
>> --
>>
>> *---------------------------------------------------------------------------------------------*
>> *Thanh Vu*
>>
>> *Information Technology Engineer*
>> *Mobile:* +84903298791
>> *Skype:* v2t_nd |* Email:* maito:v2tmobile.it@gmail.com
>>
>>
>


-- 
*---------------------------------------------------------------------------------------------*
*Thanh Vu*

*Information Technology Engineer*
*Mobile:* +84903298791
*Skype:* v2t_nd |* Email:* maito:v2tmobile.it@gmail.com

Re: problem to install / test usergrid

Posted by Thành Vũ Trung <v2...@gmail.com>.
Hi Guillaume,
How do you run setup request? I guest you used POST method instead of PUT
method that required in installation guideline.
Please see bellow:

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

You change  superuser:test to you user:password that match with you
usergrid-deployment.properties

On Sat, Apr 2, 2016 at 4:37 AM, Guillaume <gu...@gmail.com> wrote:

> Hi,
>
> It looks better, I have the following problem now :
>
> # service tomcat7 restart && tail -f /var/log/tomcat7/catalina.out
> Apr 01, 2016 10:05:06 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> INFO: Deploying configuration descriptor
> /etc/tomcat7/Catalina/localhost/host-manager.xml
> Apr 01, 2016 10:05:07 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> INFO: Deployment of configuration descriptor
> /etc/tomcat7/Catalina/localhost/host-manager.xml has finished in 306 ms
> Apr 01, 2016 10:05:07 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> INFO: Deploying configuration descriptor
> /etc/tomcat7/Catalina/localhost/manager.xml
> Apr 01, 2016 10:05:07 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> INFO: Deployment of configuration descriptor
> /etc/tomcat7/Catalina/localhost/manager.xml has finished in 43 ms
> Apr 01, 2016 10:05:07 PM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive /var/lib/tomcat7/webapps/ROOT.war
> 2016-04-01 22:05:14,531 INFO (localhost-startStop-1)
> [org.apache.usergrid.rest.security.shiro.RestSecurityManager] - Replacing
> org.apache.shiro.web.session.mgt.ServletContainerSessionManager@62bf678e
> with HttpRequestSessionManager
> 2016-04-01 22:05:14,700 INFO (localhost-startStop-1)
> [org.apache.usergrid.corepersistence.GuiceFactory] - Loading Core
> Persistence properties
> 2016-04-01 22:05:14,708 INFO (localhost-startStop-1)
> [org.apache.usergrid.corepersistence.GuiceFactory] - hostsString: 127.0.0.1
> 2016-04-01 22:05:16,251 INFO (localhost-startStop-1)
> [org.apache.usergrid.locking.cassandra.AstyanaxLockManagerImpl] - Keyspace
> Locks created or already exists with options
> {strategy_class=org.apache.cassandra.locator.SimpleStrategy,
> strategy_options={replication_factor=1}}
> 2016-04-01 22:05:16,255 INFO (localhost-startStop-1)
> [org.apache.usergrid.locking.cassandra.AstyanaxLockManagerImpl] - Locks
> column family AstyanaxLocks exists with options: {gc_grace_seconds=60,
> compaction_strategy_options={sstable_size_in_mb=512}, caching=ALL,
> compaction_strategy=org.apache.cassandra.db.compaction.LeveledCompactionStrategy}
> 2016-04-01 22:05:16,286 WARN (localhost-startStop-1)
> [org.apache.usergrid.persistence.core.metrics.MetricsFactoryImpl] -
> MetricsService:Logger not started.
> 2016-04-01 22:05:21,533 INFO (localhost-startStop-1)
> [org.apache.usergrid.persistence.cassandra.DB] - [127.0.0.1(127.0.0.1):9160]
> 2016-04-01 22:05:22,043 INFO (localhost-startStop-1)
> [org.apache.usergrid.management.cassandra.ManagementServiceImpl] -
> ManagementServiceImpl.setEntityManagerFactory
> 2016-04-01 22:05:22,113 INFO (localhost-startStop-1)
> [org.apache.usergrid.security.tokens.cassandra.TokenServiceImpl] - access
> token expires after 604800 seconds
> 2016-04-01 22:05:22,114 INFO (localhost-startStop-1)
> [org.apache.usergrid.security.tokens.cassandra.TokenServiceImpl] - refresh
> token expires after 604800 seconds
> 2016-04-01 22:05:22,114 INFO (localhost-startStop-1)
> [org.apache.usergrid.security.tokens.cassandra.TokenServiceImpl] - email
> token expires after 604800 seconds
> 2016-04-01 22:05:22,114 INFO (localhost-startStop-1)
> [org.apache.usergrid.security.tokens.cassandra.TokenServiceImpl] - offline
> token expires after 604800 seconds
> 2016-04-01 22:05:22,453 INFO (localhost-startStop-1)
> [org.apache.usergrid.rest.system.QueueSystemResource] - queue resource
> initialized
> 2016-04-01 22:05:22,458 INFO (localhost-startStop-1)
> [org.apache.usergrid.rest.system.ApplicationsResource] -
> ApplicationsResource initialized
> 2016-04-01 22:05:22,463 INFO (localhost-startStop-1)
> [org.apache.usergrid.rest.system.SystemResource] - SystemResource
> initialized
> 2016-04-01 22:05:22,469 INFO (localhost-startStop-1)
> [org.apache.usergrid.rest.system.DatabaseResource] - DatabaseResource
> initialized
> 2016-04-01 22:05:22,475 INFO (localhost-startStop-1)
> [org.apache.usergrid.rest.system.MigrateResource] - SystemResource
> initialized
> 2016-04-01 22:05:22,495 INFO (localhost-startStop-1)
> [org.apache.usergrid.rest.JacksonCustomMapperProvider] -
> JacksonCustomMapperProvider installed
> 2016-04-01 22:05:22,529 INFO (localhost-startStop-1)
> [org.apache.usergrid.rest.JobServiceBoostrap] - Starting Scheduler
> Service...
> 2016-04-01 22:05:22,535 INFO (JobSchedulerService STARTING)
> [org.apache.usergrid.batch.service.JobSchedulerService] - Starting executor
> pool.  Capacity is 4
> 2016-04-01 22:05:22,536 INFO (JobSchedulerService STARTING)
> [org.apache.usergrid.batch.service.JobSchedulerService] - Job Scheduler
> started
> 2016-04-01 22:05:22,542 INFO (JobSchedulerService RUNNING)
> [org.apache.usergrid.batch.service.JobSchedulerService] - Running one check
> iteration ...
> 2016-04-01 22:05:22,554 INFO (localhost-startStop-1)
> [org.apache.usergrid.rest.ShutdownListener] - ShutdownListener initialized
> 2016-04-01 22:05:22,571 INFO (JobSchedulerService RUNNING)
> [org.apache.usergrid.mq.cassandra.CassandraMQUtils] -
> QueueManagerFactoryImpl.getFromQueue: /jobs/
> 2016-04-01 22:05:22,585 INFO (QueueListener_PushNotifications-1)
> [org.apache.usergrid.persistence.Schema] - Initializing schema...
> 2016-04-01 22:05:22,765 INFO (QueueListener_PushNotifications-1)
> [org.apache.usergrid.persistence.Schema] - Registering class
> org.apache.usergrid.persistence.entities.JobStat
> 2016-04-01 22:05:22,888 INFO (QueueListener_PushNotifications-1)
> [org.apache.usergrid.persistence.Schema] - Registering class
> org.apache.usergrid.persistence.entities.Asset
> 2016-04-01 22:05:22,898 ERROR (JobSchedulerService RUNNING)
> [org.apache.usergrid.mq.cassandra.io.AbstractSearch] - Error getting oldest
> queue message ID
> me.prettyprint.hector.api.exceptions.HInvalidRequestException:
> InvalidRequestException(why:unconfigured table Queue_Properties)
> at
> me.prettyprint.cassandra.service.ExceptionsTranslatorImpl.translate(ExceptionsTranslatorImpl.java:52)
> at
> me.prettyprint.cassandra.service.KeyspaceServiceImpl$7.execute(KeyspaceServiceImpl.java:286)
> at
> me.prettyprint.cassandra.service.KeyspaceServiceImpl$7.execute(KeyspaceServiceImpl.java:269)
> at
> me.prettyprint.cassandra.service.Operation.executeAndSetResult(Operation.java:104)
> at
> me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:253)
> 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:265)
> at
> org.apache.usergrid.mq.cassandra.io.ConsumerTransaction.getResults(ConsumerTransaction.java:215)
> at
> org.apache.usergrid.mq.cassandra.QueueManagerImpl.getFromQueue(QueueManagerImpl.java:416)
> at
> org.apache.usergrid.batch.service.SchedulerServiceImpl.getJobs(SchedulerServiceImpl.java:170)
> at
> org.apache.usergrid.batch.service.JobSchedulerService.runOneIteration(JobSchedulerService.java:119)
> 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:unconfigured table Queue_Properties)
> at
> org.apache.cassandra.thrift.Cassandra$get_slice_result.read(Cassandra.java:7946)
> at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
> at
> org.apache.cassandra.thrift.Cassandra$Client.recv_get_slice(Cassandra.java:603)
> at
> org.apache.cassandra.thrift.Cassandra$Client.get_slice(Cassandra.java:587)
> at
> me.prettyprint.cassandra.service.KeyspaceServiceImpl$7.execute(KeyspaceServiceImpl.java:274)
> ... 25 more
> 2016-04-01 22:05:22,899 INFO (QueueListener_PushNotifications-1)
> [org.apache.usergrid.persistence.Schema] - Registering class
> org.apache.usergrid.persistence.entities.FileImport
> 2016-04-01 22:05:22,921 INFO (QueueListener_PushNotifications-1)
> [org.apache.usergrid.persistence.Schema] - Registering class
> org.apache.usergrid.persistence.entities.JobData
> 2016-04-01 22:05:22,925 INFO (QueueListener_PushNotifications-1)
> [org.apache.usergrid.persistence.Schema] - Registering class
> org.apache.usergrid.persistence.entities.Group
> 2016-04-01 22:05:22,938 INFO (QueueListener_PushNotifications-1)
> [org.apache.usergrid.persistence.Schema] - Registering class
> org.apache.usergrid.persistence.entities.Message
> 2016-04-01 22:05:22,941 INFO (QueueListener_PushNotifications-1)
> [org.apache.usergrid.persistence.Schema] - Registering class
> org.apache.usergrid.persistence.entities.Application
> 2016-04-01 22:05:22,953 INFO (QueueListener_PushNotifications-1)
> [org.apache.usergrid.persistence.Schema] - Registering class
> org.apache.usergrid.persistence.entities.Role
> 2016-04-01 22:05:22,959 INFO (QueueListener_PushNotifications-1)
> [org.apache.usergrid.persistence.Schema] - Registering class
> org.apache.usergrid.persistence.entities.Folder
> 2016-04-01 22:05:22,965 INFO (QueueListener_PushNotifications-1)
> [org.apache.usergrid.persistence.Schema] - Registering class
> org.apache.usergrid.persistence.entities.Activity
> 2016-04-01 22:05:22,973 INFO (QueueListener_PushNotifications-1)
> [org.apache.usergrid.persistence.Schema] - Registering class
> org.apache.usergrid.persistence.entities.Notifier
> 2016-04-01 22:05:22,980 INFO (QueueListener_PushNotifications-1)
> [org.apache.usergrid.persistence.Schema] - Registering class
> org.apache.usergrid.persistence.entities.Import
> 2016-04-01 22:05:22,984 INFO (QueueListener_PushNotifications-1)
> [org.apache.usergrid.persistence.Schema] - Registering class
> org.apache.usergrid.persistence.entities.Export
> 2016-04-01 22:05:22,990 INFO (QueueListener_PushNotifications-1)
> [org.apache.usergrid.persistence.Schema] - Registering class
> org.apache.usergrid.persistence.entities.Notification
> 2016-04-01 22:05:22,999 INFO (QueueListener_PushNotifications-1)
> [org.apache.usergrid.persistence.Schema] - Registering class
> org.apache.usergrid.persistence.entities.FailedImportEntity
> 2016-04-01 22:05:23,006 INFO (QueueListener_PushNotifications-1)
> [org.apache.usergrid.persistence.Schema] - Registering class
> org.apache.usergrid.persistence.entities.Device
> 2016-04-01 22:05:23,013 INFO (QueueListener_PushNotifications-1)
> [org.apache.usergrid.persistence.Schema] - Registering class
> org.apache.usergrid.persistence.entities.FailedImportConnection
> 2016-04-01 22:05:23,047 INFO (QueueListener_PushNotifications-1)
> [org.apache.usergrid.persistence.Schema] - Registering class
> org.apache.usergrid.persistence.entities.Event
> 2016-04-01 22:05:23,060 INFO (QueueListener_PushNotifications-1)
> [org.apache.usergrid.persistence.Schema] - Registering class
> org.apache.usergrid.persistence.entities.Receipt
> 2016-04-01 22:05:23,066 INFO (QueueListener_PushNotifications-1)
> [org.apache.usergrid.persistence.Schema] - Registering class
> org.apache.usergrid.persistence.entities.User
> 2016-04-01 22:05:23,074 INFO (QueueListener_PushNotifications-1)
> [org.apache.usergrid.persistence.Schema] - Registering class
> org.apache.usergrid.persistence.DynamicEntity
> 2016-04-01 22:05:23,078 INFO (QueueListener_PushNotifications-1)
> [org.apache.usergrid.persistence.Schema] - Schema initialized
> 2016-04-01 22:05:23,229 ERROR (QueueListener_PushNotifications-2)
> [org.apache.usergrid.services.ServiceManager] - Failed to get application
> java.lang.RuntimeException: application id
> {b6768a08-b5d5-11e3-a495-11ddb1de66c8} is returning null
> at
> org.apache.usergrid.services.ServiceManager.init(ServiceManager.java:103)
> at
> org.apache.usergrid.services.ServiceManagerFactory.getServiceManager(ServiceManagerFactory.java:71)
> at
> org.apache.usergrid.services.notifications.QueueListener.execute(QueueListener.java:158)
> at
> org.apache.usergrid.services.notifications.QueueListener.access$000(QueueListener.java:47)
> at
> org.apache.usergrid.services.notifications.QueueListener$1.run(QueueListener.java:125)
> 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)
> 2016-04-01 22:05:23,230 ERROR (QueueListener_PushNotifications-2)
> [org.apache.usergrid.services.ServiceManager] - ServiceManager init failure
> java.lang.RuntimeException: application id
> {b6768a08-b5d5-11e3-a495-11ddb1de66c8} is returning null
> at
> org.apache.usergrid.services.ServiceManager.init(ServiceManager.java:103)
> at
> org.apache.usergrid.services.ServiceManagerFactory.getServiceManager(ServiceManagerFactory.java:71)
> at
> org.apache.usergrid.services.notifications.QueueListener.execute(QueueListener.java:158)
> at
> org.apache.usergrid.services.notifications.QueueListener.access$000(QueueListener.java:47)
> at
> org.apache.usergrid.services.notifications.QueueListener$1.run(QueueListener.java:125)
> 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)
> 2016-04-01 22:05:23,231 ERROR (QueueListener_PushNotifications-2)
> [org.apache.usergrid.services.notifications.QueueListener] - QueueListener:
> threads interrupted
> java.lang.RuntimeException: java.lang.RuntimeException: application id
> {b6768a08-b5d5-11e3-a495-11ddb1de66c8} is returning null
> at
> org.apache.usergrid.services.ServiceManager.init(ServiceManager.java:111)
> at
> org.apache.usergrid.services.ServiceManagerFactory.getServiceManager(ServiceManagerFactory.java:71)
> at
> org.apache.usergrid.services.notifications.QueueListener.execute(QueueListener.java:158)
> at
> org.apache.usergrid.services.notifications.QueueListener.access$000(QueueListener.java:47)
> at
> org.apache.usergrid.services.notifications.QueueListener$1.run(QueueListener.java:125)
> 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: java.lang.RuntimeException: application id
> {b6768a08-b5d5-11e3-a495-11ddb1de66c8} is returning null
> at
> org.apache.usergrid.services.ServiceManager.init(ServiceManager.java:103)
> ... 9 more
> 2016-04-01 22:05:23,231 ERROR (QueueListener_PushNotifications-1)
> [org.apache.usergrid.services.ServiceManager] - Failed to get application
> java.lang.RuntimeException: application id
> {b6768a08-b5d5-11e3-a495-11ddb1de66c8} is returning null
> at
> org.apache.usergrid.services.ServiceManager.init(ServiceManager.java:103)
> at
> org.apache.usergrid.services.ServiceManagerFactory.getServiceManager(ServiceManagerFactory.java:71)
> at
> org.apache.usergrid.services.notifications.QueueListener.execute(QueueListener.java:158)
> at
> org.apache.usergrid.services.notifications.QueueListener.access$000(QueueListener.java:47)
> at
> org.apache.usergrid.services.notifications.QueueListener$1.run(QueueListener.java:125)
> 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)
> 2016-04-01 22:05:23,232 ERROR (QueueListener_PushNotifications-1)
> [org.apache.usergrid.services.ServiceManager] - ServiceManager init failure
> java.lang.RuntimeException: application id
> {b6768a08-b5d5-11e3-a495-11ddb1de66c8} is returning null
> at
> org.apache.usergrid.services.ServiceManager.init(ServiceManager.java:103)
> at
> org.apache.usergrid.services.ServiceManagerFactory.getServiceManager(ServiceManagerFactory.java:71)
> at
> org.apache.usergrid.services.notifications.QueueListener.execute(QueueListener.java:158)
> at
> org.apache.usergrid.services.notifications.QueueListener.access$000(QueueListener.java:47)
> at
> org.apache.usergrid.services.notifications.QueueListener$1.run(QueueListener.java:125)
> 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)
> 2016-04-01 22:05:23,233 ERROR (QueueListener_PushNotifications-1)
> [org.apache.usergrid.services.notifications.QueueListener] - QueueListener:
> threads interrupted
> java.lang.RuntimeException: java.lang.RuntimeException: application id
> {b6768a08-b5d5-11e3-a495-11ddb1de66c8} is returning null
> at
> org.apache.usergrid.services.ServiceManager.init(ServiceManager.java:111)
> at
> org.apache.usergrid.services.ServiceManagerFactory.getServiceManager(ServiceManagerFactory.java:71)
> at
> org.apache.usergrid.services.notifications.QueueListener.execute(QueueListener.java:158)
> at
> org.apache.usergrid.services.notifications.QueueListener.access$000(QueueListener.java:47)
> at
> org.apache.usergrid.services.notifications.QueueListener$1.run(QueueListener.java:125)
> 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: java.lang.RuntimeException: application id
> {b6768a08-b5d5-11e3-a495-11ddb1de66c8} is returning null
> at
> org.apache.usergrid.services.ServiceManager.init(ServiceManager.java:103)
> ... 9 more
> 2016-04-01 22:05:23,833 INFO (localhost-startStop-1)
> [org.apache.usergrid.rest.security.shiro.filters.ClientCredentialsSecurityFilter]
> - ClientCredentialsSecurityFilter is installed
> 2016-04-01 22:05:23,835 INFO (localhost-startStop-1)
> [org.apache.usergrid.rest.security.shiro.filters.BasicAuthSecurityFilter] -
> BasicAuthSecurityFilter is installed
> 2016-04-01 22:05:23,836 INFO (localhost-startStop-1)
> [org.apache.usergrid.rest.security.shiro.filters.OAuth2AccessTokenSecurityFilter]
> - OAuth2AccessTokenSecurityFilter is installed
> 2016-04-01 22:05:23,846 INFO (localhost-startStop-1)
> [org.apache.usergrid.rest.security.SecuredResourceFilterFactory] -
> SecuredResourceFilterFactory is installed
> Apr 01, 2016 10:05:24 PM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deployment of web application archive
> /var/lib/tomcat7/webapps/ROOT.war has finished in 17,124 ms
> Apr 01, 2016 10:05:24 PM org.apache.catalina.startup.HostConfig
> deployDirectory
> INFO: Deploying web application directory /var/lib/tomcat7/webapps/portal
> Apr 01, 2016 10:05:24 PM org.apache.catalina.startup.HostConfig
> deployDirectory
> INFO: Deployment of web application directory
> /var/lib/tomcat7/webapps/portal has finished in 219 ms
> Apr 01, 2016 10:05:24 PM org.apache.coyote.AbstractProtocol start
> INFO: Starting ProtocolHandler ["http-bio-8080"]
> Apr 01, 2016 10:05:24 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 17741 ms
> 2016-04-01 22:05:27,910 INFO (JobSchedulerService RUNNING)
> [org.apache.usergrid.batch.service.JobSchedulerService] - Running one check
> iteration ...
> 2016-04-01 22:05:27,910 INFO (JobSchedulerService RUNNING)
> [org.apache.usergrid.mq.cassandra.CassandraMQUtils] -
> QueueManagerFactoryImpl.getFromQueue: /jobs/
> 2016-04-01 22:05:28,042 ERROR (JobSchedulerService RUNNING)
> [org.apache.usergrid.mq.cassandra.io.AbstractSearch] - Error getting oldest
> queue message ID
> me.prettyprint.hector.api.exceptions.HInvalidRequestException:
> InvalidRequestException(why:unconfigured table Queue_Properties)
> at
> me.prettyprint.cassandra.service.ExceptionsTranslatorImpl.translate(ExceptionsTranslatorImpl.java:52)
> at
> me.prettyprint.cassandra.service.KeyspaceServiceImpl$7.execute(KeyspaceServiceImpl.java:286)
> at
> me.prettyprint.cassandra.service.KeyspaceServiceImpl$7.execute(KeyspaceServiceImpl.java:269)
> at
> me.prettyprint.cassandra.service.Operation.executeAndSetResult(Operation.java:104)
> at
> me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:253)
> 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:265)
> at
> org.apache.usergrid.mq.cassandra.io.ConsumerTransaction.getResults(ConsumerTransaction.java:215)
> at
> org.apache.usergrid.mq.cassandra.QueueManagerImpl.getFromQueue(QueueManagerImpl.java:416)
> at
> org.apache.usergrid.batch.service.SchedulerServiceImpl.getJobs(SchedulerServiceImpl.java:170)
> at
> org.apache.usergrid.batch.service.JobSchedulerService.runOneIteration(JobSchedulerService.java:119)
> 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:unconfigured table Queue_Properties)
> at
> org.apache.cassandra.thrift.Cassandra$get_slice_result.read(Cassandra.java:7946)
> at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
> at
> org.apache.cassandra.thrift.Cassandra$Client.recv_get_slice(Cassandra.java:603)
> at
> org.apache.cassandra.thrift.Cassandra$Client.get_slice(Cassandra.java:587)
> at
> me.prettyprint.cassandra.service.KeyspaceServiceImpl$7.execute(KeyspaceServiceImpl.java:274)
> ... 25 more
> 2016-04-01 22:05:33,043 INFO (JobSchedulerService RUNNING)
> [org.apache.usergrid.batch.service.JobSchedulerService] - Running one check
> iteration ...
> 2016-04-01 22:05:33,043 INFO (JobSchedulerService RUNNING)
> [org.apache.usergrid.mq.cassandra.CassandraMQUtils] -
> QueueManagerFactoryImpl.getFromQueue: /jobs/
> 2016-04-01 22:05:33,171 ERROR (JobSchedulerService RUNNING)
> [org.apache.usergrid.mq.cassandra.io.AbstractSearch] - Error getting oldest
> queue message ID
> me.prettyprint.hector.api.exceptions.HInvalidRequestException:
> InvalidRequestException(why:unconfigured table Queue_Properties)
> at
> me.prettyprint.cassandra.service.ExceptionsTranslatorImpl.translate(ExceptionsTranslatorImpl.java:52)
> at
> me.prettyprint.cassandra.service.KeyspaceServiceImpl$7.execute(KeyspaceServiceImpl.java:286)
> at
> me.prettyprint.cassandra.service.KeyspaceServiceImpl$7.execute(KeyspaceServiceImpl.java:269)
> at
> me.prettyprint.cassandra.service.Operation.executeAndSetResult(Operation.java:104)
> at
> me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:253)
> 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:265)
> at
> org.apache.usergrid.mq.cassandra.io.ConsumerTransaction.getResults(ConsumerTransaction.java:215)
> at
> org.apache.usergrid.mq.cassandra.QueueManagerImpl.getFromQueue(QueueManagerImpl.java:416)
> at
> org.apache.usergrid.batch.service.SchedulerServiceImpl.getJobs(SchedulerServiceImpl.java:170)
> at
> org.apache.usergrid.batch.service.JobSchedulerService.runOneIteration(JobSchedulerService.java:119)
> 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:unconfigured table Queue_Properties)
> at
> org.apache.cassandra.thrift.Cassandra$get_slice_result.read(Cassandra.java:7946)
> at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
> at
> org.apache.cassandra.thrift.Cassandra$Client.recv_get_slice(Cassandra.java:603)
> at
> org.apache.cassandra.thrift.Cassandra$Client.get_slice(Cassandra.java:587)
> at
> me.prettyprint.cassandra.service.KeyspaceServiceImpl$7.execute(KeyspaceServiceImpl.java:274)
> ... 25 more
>
> I can see status from url http://localhost:8080/status but the init url
> aren't working with this message :
>
> /system/database/setup ->
>
> {"error":"not_allowed","timestamp":1459542526731,"duration":68,"error_description":"HTTP 405 Method Not Allowed","exception":"javax.ws.rs.NotAllowedException"}
>
>
> /status ->
>
>
> {
>   "timestamp" : 1459542566381,
>   "duration" : 84,
>   "status" : {
>     "started" : 1459541122397,
>     "uptime" : 1443984,
>     "version" : "2.1",
>     "cassandraAvailable" : true,
>     "cassandraStatus" : "GREEN",
>     "managementAppIndexStatus" : "YELLOW",
>     "org.apache.usergrid.count.AbstractBatcher" : {
>       "add_invocation" : {
>         "type" : "timer",
>         "unit" : "microseconds",
>         "duration" : {
>           "min" : 0.0,
>           "max" : 0.0,
>           "mean" : 0.0,
>           "std_dev" : 0.0,
>           "median" : 0.0,
>           "p75" : 0.0,
>           "p95" : 0.0,
>           "p98" : 0.0,
>           "p99" : 0.0,
>           "p999" : 0.0
>         },
>         "rate" : {
>           "unit" : "seconds",
>           "count" : 0,
>           "mean" : 0.0,
>           "m1" : 0.0,
>           "m5" : 0.0,
>           "m15" : 0.0
>         }
>       },
>       "batch_add_invocations" : {
>         "type" : "counter",
>         "count" : 0
>       }
>     },
>     "org.apache.usergrid.count.CassandraSubmitter" : {
>       "submit_invocation" : {
>         "type" : "timer",
>         "unit" : "microseconds",
>         "duration" : {
>           "min" : 0.0,
>           "max" : 0.0,
>           "mean" : 0.0,
>           "std_dev" : 0.0,
>           "median" : 0.0,
>           "p75" : 0.0,
>           "p95" : 0.0,
>           "p98" : 0.0,
>           "p99" : 0.0,
>           "p999" : 0.0
>         },
>         "rate" : {
>           "unit" : "seconds",
>           "count" : 0,
>           "mean" : 0.0,
>           "m1" : 0.0,
>           "m5" : 0.0,
>           "m15" : 0.0
>         }
>       }
>     }
>   }
> }
>
>
>
>
> 2016-04-01 3:18 GMT+01:00 Thành Vũ Trung <v2...@gmail.com>:
>
>> Hi,
>> Please change elasticsearch port in your usergrid-deployment.properties
>> to 9300
>> 9200 is http elasticsearch port.
>>
>> Regards.
>>
>> On Fri, Apr 1, 2016 at 2:22 AM, Guillaume <gu...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I re-deployed all that stuff with the good versions but I continue to
>>> have this problem here is the catalina.out result :
>>>
>>> Mar 31, 2016 8:13:29 PM org.apache.catalina.startup.HostConfig
>>> deployDescriptor
>>> INFO: Deploying configuration descriptor
>>> /etc/tomcat7/Catalina/localhost/host-manager.xml
>>> Mar 31, 2016 8:13:30 PM org.apache.catalina.startup.HostConfig
>>> deployDescriptor
>>> INFO: Deployment of configuration descriptor
>>> /etc/tomcat7/Catalina/localhost/host-manager.xml has finished in 317 ms
>>> Mar 31, 2016 8:13:30 PM org.apache.catalina.startup.HostConfig
>>> deployDescriptor
>>> INFO: Deploying configuration descriptor
>>> /etc/tomcat7/Catalina/localhost/manager.xml
>>> Mar 31, 2016 8:13:30 PM org.apache.catalina.startup.HostConfig
>>> deployDescriptor
>>> INFO: Deployment of configuration descriptor
>>> /etc/tomcat7/Catalina/localhost/manager.xml has finished in 66 ms
>>> Mar 31, 2016 8:13:30 PM org.apache.catalina.startup.HostConfig deployWAR
>>> INFO: Deploying web application archive /var/lib/tomcat7/webapps/ROOT.war
>>> 20:13:35,967  INFO ContextLoader:285 - Root WebApplicationContext:
>>> initialization started
>>> 20:13:36,053  INFO XmlWebApplicationContext:512 - Refreshing Root
>>> WebApplicationContext: startup date [Thu Mar 31 20:13:36 CEST 2016]; root
>>> of context hierarchy
>>> 20:13:36,099  INFO XmlBeanDefinitionReader:316 - Loading XML bean
>>> definitions from class path resource [usergrid-rest-deploy-context.xml]
>>> 20:13:36,175  INFO XmlBeanDefinitionReader:316 - Loading XML bean
>>> definitions from class path resource [usergrid-rest-context.xml]
>>> 20:13:36,206  INFO XmlBeanDefinitionReader:316 - Loading XML bean
>>> definitions from class path resource [usergrid-services-context.xml]
>>> 20:13:36,375  INFO XmlBeanDefinitionReader:316 - Loading XML bean
>>> definitions from class path resource [usergrid-core-context.xml]
>>> 20:13:36,819  INFO DefaultListableBeanFactory:675 - Overriding bean
>>> definition for bean 'injector': replacing [Generic bean: class
>>> [org.apache.usergrid.corepersistence.GuiceFactory]; 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-core-context.xml]] with [Generic bean: class
>>> [org.apache.usergrid.corepersistence.GuiceFactory]; 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]]
>>> 20:13:36,929  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]]
>>> 20:13:36,930  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]]
>>> 20:13:36,931  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
>>> [/var/lib/tomcat7/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]]
>>> 20:13:37,359  INFO PropertiesFactoryBean:172 - Loading properties file
>>> from class path resource [usergrid-default.properties]
>>> 20:13:37,362  INFO PropertiesFactoryBean:172 - Loading properties file
>>> from class path resource [usergrid-deployment.properties]
>>> 20:13:37,397  INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330
>>> 'javax.inject.Inject' annotation found and supported for autowiring
>>> 20:13:37,543  INFO RestSecurityManager:56 - Replacing
>>> org.apache.shiro.web.session.mgt.ServletContainerSessionManager@7c4b46ba
>>> with HttpRequestSessionManager
>>> 20:13:37,595  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)
>>> 20:13:37,661  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)
>>> 20:13:37,663  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)
>>> 20:13:37,667  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)
>>> 20:13:37,694  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)
>>> 20:13:37,695  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)
>>> 20:13:37,703  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)
>>> 20:13:37,704  INFO GuiceFactory:89 - Loading Core Persistence properties
>>> 20:13:37,711  INFO GuiceFactory:107 - hostsString: 127.0.0.1
>>> 20:13:37,731  WARN URLConfigurationSource:120 - No URLs will be polled
>>> as dynamic configuration sources.
>>> 20:13:37,732  INFO URLConfigurationSource:121 - To enable URLs as
>>> dynamic configuration sources, define System property
>>> archaius.configurationSource.additionalUrls or make config.properties
>>> available on classpath.
>>> 20:13:37,760  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)
>>> 20:13:38,774  WARN GuicyFigModule:352 - No property defaults file
>>> org/apache/usergrid/persistence/core/astyanax/CassandraFig.properties found
>>> for CassandraFig.
>>> 20:13:38,785  INFO DynamicPropertyFactory:281 - DynamicPropertyFactory
>>> is initialized with configuration sources:
>>> com.netflix.config.ConcurrentCompositeConfiguration@7842de02
>>> 20:13:38,989  INFO ConnectionPoolMBeanManager:53 - Registering mbean:
>>> com.netflix.MonitoredResources:type=ASTYANAX,name=ConnectionPool-Shared,ServiceType=connectionpool
>>> 20:13:39,000  INFO CountingConnectionPoolMonitor:194 - AddHost: 127.0.0.1
>>> 20:13:39,001  INFO Slf4jConnectionPoolMonitorImpl:67 - HostAdded:
>>> 127.0.0.1(127.0.0.1):9160
>>> 20:13:39,237  INFO AstyanaxLockManagerImpl:183 - Keyspace Locks created
>>> or already exists with options
>>> {strategy_class=org.apache.cassandra.locator.SimpleStrategy,
>>> strategy_options={replication_factor=1}}
>>> 20:13:39,241  INFO AstyanaxLockManagerImpl:140 - Locks column family
>>> AstyanaxLocks exists with options: {gc_grace_seconds=60,
>>> compaction_strategy_options={sstable_size_in_mb=512}, caching=ALL,
>>> compaction_strategy=org.apache.cassandra.db.compaction.LeveledCompactionStrategy}
>>> 20:13:39,242  WARN GuicyFigModule:352 - No property defaults file
>>> org/apache/usergrid/persistence/index/IndexFig.properties found for
>>> IndexFig.
>>> 20:13:39,257  WARN GuicyFigModule:352 - No property defaults file
>>> org/apache/usergrid/persistence/core/metrics/MetricsFig.properties found
>>> for MetricsFig.
>>> 20:13:39,264  WARN MetricsFactoryImpl:65 - MetricsService:Logger not
>>> started.
>>> 20:13:39,464  INFO node:139 - [ES-1] version[1.4.4], pid[22864],
>>> build[c88f77f/2015-02-19T13:05:36Z]
>>> 20:13:39,465  INFO node:141 - [ES-1] initializing ...
>>> 20:13:39,469  INFO plugins:151 - [ES-1] loaded [], sites []
>>> 20:13:41,227  INFO node:207 - [ES-1] initialized
>>> 20:13:41,227  INFO node:226 - [ES-1] starting ...
>>> 20:13:41,269  INFO transport:93 - [ES-1] bound_address {inet[
>>> 0.0.0.0/0.0.0.0:9301] <http://0.0.0.0/0.0.0.0:9301%5D>},
>>> publish_address {inet[/85.159.232.235:9301]}
>>> 20:13:41,280  INFO discovery:85 - [ES-1]
>>> elasticsearch/8EyL0XM0R1uBbwMTroU8Zw
>>> 20:13:45,052  WARN unicast:460 - [ES-1] failed to send ping to
>>> [[#zen_unicast_1#][node1.astrosaid.com][inet[/127.0.0.1:9200]]]
>>> org.elasticsearch.transport.ReceiveTimeoutTransportException:
>>> [][inet[/127.0.0.1:9200]][internal:discovery/zen/unicast_gte_1_4]
>>> request_id [0] timed out after [3750ms]
>>> at
>>> org.elasticsearch.transport.TransportService$TimeoutHandler.run(TransportService.java:366)
>>> 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)
>>> 20:13:49,543  WARN unicast:460 - [ES-1] failed to send ping to
>>> [[#zen_unicast_1#][node1.astrosaid.com][inet[/127.0.0.1:9200]]]
>>> org.elasticsearch.transport.ReceiveTimeoutTransportException:
>>> [][inet[/127.0.0.1:9200]][internal:discovery/zen/unicast_gte_1_4]
>>> request_id [3] timed out after [3751ms]
>>> at
>>> org.elasticsearch.transport.TransportService$TimeoutHandler.run(TransportService.java:366)
>>> 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)
>>> 20:13:54,046  WARN unicast:460 - [ES-1] failed to send ping to
>>> [[#zen_unicast_1#][node1.astrosaid.com][inet[/127.0.0.1:9200]]]
>>> org.elasticsearch.transport.ReceiveTimeoutTransportException:
>>> [][inet[/127.0.0.1:9200]][internal:discovery/zen/unicast_gte_1_4]
>>> request_id [6] timed out after [3750ms]
>>> at
>>> org.elasticsearch.transport.TransportService$TimeoutHandler.run(TransportService.java:366)
>>> 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)
>>> 20:14:03,051  WARN unicast:460 - [ES-1] failed to send ping to
>>> [[#zen_unicast_1#][node1.astrosaid.com][inet[/127.0.0.1:9200]]]
>>> org.elasticsearch.transport.ReceiveTimeoutTransportException:
>>> [][inet[/127.0.0.1:9200]][internal:discovery/zen/unicast_gte_1_4]
>>> request_id [12] timed out after [3751ms]
>>> at
>>> org.elasticsearch.transport.TransportService$TimeoutHandler.run(TransportService.java:366)
>>> 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)
>>>
>>>
>>> note I use a "compiled" version of ROOT.war, I already tried with build
>>> 2.1.0 but I have more errors.
>>>
>>> now I use openjdk 1.8 instead of sun java for all services.
>>>
>>> here is the result from elasticsearch log :
>>>
>>> [2016-03-31 20:07:05,181][WARN ][http.netty               ] [ES-1]
>>> Caught exception while handling client http traffic, closing connection
>>> [id: 0x26c60774, /127.0.0.1:44571 => /127.0.0.1:9200]
>>> java.lang.IllegalArgumentException: empty text
>>> at
>>> org.elasticsearch.common.netty.handler.codec.http.HttpVersion.<init>(HttpVersion.java:97)
>>> at
>>> org.elasticsearch.common.netty.handler.codec.http.HttpVersion.valueOf(HttpVersion.java:62)
>>> at
>>> org.elasticsearch.common.netty.handler.codec.http.HttpRequestDecoder.createMessage(HttpRequestDecoder.java:75)
>>> at
>>> org.elasticsearch.common.netty.handler.codec.http.HttpMessageDecoder.decode(HttpMessageDecoder.java:191)
>>> at
>>> org.elasticsearch.common.netty.handler.codec.http.HttpMessageDecoder.decode(HttpMessageDecoder.java:102)
>>> at
>>> org.elasticsearch.common.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:500)
>>> at
>>> org.elasticsearch.common.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:435)
>>> at
>>> org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
>>> at
>>> org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
>>> at
>>> org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
>>> at
>>> org.elasticsearch.common.netty.OpenChannelsHandler.handleUpstream(OpenChannelsHandler.java:74)
>>> at
>>> org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
>>> at
>>> org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)
>>> at
>>> org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:268)
>>> at
>>> org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:255)
>>> at
>>> org.elasticsearch.common.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)
>>> at
>>> org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)
>>> at
>>> org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)
>>> at
>>> org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)
>>> at
>>> org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)
>>> at
>>> org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
>>> at
>>> org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>> at java.lang.Thread.run(Thread.java:745)
>>>
>>>
>>> # curl -v 127.0.0.1:9200
>>> * Rebuilt URL to: 127.0.0.1:9200/
>>> * Hostname was NOT found in DNS cache
>>> *   Trying 127.0.0.1...
>>> * Connected to 127.0.0.1 (127.0.0.1) port 9200 (#0)
>>> > GET / HTTP/1.1
>>> > User-Agent: curl/7.38.0
>>> > Host: 127.0.0.1:9200
>>> > Accept: */*
>>> >
>>> < HTTP/1.1 200 OK
>>> < Content-Type: application/json; charset=UTF-8
>>> < Content-Length: 332
>>> <
>>> {
>>>   "status" : 200,
>>>   "name" : "ES-1",
>>>   "cluster_name" : "elasticsearch",
>>>   "version" : {
>>>     "number" : "1.4.5",
>>>     "build_hash" : "2aaf797f2a571dcb779a3b61180afe8390ab61f9",
>>>     "build_timestamp" : "2015-04-27T08:06:06Z",
>>>     "build_snapshot" : false,
>>>     "lucene_version" : "4.10.4"
>>>   },
>>>   "tagline" : "You Know, for Search"
>>> }
>>> * Connection #0 to host 127.0.0.1 left intact
>>>
>>>
>>> # nodetool status
>>> Datacenter: datacenter1
>>> =======================
>>> Status=Up/Down
>>> |/ State=Normal/Leaving/Joining/Moving
>>> --  Address    Load       Tokens       Owns    Host ID
>>>             Rack
>>> UN  127.0.0.1  130.38 KB  256          ?
>>> a83d15ee-893f-4613-abca-a80d29e047a1  rack1
>>>
>>> *Note: Non-system keyspaces don't have the same replication settings,
>>> effective ownership information is meaningless <<< ???*
>>>
>>> Well if you have other ideas ? Thank you for helping to deploy.
>>> Guillaume
>>>
>>>
>>> 2016-03-31 18:41 GMT+01:00 Thành Vũ Trung <v2...@gmail.com>:
>>>
>>>> Hi,
>>>> I think you should re-install with:
>>>> JDK: 1.8
>>>> Tomcat: 7
>>>> Cassandra: 2.2.x
>>>> Elasticsearch: 1.4.5 or 1.4.1
>>>> I see many email have issue when install usergrid. Most of the reason
>>>> is used elasticsearch 2.
>>>> Hope can help you to resolve your issue.
>>>>
>>>> Regards.
>>>>
>>>> On Fri, Apr 1, 2016 at 12:30 AM, Guillaume <gu...@gmail.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I try to install usergrid on Debian/Jessie, I used java sun 8 SE last
>>>>> version.
>>>>>
>>>>> It appears I have a problem with elasticsearch, I downloaded the .deb
>>>>> directly from their website.
>>>>>
>>>>> sources & config are attached to the mail.
>>>>>
>>>>> Thank you for helping,
>>>>> Guillaume
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *---------------------------------------------------------------------------------------------*
>>>> *Thanh Vu*
>>>>
>>>> *Information Technology Engineer*
>>>> *Mobile:* +84903298791
>>>> *Skype:* v2t_nd |* Email:* maito:v2tmobile.it@gmail.com
>>>>
>>>>
>>>
>>
>>
>> --
>>
>> *---------------------------------------------------------------------------------------------*
>> *Thanh Vu*
>>
>> *Information Technology Engineer*
>> *Mobile:* +84903298791
>> *Skype:* v2t_nd |* Email:* maito:v2tmobile.it@gmail.com
>>
>>
>


-- 
*---------------------------------------------------------------------------------------------*
*Thanh Vu*

*Information Technology Engineer*
*Mobile:* +84903298791
*Skype:* v2t_nd |* Email:* maito:v2tmobile.it@gmail.com

Re: problem to install / test usergrid

Posted by Thành Vũ Trung <v2...@gmail.com>.
Hi,
I think you should re-install with:
JDK: 1.8
Tomcat: 7
Cassandra: 2.2.x
Elasticsearch: 1.4.5 or 1.4.1
I see many email have issue when install usergrid. Most of the reason is
used elasticsearch 2.
Hope can help you to resolve your issue.

Regards.

On Fri, Apr 1, 2016 at 12:30 AM, Guillaume <gu...@gmail.com> wrote:

> Hi,
>
> I try to install usergrid on Debian/Jessie, I used java sun 8 SE last
> version.
>
> It appears I have a problem with elasticsearch, I downloaded the .deb
> directly from their website.
>
> sources & config are attached to the mail.
>
> Thank you for helping,
> Guillaume
>



-- 
*---------------------------------------------------------------------------------------------*
*Thanh Vu*

*Information Technology Engineer*
*Mobile:* +84903298791
*Skype:* v2t_nd |* Email:* maito:v2tmobile.it@gmail.com