Changeset 26357


Ignore:
Timestamp:
2012-10-18T15:46:29+13:00 (12 years ago)
Author:
ak19
Message:

Added tomcat startup property for fedora/gsearch which sets the MaxPermSize so that it doesn't go beyond available memory. This property needs to be uncommented (to activate it) if fedora and gsearch use Greenstone's tomcat.

Location:
main/trunk/greenstone3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/build.properties.in

    r25386 r26357  
    8484flax.checkout.path=${flax.svn.root}/trunk/flaxmain
    8585
     86##This needs to be uncommented if using Fedora and Fedora GSearch with Greenstone's tomcat
     87#fedora.maxpermsize= -XX:MaxPermSize=128m
     88
    8689##Web services related constants##
    8790base.webservice.name=SOAPServer
  • main/trunk/greenstone3/build.xml

    r26185 r26357  
    10901090    <property name="tomcat.classpath" refid="local.tomcat.classpath"/>
    10911091    <property name="tomcat.path" refid="local.tomcat.path"/>
    1092     <property name="catalina.opts" value="-Djava.util.prefs.syncInterval=2000000 -DGSDL3HOME=$GSDL3HOME -DGSDLOS=$GSDLOS -DPATH=$PATH -Xmx400M"/>
     1092    <property name="catalina.opts" value="-Djava.util.prefs.syncInterval=2000000 -DGSDL3HOME=$GSDL3HOME -DGSDLOS=$GSDLOS -DPATH=$PATH -Xmx400M ${fedora.maxpermsize}"/>
    10931093
    10941094    <echo file="${catalina.home}/bin/setenv.bat">set CLASSPATH=${tomcat.classpath}</echo>
Note: See TracChangeset for help on using the changeset viewer.