• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help Needed - SCWCD Exam Kit - chapter 9 problem

 
C Wong
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have trouble in running the sample from Chapter 9 - the POST feature. The GET option is working OK.
When entering user bob, a dialog (Connect to localhost) pops up asking for user name and password. It is NOT an HTML page, it is a dialog from the XP system. By entering bob as user name and bbb as pw. It is invalid and the same dialog pops up repeatedly.
Please advise what is wrong with my configuration. Thx.
 
chi Lin
Ranch Hand
Posts: 348
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wong,
Have you modified the tomcat-users.xml at
tomocat-root\conf\tomcat-users.xml to add more entries described on page 141
<user name="bob" password="bbb" roles="employee,supervisor" />
so tomcat realize bob and his role ?
 
C Wong
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Chi Lin.
It is working now. I missed those users entries.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic