Author: burn Date: Fri Nov 20 13:31:52 2015 New Revision: 1715357 URL: http://svn.apache.org/viewvc?rev=1715357&view=rev Log: UIMA-4695 Add a query string to the AP callback addr so ducc_ling creates 2 streams
Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-cli/src/main/java/org/apache/uima/ducc/cli/CliBase.java Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-cli/src/main/java/org/apache/uima/ducc/cli/CliBase.java URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-cli/src/main/java/org/apache/uima/ducc/cli/CliBase.java?rev=1715357&r1=1715356&r2=1715357&view=diff ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-cli/src/main/java/org/apache/uima/ducc/cli/CliBase.java (original) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-cli/src/main/java/org/apache/uima/ducc/cli/CliBase.java Fri Nov 20 13:31:52 2015 @@ -422,6 +422,8 @@ public abstract class CliBase /* * Resolve any ${..} placeholders against user's system properties and environment + * NOTE - this resolves against the caller's sys-props & environment ... the one in DuccUiUtilities + * resolves against the process JVM args to match what is done by Spring in UIMA-AS. * 2.0: Leave unresolved entries as is & warn if not one of the always-propagated ones */ private String resolvePlaceholders(String contents, List<String> envNameList) { @@ -673,6 +675,9 @@ public abstract class CliBase if (console_attach) { console_listener = new ConsoleListener(this, consoleCb); value = console_listener.getConsoleHostAddress(); + if (myClassName.equals(DuccManagedReservationSubmit.class.getName())) { + value += "?splitstreams"; // Add a query string so APs have separate streams + } } else if (suppress_console_log) { value = "suppress"; } else {