File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 agree. Here's the link:
subject: Trouble using j_security form
jQuery in Action, 3rd edition