This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Building Blockchain Apps and have Michael Yuan on-line!
See this thread for details.
Win a copy of Building Blockchain Apps this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

Authentication Using Tomat Not Working

 
Greenhorn
Posts: 3
  • 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.

 
Marshal
Posts: 25227
65
Eclipse IDE Firefox Browser MySQL Database
  • 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
  • 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
Marshal
Posts: 25227
65
Eclipse IDE Firefox Browser MySQL Database
  • 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.
 
I got this tall by not having enough crisco in my diet as a kid. This ad looks like it had plenty of shortening:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!