From 5fa664a12610d41c3428a0ecd4062ee3822544c6 Mon Sep 17 00:00:00 2001 From: Zhang Peng Date: Wed, 11 Jul 2018 17:23:28 +0800 Subject: [PATCH] =?UTF-8?q?:bookmark:=20=E5=90=AF=E5=8A=A8=E7=B1=BB?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=E6=94=B9=E5=8F=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- demos/scripts/demo01-start.bat | 2 +- demos/scripts/demo02-start.bat | 6 +++--- demos/scripts/demo03-start.bat | 6 +++--- demos/scripts/startup.sh | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/demos/scripts/demo01-start.bat b/demos/scripts/demo01-start.bat index 09b3799..406b59b 100644 --- a/demos/scripts/demo01-start.bat +++ b/demos/scripts/demo01-start.bat @@ -10,7 +10,7 @@ call nginx-start.bat echo ">>>> 2. Start javaapp - localhost:9010" cd "../javaapp" -java -Dtomcat.connector.port=9010 -cp "target/JavaWebApp/WEB-INF/classes;target/JavaWebApp/WEB-INF/lib/*" io.github.dunwu.app.Main +java -Dtomcat.connector.port=9010 -cp "target/JavaWebApp/WEB-INF/classes;target/JavaWebApp/WEB-INF/lib/*" io.github.dunwu.Main pause diff --git a/demos/scripts/demo02-start.bat b/demos/scripts/demo02-start.bat index 2f26849..7ab3519 100644 --- a/demos/scripts/demo02-start.bat +++ b/demos/scripts/demo02-start.bat @@ -13,9 +13,9 @@ call nginx-start.bat echo ">>>> 2. Start 3 java app: localhost:9021, localhost:9022, localhost:9023" cd "../javaapp" -start /min java -Dtomcat.connector.port=9021 -cp "target/JavaWebApp/WEB-INF/classes;target/JavaWebApp/WEB-INF/lib/*" io.github.dunwu.app.Main -start /min java -Dtomcat.connector.port=9022 -cp "target/JavaWebApp/WEB-INF/classes;target/JavaWebApp/WEB-INF/lib/*" io.github.dunwu.app.Main -start /min java -Dtomcat.connector.port=9023 -cp "target/JavaWebApp/WEB-INF/classes;target/JavaWebApp/WEB-INF/lib/*" io.github.dunwu.app.Main +start /min java -Dtomcat.connector.port=9021 -cp "target/JavaWebApp/WEB-INF/classes;target/JavaWebApp/WEB-INF/lib/*" io.github.dunwu.Main +start /min java -Dtomcat.connector.port=9022 -cp "target/JavaWebApp/WEB-INF/classes;target/JavaWebApp/WEB-INF/lib/*" io.github.dunwu.Main +start /min java -Dtomcat.connector.port=9023 -cp "target/JavaWebApp/WEB-INF/classes;target/JavaWebApp/WEB-INF/lib/*" io.github.dunwu.Main pause diff --git a/demos/scripts/demo03-start.bat b/demos/scripts/demo03-start.bat index 6cfd2d0..3c4208f 100644 --- a/demos/scripts/demo03-start.bat +++ b/demos/scripts/demo03-start.bat @@ -13,9 +13,9 @@ call nginx-start.bat echo ">>>> 2. Start 3 java app: localhost:9030, localhost:9031/product, localhost:9032/user" cd "../javaapp" -start /min java -Dtomcat.connector.port=9030 -Dtomcat.context.path=/ -cp "target/JavaWebApp/WEB-INF/classes;target/JavaWebApp/WEB-INF/lib/*" io.github.dunwu.app.Main -start /min java -Dtomcat.connector.port=9031 -Dtomcat.context.path=/product -cp "target/JavaWebApp/WEB-INF/classes;target/JavaWebApp/WEB-INF/lib/*" io.github.dunwu.app.Main -start /min java -Dtomcat.connector.port=9032 -Dtomcat.context.path=/user -cp "target/JavaWebApp/WEB-INF/classes;target/JavaWebApp/WEB-INF/lib/*" io.github.dunwu.app.Main +start /min java -Dtomcat.connector.port=9030 -Dtomcat.context.path=/ -cp "target/JavaWebApp/WEB-INF/classes;target/JavaWebApp/WEB-INF/lib/*" io.github.dunwu.Main +start /min java -Dtomcat.connector.port=9031 -Dtomcat.context.path=/product -cp "target/JavaWebApp/WEB-INF/classes;target/JavaWebApp/WEB-INF/lib/*" io.github.dunwu.Main +start /min java -Dtomcat.connector.port=9032 -Dtomcat.context.path=/user -cp "target/JavaWebApp/WEB-INF/classes;target/JavaWebApp/WEB-INF/lib/*" io.github.dunwu.Main pause diff --git a/demos/scripts/startup.sh b/demos/scripts/startup.sh index b9c6e06..3afa329 100644 --- a/demos/scripts/startup.sh +++ b/demos/scripts/startup.sh @@ -1 +1 @@ -nohup java -Dtomcat.context.path=/app -Dtomcat.connector.port=8091 -cp "./../target/JavaWebApp/WEB-INF/classes;./../target/JavaWebApp/WEB-INF/lib/*" io.github.dunwu.app.Main > 'console.log' 2>&1 & +nohup java -Dtomcat.context.path=/app -Dtomcat.connector.port=8091 -cp "./../target/JavaWebApp/WEB-INF/classes;./../target/JavaWebApp/WEB-INF/lib/*" https://github.com/dunwu > 'console.log' 2>&1 &