Hope you have a good week. I am struggling with the error which is it can not find resource instance from my ServletContextListener. It seems that it should be working but it did not. I can not figure out why and I'd like to get your help.
If you happen to know what I did wrong then please show me. For the information, I am using Tomcat 7.0 web server.
I declared a resource reference named TimerManager in my web.xml and my context.xml, and i try to look for it using InitialContext from my ServletContextListener.
Thanks so much in advance.
My ServletContextListener is as following:
My web.xml is as following:
My context.xml is as following:
The error I got :
It's a tiny ad only because the water is so cold.
Free, earth friendly heat - from the CodeRanch trailboss