Changeset 19004 for gli


Ignore:
Timestamp:
2009-04-16T12:58:16+12:00 (15 years ago)
Author:
ak19
Message:

When the local server application doesn't terminate properly and a URL is still left in the glisite.cfg/llssite.cfg file, LocalLibraryServer.java now on STARTUP launches the server app. Previously gli would not launch the server app in such a case because it assumed the server was still running. This caused the missing server phenomenon: because the url would never be removed from glisite.cfg since the server app would never be run, the server would never be launched from GLI.

File:
1 edited

Legend:

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

    r19003 r19004  
    182182        running = true;
    183183
    184         // on Linux, run the server interface (will work with any server already running)
    185         if(!Utility.isWindows()) {
    186             Gatherer.spawnApplication(local_library_server_command, ID);
    187         }
     184        // Run the server interface
     185        Gatherer.spawnApplication(local_library_server_command, ID);
    188186        return;
    189187        }
Note: See TracChangeset for help on using the changeset viewer.