Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Servlets and the fly likes Checking from ServletContextListener  whether deployment of this is  success or fail? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Checking from ServletContextListener  whether deployment of this is  success or fail?" Watch "Checking from ServletContextListener  whether deployment of this is  success or fail?" New topic
Author

Checking from ServletContextListener whether deployment of this is success or fail?

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,


Inside the ServletContextListener , under its contextIniliazed method , whats the best way to check whether the deployment is done successfully or failed ??


please tell how to do this , thanks in advance .


Save India From Corruption - Anna Hazare.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

What would be the symptoms of a failed deployment, other than the context listener wouldn't fire?
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

What would be the symptoms of a failed deployment, other than the context listener wouldn't fire?


Thanks for the reply David , but unfortunately i couldn't able to figure it out what does the above mean exactly .

David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

If the deployment fails, the context listener won't run.

I'm asking what a "failed deployment" would look like, and how would you check for it?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60780
    
  65

Isn't that like asking how a computer can check if it's plugged in or not?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
wood burning stoves
 
subject: Checking from ServletContextListener whether deployment of this is success or fail?
 
Similar Threads
Starting process threads when Tomcat starts
WA #1.....word association
Using application wide variables on jsp's
Loading the Properties file in a Web Application
Can not compile filter