I have an issue with a standalone Tomcat server (not linked with Apache).
When Tomcat starts up, the init() method of the servlet is getting called twice, i.e., two
There is a bug in your code. Your singleton is not thread-safe. That getInstance() method should be synchronised. Otherwise you are liable to construct multiple instances.