mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-16 22:43:12 +00:00
Added cleanup listeners. Updated Fileupload and IO dependencies to fix occassional upload problems, and improve application cleanup.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2951 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -507,7 +507,17 @@ public class ConfigurationManager
|
||||
|
||||
try
|
||||
{
|
||||
String configProperty = System.getProperty("dspace.configuration");
|
||||
String configProperty = null;
|
||||
try
|
||||
{
|
||||
configProperty = System.getProperty("dspace.configuration");
|
||||
}
|
||||
catch (SecurityException se)
|
||||
{
|
||||
// A security manager may stop us from accessing the system properties.
|
||||
// This isn't really a fatal error though, so catch and ignore
|
||||
log.warn("Unable to access system properties, ignoring.", se);
|
||||
}
|
||||
|
||||
if (configFile != null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user