summaryrefslogtreecommitdiffstats
path: root/engine-d-standalone/src/main
diff options
context:
space:
mode:
authorGuangrongFu <fu.guangrong@zte.com.cn>2018-03-29 19:15:40 +0800
committerGuangrongFu <fu.guangrong@zte.com.cn>2018-03-29 19:15:40 +0800
commit94366b596c4c45427b1b9641609f98155e68d60c (patch)
treead1fae0881114934368bb5d64041ee2207780256 /engine-d-standalone/src/main
parent1177d23e2be4a99f231b2d886ea121bf4e0611bc (diff)
Fixed the Instantiation Problem of Engine
Change-Id: I771d72f3b1f244fae4f303f15c40ebd322a24de1 Issue-ID: HOLMES-106 Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'engine-d-standalone/src/main')
-rw-r--r--engine-d-standalone/src/main/assembly/bin/run.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine-d-standalone/src/main/assembly/bin/run.sh b/engine-d-standalone/src/main/assembly/bin/run.sh
index 3f3c662..f682ed7 100644
--- a/engine-d-standalone/src/main/assembly/bin/run.sh
+++ b/engine-d-standalone/src/main/assembly/bin/run.sh
@@ -25,12 +25,12 @@ JAVA="$JAVA_HOME/bin/java"
echo @JAVA@ $JAVA
main_path=$RUNHOME/..
cd $main_path
-JAVA_OPTS="-Xms50m -Xmx128m"
+JAVA_OPTS="-Xms50m -Xmx128m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=9202,server=y,suspend=n"
port=8312
#JAVA_OPTS="$JAVA_OPTS -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=$port,server=y,suspend=n"
echo @JAVA_OPTS@ $JAVA_OPTS
-class_path="$main_path/*:$main_path/lib/*:$main_path/holmes-engine-d.jar"
+class_path="$main_path/:$main_path/holmes-engine-d.jar"
echo @class_path@ $class_path
sed -i "s/activemq.username=.*/activemq.username=activemq/" /home/activemq/apache-activemq-5.9.0/conf/credentials.properties