log.info("The example service is being activated");
try {
tcManager.createMGraph(REQUEST_LOG_GRAPH_NAME);
//now make sure everybody can read from the graph
//or more precisly, anybody who can read the content-graph
TcAccessController tca = new TcAccessController(tcManager);
tca.setRequiredReadPermissions(REQUEST_LOG_GRAPH_NAME,
Collections.singleton((Permission)new TcPermission(
"urn:x-localinstance:/content.graph", "read")));
} catch (EntityAlreadyExistsException ex) {
log.debug("The graph for the request log already exists");
}