tomcat-6.0.20 startup.bat return code now is consistent with unix
make the backup of tomcat logs from remote to controler host
| | |
| | | 'cleanup: stop webcontainer as described in config.py' |
| | | </message> |
| | | <call function="'stopWebcontainerWithScript'"> |
| | | { 'location' : STAF_REMOTE_HOSTNAME , |
| | | { 'location' : STAF_REMOTE_HOSTNAME, |
| | | 'wcPath' : '%s/%s-%s' % (WC_DIRECTORY,WC_TYPE,WC_VERSION) } |
| | | </call> |
| | | <message>'getting the list of generic known Issues spanning multiple tests'</message> |
| | | <call function="'runSTAFCommand'"> |
| | | { 'name' : 'backup tomcat log files', |
| | | 'location' : STAXServiceMachine, |
| | | 'location' : STAF_REMOTE_HOSTNAME, |
| | | 'service' : 'FS', |
| | | 'request' : 'COPY ', |
| | | 'arguments' : 'DIRECTORY %s/%s-%s/logs TODIRECTORY %s/tomcatLogBackup RECURSE' % (WC_DIRECTORY, WC_TYPE, WC_VERSION, local.temp) |
| | | 'arguments' : 'DIRECTORY %s/%s-%s/logs TODIRECTORY %s/tomcatLogBackup TOMACHINE %s RECURSE' % (WC_DIRECTORY, WC_TYPE, WC_VERSION, STAXServiceMachine, local.temp) |
| | | } |
| | | </call> |
| | | |
| | |
| | | '%s' % STAFCmd |
| | | </message> |
| | | |
| | | <!-- On Windows systems, startup command always returns 1 --> |
| | | <script> |
| | | if is_windows_platform(location): |
| | | expectedRC=1 |
| | | else: |
| | | expectedRC=0 |
| | | </script> |
| | | |
| | | <call function="'runCommand'"> |
| | | { 'location' : location, |
| | | 'command' : STAFCmd, |
| | | 'envCmd' : STAFCmdEnv, |
| | | 'name' : STAFCmd, |
| | | 'path' : wcBinPath, |
| | | 'expectedRC' : expectedRC |
| | | 'expectedRC' : 0 |
| | | } |
| | | </call> |
| | | |