diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/servlet/setup/JenaDataSourceSetupBase.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/servlet/setup/JenaDataSourceSetupBase.java index 9d5a82c11..8e6cbcbbf 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/servlet/setup/JenaDataSourceSetupBase.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/servlet/setup/JenaDataSourceSetupBase.java @@ -54,7 +54,7 @@ public class JenaDataSourceSetupBase extends JenaBaseDaoCon { protected static String AUTHPATH = BASE+"auth/"; public static String APPPATH = BASE+"app/"; //these files are loaded everytime the system starts up - public static String APPPATH_LOAD = APPPATH + "menuload"; + public static String APPPATH_LOAD = APPPATH + "menuload/"; protected static String SUBMODELS = "/WEB-INF/submodels/"; protected static boolean firstStartup = false; diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/servlet/setup/JenaPersistentDataSourceSetup.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/servlet/setup/JenaPersistentDataSourceSetup.java index a6c99b25a..9055e5dca 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/servlet/setup/JenaPersistentDataSourceSetup.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/servlet/setup/JenaPersistentDataSourceSetup.java @@ -99,33 +99,6 @@ public class JenaPersistentDataSourceSetup extends JenaDataSourceSetupBase } catch (Throwable t) { log.error("Unable to load user application configuration model Display Model from DB", t); } - /* - //For comparison purposes - //Read in application.owl and menu.n3 and compare with what is currently in the display model - //What are the differences - try { - //This is the model as retrieved on system load - Model loadedModel = ModelFactory.createDefaultModel(); - - - //Now read in from the menu model - Model appDbModel = makeDBModelFromConfigurationProperties( - JENA_DISPLAY_METADATA_MODEL, DB_ONT_MODEL_SPEC, ctx); - //Now compare - do differences in both directions - //What's in the upto date display that's not in the one that's loaded from files - Model notInLoadedModel = appDbModel.difference(loadedModel); - System.out.println("**These are the statements not in the loaded model that ARE in the current model"); - notInLoadedModel.write(System.out, "N3"); - //Could also do RDF.. if need to - //Do the opposite too to check - Model notInCurrentModel = loadedModel.difference(appDbModel); - System.out.println("**These are statements in loaded model NOT in the current model"); - notInCurrentModel.write(System.out, "N3"); - } catch (Exception ex) { - System.out.println("An error occurred in reading this file"); - ex.printStackTrace(); - } - */ } @Override