File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Authentication Using Tomat Not Working

 
Sirojan Gnanaratnam
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Pie
Posts: 20160
23
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Pie
Posts: 20160
23
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic