Changeset 27238


Ignore:
Timestamp:
04/19/13 16:49:43 (8 years ago)
Author:
ak19
Message:

Target check-running-tomcat now no longer pings the URL of the form host:port/greenstone3 but just host:port/ instead, since if there's a problem with the servlet (greenstone3 in this example) then check-running-tomcat may return false even though tomcat is still running at host:port. Now if tomcat is running at host:port, the check succeeds, so the stop-tomcat target will know to run actually stop the web server in such a case.

File:
1 edited

Legend:

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

    r27199 r27238  
    12711271  <target name="check-tomcat-running">
    12721272    <condition property="tomcat.isrunning">
    1273       <http url="http://${tomcat.server}:${tomcat.port}${app.path}"/>
     1273      <!--<http url="http://${tomcat.server}:${tomcat.port}${app.path}"/>-->
     1274      <http url="http://${tomcat.server}:${tomcat.port}"/>
    12741275    </condition>
    12751276  </target>
Note: See TracChangeset for help on using the changeset viewer.