File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Authentication Using Tomat Not Working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Authentication Using Tomat Not Working" Watch "Authentication Using Tomat Not Working" New topic
Author

Authentication Using Tomat Not Working

Sirojan Gnanaratnam
Greenhorn

Joined: Aug 14, 2012
Posts: 3
Dear all,

I am trying to implement the authentication using Tomcat config. after edit the web.xml I couldn't Run the Application. This is My web.xml file



When I run the Application I got this Error.

Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

I'm not sure why your post title mentions "authentication" when you have no evidence at all that authentication is the cause of the failure. It's never a good idea to make evidence-free decisions like that, since it's likely to make you look in the wrong place for the actual problem.

Anyway you should start with the only piece of evidence you do have, the small log file at the end of your post. Pay particular attention to this line:

See the server log for details.


because it tells you how to find more information about the actual problem.
Sirojan Gnanaratnam
Greenhorn

Joined: Aug 14, 2012
Posts: 3
Hi paul,

In My Server Log Nothing Is printed . as well as Tomcat Starting is Failed When I deploy or start using web Services Tab In Netbeans..
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Then set that XML file back to the previous version from your source control which you know works. Use that to start Tomcat, and then look for the log files. Make sure you know where to find them, so the next time an error message tells you to look at them, you know where they are.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Authentication Using Tomat Not Working
 
Similar Threads
How to: use Form based auth via JDBCRealm:oracle in Glassfish 3.0
help regarding url-pattern in jsf
Unable to securely request for a page
Authentication and Authorization implementation using DD Problem
he doesn't ask for authenticate