public void init(final ServletContext context, final Map<String, String> paras) { _startTime = new Date(); _context = context; _sipFactory = (SipFactory) context.getAttribute(ServletContextConstants.SIP_FACTORY); _mrcpFactory = (MrcpFactory) context.getAttribute(ServletContextConstants.MRCP_FACTORY); _appJarUrl = _context.getRealPath("/") + "WEB-INF" + File.separator + "lib" + File.separator + "tropo.jar"; _cache = Collections.synchronizedMap(new WeakHashMap<Object, Application>()); _tmx = ManagementFactory.getThreadMXBean(); _mmx = ManagementFactory.getMemoryMXBean(); try { _tropoBuildDate = Utils.getManifestAttribute(_appJarUrl, "Build-Date"); } catch (final IOException t) { LOG.error(t.toString(), t); _tropoBuildDate = "Unknown"; } try { _tropoVersionNo = Utils.getManifestAttribute(_appJarUrl, "Version-No"); } catch (final IOException t) { LOG.error(t.toString(), t); _tropoVersionNo = "Unknown"; } try { _tropoBuildNo = Utils.getManifestAttribute(_appJarUrl, "Build-No"); } catch (final IOException t) { LOG.error(t.toString(), t); _tropoBuildNo = "Unknown"; } LOG.info(toString() + " / " + getVersionNo() + " / " + getBuildNo()); }