"', no appropriate component found on the server");
continue;
}
if (ViewProcessor.class.equals(componentInfo.getType())) {
final JmsConnector jmsConnector = createJmsConnector(componentInfo);
final ScheduledExecutorService scheduler = Executors.newSingleThreadScheduledExecutor(new NamedThreadFactory("rvp"));
ViewProcessor vp = new RemoteViewProcessor(componentInfo.getUri(), jmsConnector, scheduler);
toolContext.setViewProcessor(vp);
toolContext.setContextManager(new Closeable() {
@Override
public void close() throws IOException {