tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject [2/2] tomee git commit: TOMEE-1628 logging start/stop are not supported from tomee.bat
Date Sun, 30 Aug 2015 20:52:38 GMT
TOMEE-1628 logging start/stop are not supported from tomee.bat


Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/6014cf20
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/6014cf20
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/6014cf20

Branch: refs/heads/master
Commit: 6014cf207fd448371a9da18675f1b9c7898f56ed
Parents: 6b97067
Author: Romain Manni-Bucau <rmannibu@gmail.com>
Authored: Sun Aug 30 22:52:27 2015 +0200
Committer: Romain Manni-Bucau <rmannibu@gmail.com>
Committed: Sun Aug 30 22:52:27 2015 +0200

----------------------------------------------------------------------
 tomee/apache-tomee/src/main/resources/tomee.bat | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/6014cf20/tomee/apache-tomee/src/main/resources/tomee.bat
----------------------------------------------------------------------
diff --git a/tomee/apache-tomee/src/main/resources/tomee.bat b/tomee/apache-tomee/src/main/resources/tomee.bat
index 18f82b1..ab1bc04 100644
--- a/tomee/apache-tomee/src/main/resources/tomee.bat
+++ b/tomee/apache-tomee/src/main/resources/tomee.bat
@@ -69,6 +69,8 @@ for %%F in (%lib%/*.jar) do (
 
 if ""%1"" == ""deploy"" goto doDeploy
 if ""%1"" == ""undeploy"" goto doUndeploy
+if ""%1"" == ""start"" goto unsupportedCmd
+if ""%1"" == ""stop"" goto unsupportedCmd
 goto doExec
 
 :doDeploy
@@ -76,6 +78,10 @@ goto doExec
 "%_RUNJAVA%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" org.apache.openejb.cli.Bootstrap %1 -s
http://localhost:%port%/tomee/ejb %2
 goto end
 
+:unsupportedCmd
+echo start/stop commands are not compatible with tomee.bat, please use catalina.bar/startup.bat/shutdown.bat
+goto end
+
 :doExec
 "%_RUNJAVA%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" org.apache.openejb.cli.Bootstrap %*
 goto end


Mime
View raw message