public void oneTimeConfig() { // Tell JNDI config to not expect JNDI props System.setProperty( "gov.usgs.cida.config.DynamicReadOnlyProperties.EXPECT_NON_JNDI_ENVIRONMENT", "true"); System.setProperty(LoadModelMetadata.SKIP_LOADING_PREDEFINED_THEMES, "true"); // Production Properties System.setProperty( SharedApplication.READONLY_DB_URL_KEY, "jdbc:oracle:thin:@130.11.165.152:1521:widw"); System.setProperty(SharedApplication.READONLY_DB_USER_KEY, "sparrow_dss"); System.setProperty(SharedApplication.READONLY_DB_USER_KEY, dbPwd); // Turns on detailed logging - very verbose on the tests // log.setLevel(Level.DEBUG); // Generically turn on logging for Actions // log.getLogger(Action.class).setLevel(Level.DEBUG); // Turn off logging for the lifecycle Logger.getLogger(LifecycleListener.class).setLevel(Level.ERROR); lifecycle.contextInitialized(null, true); }