Changeset 23432

Show
Ignore:
Timestamp:
09.12.2010 17:48:03 (9 years ago)
Author:
ak19
Message:

Helpful message when the port is already in use, instead of the MissingGSDL dialog appearing cryptically due to reasons not immediately apparent.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/greenstone/LocalLibraryServer.java

    r23143 r23432  
    512512    } 
    513513    catch (IOException bad_url_connection) { 
     514        System.err.println("Unable to open a connection to " + Configuration.library_url  
     515            + "\nCheck whether the port may already be in use. If so, change your\n" 
     516            + "Greenstone port number in the Greenstone Server Interface(GSI)."); 
    514517        throw bad_url_connection; 
    515518    }