Author: cwiklik Date: Fri Jan 27 19:51:52 2017 New Revision: 1780603 URL: http://svn.apache.org/viewvc?rev=1780603&view=rev Log: UIMA-5281 modified processInRunningOrInitializingState() to check if state = Starting
Modified: uima/uima-ducc/trunk/uima-ducc-agent/src/main/java/org/apache/uima/ducc/agent/launcher/DuccCommandExecutor.java Modified: uima/uima-ducc/trunk/uima-ducc-agent/src/main/java/org/apache/uima/ducc/agent/launcher/DuccCommandExecutor.java URL: http://svn.apache.org/viewvc/uima/uima-ducc/trunk/uima-ducc-agent/src/main/java/org/apache/uima/ducc/agent/launcher/DuccCommandExecutor.java?rev=1780603&r1=1780602&r2=1780603&view=diff ============================================================================== --- uima/uima-ducc/trunk/uima-ducc-agent/src/main/java/org/apache/uima/ducc/agent/launcher/DuccCommandExecutor.java (original) +++ uima/uima-ducc/trunk/uima-ducc-agent/src/main/java/org/apache/uima/ducc/agent/launcher/DuccCommandExecutor.java Fri Jan 27 19:51:52 2017 @@ -309,7 +309,9 @@ public class DuccCommandExecutor extends return ( ((ManagedProcess) managedProcess).getDuccProcess().getProcessState() .equals(ProcessState.Running) || ((ManagedProcess) managedProcess).getDuccProcess().getProcessState() - .equals(ProcessState.Initializing) + .equals(ProcessState.Initializing) || + ((ManagedProcess) managedProcess).getDuccProcess().getProcessState() + .equals(ProcessState.Starting) ); } private void stopProcess(ICommandLine cmdLine, String[] cmd)