summaryrefslogtreecommitdiffstats
path: root/zte/sfc-driver/plugin-standalone
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2018-03-23 16:46:47 +0800
committeryunlong ying <ying.yunlong@zte.com.cn>2018-03-23 09:37:55 +0000
commit3b7cee203aeeb82a1b8b6d23a59f3681808b02f6 (patch)
tree95998c97f16e2c91a2648e302812d82f6eff8f1c /zte/sfc-driver/plugin-standalone
parenta9a89ca8b15786e11d66b8aad644670c45363b65 (diff)
Fix sfcdriver startup bug
Change-Id: Icec797cdc214a5c53a364adf3287f6d0d269d938 Issue-ID: VFC-843 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'zte/sfc-driver/plugin-standalone')
-rw-r--r--zte/sfc-driver/plugin-standalone/src/main/assembly/run.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/zte/sfc-driver/plugin-standalone/src/main/assembly/run.sh b/zte/sfc-driver/plugin-standalone/src/main/assembly/run.sh
index 5a9ba00..24758c7 100644
--- a/zte/sfc-driver/plugin-standalone/src/main/assembly/run.sh
+++ b/zte/sfc-driver/plugin-standalone/src/main/assembly/run.sh
@@ -34,7 +34,7 @@ if [ $JAVA_VERSION = "1.8" ]
then
JAVA_OPTS="-Xms16m -Xmx128m -XX:+UseSerialGC -XX:MaxMetaspaceSize=64m -XX:NewRatio=2"
else
- JAVA_OPTS="-Xms16m -Xmx128m -XX:+UseSerialGC -XX:MaxPermSize=64m -XX:NewRatio=2"
+ JAVA_OPTS="-Xms16m -Xmx128m -XX:+UseSerialGC -XX:MaxPermSize=64m -XX:NewRatio=2"
fi
port=8779
#JAVA_OPTS="$JAVA_OPTS -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=$port,server=y,suspend=n"
@@ -43,6 +43,6 @@ echo @JAVA_OPTS@ $JAVA_OPTS
class_path="$RUNHOME/:$RUNHOME/sfc-service.jar"
echo @class_path@ $class_path
-"$JAVA" $JAVA_OPTS -classpath "$class_path" SfcDriver server "$RUNHOME/conf/console.yml"
+"$JAVA" $JAVA_OPTS -classpath "$class_path" org.onap.sfc.SfcDriver server "$RUNHOME/conf/console.yml"