PDA

View Full Version : How To get ContextLoaderListener bean load failuer exception



Ajay
Nov 13th, 2006, 10:03 AM
I want to make sure my web appln fails to start when any one of my beans defined in web context file fails to load.

In my case what happens is that even if any one bean fails to load, i get org.springframework.beans.factory.BeanCreationExce ption on console, but my websphere admin console displays web appln ready to listen request, which i dont want. how do i tell websphere that my web appln is not ready if any one bean fails to load


Thanks
Ajay