无法登录到Tomcat7上部署的Apache Usergrid [英] Cannot login to Apache Usergrid deployed on Tomcat7
问题描述
我在我的Ubuntu 14.04 LTS上下载并构建了Apache Usergrid,并按照 https://usergrid.incubator.apache.org/docs/deploy-local/ 。我复制了usergrid-deployment.properties文件到CATALINA_HOME / lib,重新启动Tomcat服务器,并尝试使用 http:// localhost:8080 / system / database / setup
按照说明。
我得到一个登录屏幕,顶部有以下文本:[请求用户名和密码http:// localhost :8080
。网站说:Usergrid身份验证。 ]。我尝试使用usergrid-deployment.properties文件中给出的超级用户id / pw登录,但它不能识别id / pw并保持扔同一登录屏幕。有人遇到这个问题吗?我缺少什么?我需要添加superuser id / pw信息到tomcat-users.xml吗?指示没有要求这一点。即使我添加了什么角色,我会使用?任何帮助赞赏。 BTW我的Cassandra部署工作良好独立于Tomcat& Usergrid。
我遭受同样的问题,只有我发现到目前为止的方式是更改usergrid-default.properties在源/目录下的stack / config / src / main / resources / usergrid-default.properties下。
然后运行mvn clean install -DskipTests = true
这应该可以工作。
I downloaded and built Apache Usergrid on my Ubuntu 14.04 LTS and deployed the ROOT.war on my local tomcat7 server as per instructions given at https://usergrid.incubator.apache.org/docs/deploy-local/. I copied usergrid-deployment.properties file to CATALINA_HOME/lib, restarted Tomcat server and am trying to test it using http://localhost:8080/system/database/setup
as per the instructions.
I get a login screen that has the following text at the top: [ A username and password are being requested by "http://localhost:8080"
. The site says: "Usergrid Authentication". ]. I try to login with the superuser id/pw as given in the usergrid-deployment.properties file but it does not recognize the id/pw and keeping throwing the same login screen. Did anyone encounter this problem? What am I missing? Do I need to add the superuser id/pw info to tomcat-users.xml? The instructions didn't ask for this. Even if I add what "role" would I use? Any help appreciated. BTW my Cassandra deployment works fine independent of Tomcat & Usergrid.
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.
这篇关于无法登录到Tomcat7上部署的Apache Usergrid的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!