{
desktop = new Desktop();
desktop.setVisible(true);
- desktop.discoverer.start();
+ desktop.startServiceDiscovery();
if (!aparser.contains("nousagestats"))
{
startUsageStats(desktop);
return v_client;
}
+
+ public void startServiceDiscovery()
+ {
+ discoverer.start();
+
+ try {
+ new Thread(jalview.ws.EnfinEnvision2OneWay.getInstance()).start();
+ } catch (Exception e)
+ {
+ Cache.log.info("Exception when trying to launch Envision2 workflow discovery.",e);
+ Cache.log.info(e.getStackTrace());
+ }
+ }
}