Well, org.apache.tomcat.InstanceManager is part of the Tomcat API and that's probably the reason why we used this class to detect the Tomcat container. Anyway, this way of detection seems quite unreliable to me. Maybe we should use javax.servlet.ServletContext.getServerInfo() instead. Or some combination...
|