• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Servlet unavailable after restart

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic