cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

How to login to Tomcat?

ckoenig
1-Newbie

How to login to Tomcat?

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

1 ACCEPTED SOLUTION

Accepted Solutions

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>

View solution in original post

1 REPLY 1

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>

Top Tags