tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Bowen <>
Subject Graceful exit from AppListener
Date Tue, 22 Jul 2008 12:38:59 GMT
Hi All,

My app does some significant initialization in the class AppListener  
implements ServletContextListener,
including processing the application configuration.  When it receives  
an inconsistent, unrecoverable configuration,
what is the best way to exit from contextInitialized(...)  and  
gracefully exit from the app without hurting Tomcat or
other apps? ( Clearly not System.exit() ).

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message