• 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.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!