Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Building Blockchain Apps this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

I'm having trouble accessing http://localhost:8888 using Tomcat 6 on Windows Server 8

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello developers and administrators.

I've successfully installed JDK 1.6 along with Tomcat 6. In fact, when I log into http://localhost:8888, I get the message that I have successfully set-up Tomcat.

Below are the entries for my tomcat-users.xml file:
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="admin"> <user username="administrator" password="administrator" roles="admin"/> <user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
-->
</tomcat-users>

However, when I log into the following my tomcat application URL (running MicroStrategy over the web), I get prompted to type in a username/password. Here is the dialog message I receive:
A username and password are being requested by http://localhost:8888.

When I type in the username/password that I specified in the tomcat-users.xml file above, it does not let me in. Any ideas why?

Mike
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Michael Shin wrote:

When I type in the username/password that I specified in the tomcat-users.xml file above, it does not let me in. Any ideas why?

Mike



What error do you get? Or does it ask for the user/pass again?
 
Michael Shin
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello. I'm promoted for a username/password. However, it is NOT accepting the credentials which I provided based on my tomcat-user.xml file.
 
Michael Shin
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eventually, I get the following error:

HTTP Status 401 -
________________________________________
type Status report
message
description This request requires HTTP authentication ().
________________________________________
Apache Tomcat/6.0.29
 
You got style baby! More than this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!