configuration = "classpath:jmxtrans.json, classpath:org/jmxtrans/embedded/config/jmxtrans-internals-servlet-container.json";
}
}
List<String> configurationUrls = StringUtils2.delimitedStringToList(configuration);
embeddedJmxTrans = configurationParser.newEmbeddedJmxTrans(configurationUrls);
String on = "org.jmxtrans.embedded:type=EmbeddedJmxTrans,name=jmxtrans,path=" + sce.getServletContext().getContextPath();
try {
objectName = mbeanServer.registerMBean(embeddedJmxTrans, new ObjectName(on)).getObjectName();
} catch (Exception e) {
throw new EmbeddedJmxTransException("Exception registering '" + objectName + "'", e);