Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet unavailable after restart

 
Steve Leach
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I have a JSP/Servlet application that is working fine under Tomcat 4, except that if I restart the application (using an Ant task or the Tomcat Manager app) I will just get "Servlet MainServlet is currently unavailable" exceptions.
MainServlet is my controller servlet.
The only thing I can find in the logs are a number of exceptions, all the same, that I don't understand

A web search locates a few references to lifecycle errors, mainly in discussion forums, but I can't find a solution anywhere.
On my WinXP laptop implementation I can restart fine, with no problems. Same app, same config (as near as I can make out).
Cheers
Steve
 
Steve Leach
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just found a reference to a Tomcat hotfix for this issue.
HotFix
That seems to fix the problem. I'll keep an eye on it and see what happens.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic