Show
Ignore:
Timestamp:
09.04.2019 16:17:01 (6 months ago)
Author:
ak19
Message:

Recently GS3 tomcat failed to start on windows in a path containing spacse. Kathy discovered the cause was in catalina.opts property being set to contain a catanloup.config filepath that wasn't bookended by quotes. There are some further problems with catalina.opts property line, which I will fix and test incrementally and commit. This commit contains the minimal needed to fix GS3 tomcat server startup on windows.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/build.xml

    r32970 r33003  
    23482348    <if><bool> 
    23492349    <isset property="fedora.maxpermsize"/></bool> 
    2350       <property name="catalina.opts" value="-Djava.util.prefs.syncInterval=2000000 -DGSDL3HOME=$GSDL3HOME -DGSDLOS=$GSDLOS -DPATH=$PATH -Xmx800M -Dcantaloupe.config=${basedir}/cantaloupe.properties ${readonly.catalina.opts} ${fedora.maxpermsize}"/> 
     2350      <property name="catalina.opts" value="-Djava.util.prefs.syncInterval=2000000 -DGSDL3HOME=$GSDL3HOME -DGSDLOS=$GSDLOS -DPATH=$PATH -Xmx800M -Dcantaloupe.config=&quot;${basedir}/cantaloupe.properties&quot; ${readonly.catalina.opts} ${fedora.maxpermsize}"/> 
    23512351      <else> 
    2352     <property name="catalina.opts" value="-Djava.util.prefs.syncInterval=2000000 -DGSDL3HOME=$GSDL3HOME -DGSDLOS=$GSDLOS -DPATH=$PATH -Xmx800M -Dcantaloupe.config=${basedir}/cantaloupe.properties ${readonly.catalina.opts}"/> 
     2352    <property name="catalina.opts" value="-Djava.util.prefs.syncInterval=2000000 -DGSDL3HOME=$GSDL3HOME -DGSDLOS=$GSDLOS -DPATH=$PATH -Xmx800M -Dcantaloupe.config=&quot;${basedir}/cantaloupe.properties&quot; ${readonly.catalina.opts}"/> 
    23532353      </else> 
    23542354    </if>