• Post Reply Bookmark Topic Watch Topic
  • New Topic

listener-class does not implement any listener interface

 
Luciana Castro
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I would like to know what is the container behavior if a class defined in the deployment descriptor listener-class element does not implement any listener interface. The container will not startup?
Thanks,
Luciana
 
Faisal Khan
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Luciana,
I did not know the answer to your question so I though I'll try it out to see what happens:
Tomcat at the startup threw up a stack trace but unfortunately I could not capture all of it from the DOS window and i don't have it in log files on my local machine.
However, it still does load the applicationan you can use it.
hth
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!