Changeset 27238

Show
Ignore:
Timestamp:
19.04.2013 16:49:43 (7 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.

Files:
1 modified

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>