private static PluginClassLoader eurekaJClassLoader;
public static void main(String[] args) throws Exception {
configure();
eurekaJClassLoader = new PluginClassLoader(Thread.currentThread().getClass().getClassLoader());
//-Dorg.eurekaj.webappDirectory=/srv/eurekaj/webapp -Dorg.eurekaj.pluginDirectory=/srv/eurekaj/plugins
String pluginsDir = System.getProperty("org.montric.pluginDirectory", "/srv/montric/plugins");
String webappDir = System.getProperty("org.montric.webappDirectory", "/srv/eurekaj/webapp");
System.setProperty("basedir", webappDir);