Changeset 32921 for main

Show
Ignore:
Timestamp:
21.03.2019 17:51:41 (8 months ago)
Author:
ak19
Message:

Fixing remote GS3 server side bug introduced with the ProtocolPortProperties?.java GS3 runtime code: its included in jar file gutil.jar which now needs to be on the classpath for running serverletrealmcheck for getting the usergroups during authentication. With this fix, gliserver.pl works again to determine usergroups, allowing client-gli to show and open previously created remote collections.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/cgi-bin/gliserver.pl

    r32169 r32921  
    267267        my $java_gsdl3_classpath = &util::filename_cat($gsdl3srchome, "web", "WEB-INF", "lib", "gsdl3.jar"); 
    268268        my $java_derby_classpath = &util::filename_cat($gsdl3srchome, "web", "WEB-INF", "lib", "derby.jar"); 
     269        my $java_gs3util_classpath = &util::filename_cat($gsdl3srchome, "web", "WEB-INF", "lib", "gutil.jar"); # for ProtocolPortProperties used by server side java code 
    269270        my $java_classpath; 
    270271        my $gsdlos = $ENV{'GSDLOS'}; 
    271272        if ($gsdlos !~ m/windows/){ 
    272             $java_classpath = $java_gsdl3_classpath . ":" . $java_derby_classpath; 
     273            $java_classpath = $java_gsdl3_classpath . ":" . $java_derby_classpath . ":" . $java_gs3util_classpath; 
    273274        }else{ 
    274             $java_classpath = $java_gsdl3_classpath . ";" . $java_derby_classpath; 
     275            $java_classpath = $java_gsdl3_classpath . ";" . $java_derby_classpath . ";" . $java_gs3util_classpath; 
    275276        }        
    276277        my $java_args = "\"$gsdl3srchome\" \"$username\" \"$user_password\"";