protected void loadProfile(Container container, Profile profile) throws IOException, LifecycleException { Map<String, byte[]> fileConfigurations = profile.getFileConfigurations(); byte[] bytes = fileConfigurations.get(GRAPH_JSON); if (bytes != null && bytes.length > 0) { JmxProcess process = getJmxProcess(GRAPH_JSON, new ByteArrayInputStream(bytes)); if (process != null) { List<Server> servers = process.getServers(); for (Server server : servers) { configureProfileServer(server, container, profile); } JmxUtils.mergeServerLists(this.masterServersList, servers); } } for (Profile p : profile.getParents()) { loadProfile(container, p); } }