You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by ch...@apache.org on 2013/08/05 21:41:26 UTC

svn commit: r1510685 - /uima/sandbox/uima-ducc/trunk/src/main/admin/ducc.py

Author: challngr
Date: Mon Aug  5 19:41:26 2013
New Revision: 1510685

URL: http://svn.apache.org/r1510685
Log:
UIMA-3016 Set -Xmx from ducc.properties into ACTIVEMQ_OPTS for broker.

Modified:
    uima/sandbox/uima-ducc/trunk/src/main/admin/ducc.py

Modified: uima/sandbox/uima-ducc/trunk/src/main/admin/ducc.py
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/src/main/admin/ducc.py?rev=1510685&r1=1510684&r2=1510685&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/src/main/admin/ducc.py (original)
+++ uima/sandbox/uima-ducc/trunk/src/main/admin/ducc.py Mon Aug  5 19:41:26 2013
@@ -42,8 +42,10 @@ class Ducc(DuccUtil):
         if ( broker_config[0] != '/' ):     # relative to broker_home if not absolute
             broker_config = broker_home + '/' + broker_config
 
-        os.environ['ACTIVEMQ_OPTS'] = '-DDUCC_AMQ_PORT=' + broker_port + ' -DDUCC_AMQ_JMX_PORT=' + broker_jmx_port + ' -DDUCC_AMQ_DECORATION=' + broker_url_decoration
-        os.environ['ACTIVEMQ_OPTS_MEMORY'] = broker_memory_opts
+        os.environ['ACTIVEMQ_OPTS'] = '-DDUCC_AMQ_PORT=' + broker_port + \
+            ' -DDUCC_AMQ_JMX_PORT=' + broker_jmx_port + \
+            ' -DDUCC_AMQ_DECORATION=' + broker_url_decoration + \
+            ' ' + broker_memory_opts
         os.environ['ACTIVEMQ_HOME'] = broker_home
 
         here = os.getcwd()