This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Trouble using j_security form

 
David Lidz
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After years of finding asnwers in these forums I thought it was about time to create an account^^

Anywho, I have a problem using login form against a tomcat server.
It redirects any user to the loginscreen as wanted but it always fails with he login(ie it ends up in the error page).
I believe the problem lies in the tomcat configuration but I dont really know where, and afetr hours of searching im kinda spent:S

tomcat-users.xl

WEB-INF/web.xml

I know its frowned to use the tomcat-users.xml but its more of a showcase website atm.


 
David Lidz
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was able to solve it, what I didnt know was that Eclipse was working against another tomcat-user.xml file in the workspace folder and not the one in the tomcat directory.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic