summaryrefslogtreecommitdiffstats
path: root/distribution
diff options
context:
space:
mode:
Diffstat (limited to 'distribution')
-rw-r--r--distribution/standalone/src/main/assembly/conf/vnfsdkfunctest.yml2
-rw-r--r--distribution/standalone/src/main/assembly/run.sh13
2 files changed, 5 insertions, 10 deletions
diff --git a/distribution/standalone/src/main/assembly/conf/vnfsdkfunctest.yml b/distribution/standalone/src/main/assembly/conf/vnfsdkfunctest.yml
index e4e00d0..3e1a439 100644
--- a/distribution/standalone/src/main/assembly/conf/vnfsdkfunctest.yml
+++ b/distribution/standalone/src/main/assembly/conf/vnfsdkfunctest.yml
@@ -32,7 +32,7 @@ server:
adminContextPath: /admin
connector:
type: http
- port: 8100
+ port: 8701
# Logging settings.
logging:
diff --git a/distribution/standalone/src/main/assembly/run.sh b/distribution/standalone/src/main/assembly/run.sh
index b20c252..c556580 100644
--- a/distribution/standalone/src/main/assembly/run.sh
+++ b/distribution/standalone/src/main/assembly/run.sh
@@ -1,19 +1,14 @@
-
DIRNAME=`dirname $0`
RUNHOME=`cd $DIRNAME/; pwd`
echo @RUNHOME@ $RUNHOME
-
echo @JAVA_HOME@ $JAVA_HOME
JAVA="$JAVA_HOME/bin/java"
echo @JAVA@ $JAVA
-
JAVA_OPTS="-Xms50m -Xmx128m"
-port=8312
+port=8701
#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="$RUNHOME/:$RUNHOME/org.openo.vnfsdk.functest.jar"
-echo @class_path@ $class_path
-
-"$JAVA" $JAVA_OPTS -classpath "$class_path" org.openo.vnfsdk.functest.VnfSdkFuncTestApp server "$RUNHOME/conf/vnfsdkfunctest.yml"
+export CLASSPATH=CLASSPATH:"$JAVA_HOME/jre/lib"
+echo @CLASSPATH@ $CLASSPATH
+"$JAVA" $JAVA_OPTS -cp $RUNHOME/vnf-sdk-function-test.jar org.openo.vnfsdk.functest.VnfSdkFuncTestApp server "$RUNHOME/conf/vnfsdkfunctest.yml"