You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@usergrid.apache.org by ".." <53...@qq.com> on 2015/10/27 08:16:42 UTC

2.1 release,run usergrid-rest ,get this error,can you help me,thanks

hello,when I run usergrid-rest
 access link:http://localhost:8080/usergrid-rest/status
 
response:
 
{
 "error": "uncaught", "timestamp": 1445572529016, "duration": 119, "exception": "org.apache.usergrid.rest.exceptions.UncaughtException", "error_description": "Internal Server Error", "error_id": "e664f258-7939-11e5-954f-a41731054ba5"  
}
 
console error:
 
2015-10-23 11:48:08,110 ERROR  (Notifications_Processor026b090c-7518-417a-b0c9-0bfd6b036866)  [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:69)
     at org.apache.usergrid.services.notifications.QueueListener.execute(QueueListener.java:147)
     at org.apache.usergrid.services.notifications.QueueListener.access$0(QueueListener.java:137)
     at org.apache.usergrid.services.notifications.QueueListener$1.run(QueueListener.java:123)
     at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
     at java.util.concurrent.FutureTask.run(Unknown Source)
     at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
     at java.util.concurrent.ThreadPoolExecuto
 
Environment:
 
usergrid :     2.1 release 
 cassandra :  apache-cassandra-2.1.8
 web server:  tomcat 7
 
uuid define:
 
i find this define on org.apache.usergrid.corepersistence.util.CpNamingUtils,
 public static final UUID MANAGEMENT_APPLICATION_ID = UUID.fromString( "b6768a08-b5d5-11e3-a495-11ddb1de66c8" );
 
other:
 
if has demo cql for cassandra,can you tell me ? I create cassandra keyspaces like usergrid docs,but error is alwith appear.
 this error probably I missing column family data,but I try more times ,but No solution,so I Seek help,hope get you help,thanks.

Re: 2.1 release,run usergrid-rest ,get this error,can you help me,thanks

Posted by Jaskaran Singh <ja...@gmail.com>.
The status url is:
http://localhost:8080/status <http://localhost:8080/usergrid-rest/status>

You need to compile the 'stack' maven project and place the ROOT.war in the
tomcat webapps folder.

Let me know if you need any more details.

Regards
Jaskaran

On 27 October 2015 at 12:46, .. <53...@qq.com> wrote:

> hello,when I run usergrid-rest
> access link:http://localhost:8080/usergrid-rest/status
> response:
>
> {
>
> "error": "uncaught",
> "timestamp": 1445572529016,
> "duration": 119,
> "exception": "org.apache.usergrid.rest.exceptions.UncaughtException",
> "error_description": "Internal Server Error",
> "error_id": "e664f258-7939-11e5-954f-a41731054ba5"
>
> }
> console error:
>
> 2015-10-23 11:48:08,110 ERROR
> (Notifications_Processor026b090c-7518-417a-b0c9-0bfd6b036866)
> [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:69)
> at
> org.apache.usergrid.services.notifications.QueueListener.execute(QueueListener.java:147)
> at
> org.apache.usergrid.services.notifications.QueueListener.access$0(QueueListener.java:137)
> at
> org.apache.usergrid.services.notifications.QueueListener$1.run(QueueListener.java:123)
> at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
> at java.util.concurrent.FutureTask.run(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.util.concurrent.ThreadPoolExecuto
> Environment:
>
> usergrid : 2.1 release
> cassandra : apache-cassandra-2.1.8
> web server: tomcat 7
> uuid define:
>
> i find this define on
> org.apache.usergrid.corepersistence.util.CpNamingUtils,
> public static final UUID MANAGEMENT_APPLICATION_ID = UUID.fromString(
> "b6768a08-b5d5-11e3-a495-11ddb1de66c8" );
> other:
>
> if has demo cql for cassandra,can you tell me ? I create cassandra
> keyspaces like usergrid docs,but error is alwith appear.
> this error probably I missing column family data,but I try more times ,but
> No solution,so I Seek help,hope get you help,thanks.
>