I'm asked for my Tomcat username/password, but nothing works. My goal is to access the Thingworx composer.
Steps taken:
-Go go web browser localhost:80
-Tomcat page appears
-Click on Manager app
-Pop up for Username/Password appears, the password I used when setting up Tomcat doesn't work
-Go into Tomcat-users.xml and add this code (below)
<tomcat-users>
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<user username="admin" password="password" roles="manager-gui,manager-script" />
</tomcat-users>
-Stop/Start Tomcat and nothing works, I've tried several combinations of code and nothing.
What am I missing?
Thanks,
Charlie
Solved! Go to Solution.
Ok, I changed my code to the following and it worked. I should also mention I'm using Tomcat 8.0
<role rolename="admin"/>
<role rolename="admin-gui"/>
<role rolename="manager"/>
<role rolename="manager-gui"/>
<user username="admin" password="admin" roles="admin,admin-gui,manager,manager-gui"/>
</tomcat-users>
Ok, I changed my code to the following and it worked. I should also mention I'm using Tomcat 8.0
<role rolename="admin"/>
<role rolename="admin-gui"/>
<role rolename="manager"/>
<role rolename="manager-gui"/>
<user username="admin" password="admin" roles="admin,admin-gui,manager,manager-gui"/>
</tomcat-users>