Hi Hezhoujun,

You are most welcome. Please see below notes.

1. Your "usergrid-deployment.properties" is incomplete. Please see attached
file. Place it in your tomcat lib folder.
Update the email addresses to your own within the file.

2.  Do 'not' create the keyspaces in cassandra yourself. Please deleted the
kayspaces. These will automatically get created via the setup uls.

3. The amazon key/secret needs to be in the tomcat property files.
"-DAWS_ACCESS_KEY_ID=someid -DAWS_SECRET_KEY=somekey" in "
usergrid-deployment.properties"


Please repeat the steps and let me know if you are facing any issues.
Have good day.

regards,
Jaskaran


On Fri, Oct 30, 2015 at 2:10 PM, hezhoujun <[email protected]> wrote:

> Hi  Jaskaran,
> Thank you very much for your careful answer.
> I follow your guidance,Successful packaging ROOT.war and sccess runing.
> But error always is "application id
> {68756968-6f6f-312f-7361-006e64626f78} is returning null"
> Next I described my steps:
> *1、**Softwares / Setups*
> I make sure soft vesion is :
> maven:Apache Maven 3.3.3
> Jdk :java version "1.8.0_51"
> elasticsearch:1.4.3
> tomcat:7.0.47
> cassandra:1.2.0
>
> Before start these server,I follow you to teach me the steps to finish
> first to fifth steps
> Then,I start cassandra、elasticsearch,then  start tomcat.
> In the fifth step,I can't find "usergrid-deployment.properties" this file.
>
> So,I create new file ,named "usergrid-deployment.properties",
> Then,I apply a amazon account,
> write  "-DAWS_ACCESS_KEY_ID=someid -DAWS_SECRET_KEY=somekey" in "
> usergrid-deployment.properties"
>
> Sure,I replaced "somekey" and "somekey" with my amazon  account number.
> *2、Run Servers*
> In the process of starting the service,I saw the log error message,tell me
> unconfig xxx.
> So I Stop tomcat ,create keyspace "Usergrid_Applications","Usergrid",
> and create column family "Data_Migration_Info","Entity_Version_Data","
> Unique_Values ","Queue_Properties "
> Finished create keyspace and column family,I start tomcat again.
> I saw the log error message is :"application id
> {68756968-6f6f-312f-7361-006e64626f78} is returning null"
> *3、Access Url*
> I open the url like seventh steps,
> http://localhost:8080/system/database/setup
> http://localhost:8080/system/database/bootstrap
> The error for accessing these two addresses is:
> {"error":"uncaught","timestamp":1446193549339,"duration":1,"error_description":"Internal
> Server
> Error","exception":"org.apache.usergrid.rest.exceptions.UncaughtException","error_id":"d356dc76-7edf-11e5-af9f-a41731054ba5"}
> http://localhost:8080/system/superuser/setup
> accessing the last address,console not have logger info,It is open a login
> window.
> I do not know the login name and password, so I entered a new application
> for the Amazon account,
> But can not log in.
> Could you tell me how can I get this account to login?
> *4、Accessory Information*
> This email, I added the attachment, which is a specific error log
> description.
> Information Accessory
> tomcat_start_log.txt: is start tomcat error message.
> access_system_database_setup_log.txt:is access to the first and second URL
> of the error message
>
> Thanks for you help very much.I wish you success in your work, happy every
> day
> Hope to get your reply.
>
> a java developer,
> hezhoujun
>
>
>

Attachment: usergrid-deployment.properties
Description: Binary data

Reply via email to