// start all plugins registered
for (String configPath : dbs.getConfig().getPlugins()) {
String main = null;
PluginConfig c = new PluginConfig(configPath);
String pluginPath = c.getPluginLibraryPath();
try {
// load all classes from the plugin JARs
main = loadJar(pluginPath, "Main");
if (main == null) {
throw new Exception("main class (extending PluginMain) not found!");