Cannot login to Apache Usergrid deployed on Tomcat7

只愿长相守 提交于 2019-12-04 15:13:28

this works for me.

  1. you need edit a properties file under config package.

    usergrid/stack/config/src/main/resources/usergrid-default.properties

  2. rebuild config, rest.

  3. redeploy it.

The properties file name should be renamed as "usergrid-custom.properties" which you going to put in Tomcat/lib directory.

On the other way you can modify "usergrid/stack/config/src/main/resources/usergrid-default.properties" and rebuild config and then put "usergrid-config-1.0.0.jar" which is located "incubator-usergrid-master\stack\config\target" to your web application lib folder "Tomcat-Home\webapps\ROOT\WEB-INF\lib".

I suffered from the same problem and only way I've found so far is to change usergrid-default.properties under stack/config/src/main/resources/usergrid-default.properties from source.

and then run "mvn clean install -DskipTests=true"

This should work.

That login isn't part of Usergrid. Do you perhaps have directory permissions set incorrectly on the directory that serves the install? This sounds like a Tomcat protected directory problem, not a Usergrid login issue.

The ROOT.war (build file of usergrid stack) file also needs to be stored into the CATLINA_BASE i.e (/var/lib/tomcat7/webapps/) also.

Also change the ownership and access rights of tomcat folder(CATLINA_HOME and CATLINA_BASE) from root to complete free access (access level 777).

You have to copy the usergrid-custom.properties file in this folder

/usr/share/tomcat7/lib

Jawad

The login screen popping up repeatedly may indicate that it was unable to complete authentication or encountered issues while authenticating.

Ensure:

  1. The usergrid-custom.properties is placed in your tomcat's lib folder
  2. The username and password specified in it have no spaces at the end
  3. You use the very same username and password that you specified

You may look up the logs for further information in case the issue persists

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!