This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Trouble using j_security form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Trouble using j_security form" Watch "Trouble using j_security form" New topic

Trouble using j_security form

David Lidz

Joined: Mar 30, 2011
Posts: 14
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



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

David Lidz

Joined: Mar 30, 2011
Posts: 14
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.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Trouble using j_security form
It's not a secret anymore!