ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anovi...@apache.org
Subject ignite git commit: IGNITE-843 Fixed agent launch to show correct name in JPS.
Date Thu, 11 Feb 2016 11:15:48 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-843-rc2 2b0c48f77 -> 84207e6a2


IGNITE-843 Fixed agent launch to show correct name in JPS.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/84207e6a
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/84207e6a
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/84207e6a

Branch: refs/heads/ignite-843-rc2
Commit: 84207e6a2f406d820b1f063ca2a8aaf9ef1f7859
Parents: 2b0c48f
Author: Vasiliy Sisko <vsisko@gridgain.com>
Authored: Thu Feb 11 18:15:49 2016 +0700
Committer: Andrey <anovikov@gridgain.com>
Committed: Thu Feb 11 18:15:49 2016 +0700

----------------------------------------------------------------------
 modules/control-center-agent/bin/ignite-web-agent.bat | 2 +-
 modules/control-center-agent/bin/ignite-web-agent.sh  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/84207e6a/modules/control-center-agent/bin/ignite-web-agent.bat
----------------------------------------------------------------------
diff --git a/modules/control-center-agent/bin/ignite-web-agent.bat b/modules/control-center-agent/bin/ignite-web-agent.bat
index f2bc61b..5b3f24c 100644
--- a/modules/control-center-agent/bin/ignite-web-agent.bat
+++ b/modules/control-center-agent/bin/ignite-web-agent.bat
@@ -55,7 +55,7 @@ goto error_finish
 ::
 if "%JVM_OPTS%" == "" set JVM_OPTS=-Xms1g -Xmx1g -server -XX:+AggressiveOpts -XX:MaxPermSize=256m
 
-"%JAVA_HOME%\bin\java.exe" %JVM_OPTS% -jar ignite-web-agent-${version}.jar %*
+"%JAVA_HOME%\bin\java.exe" %JVM_OPTS% -cp ignite-web-agent-${version}.jar org.apache.ignite.console.agent.AgentLauncher
 %*
 
 set JAVA_ERRORLEVEL=%ERRORLEVEL%
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/84207e6a/modules/control-center-agent/bin/ignite-web-agent.sh
----------------------------------------------------------------------
diff --git a/modules/control-center-agent/bin/ignite-web-agent.sh b/modules/control-center-agent/bin/ignite-web-agent.sh
index f8346b4..6d0a1b5 100644
--- a/modules/control-center-agent/bin/ignite-web-agent.sh
+++ b/modules/control-center-agent/bin/ignite-web-agent.sh
@@ -84,4 +84,4 @@ if [ -z "$JVM_OPTS" ] ; then
     JVM_OPTS="-Xms1g -Xmx1g -server -XX:+AggressiveOpts -XX:MaxPermSize=256m"
 fi
 
-"$JAVA" ${JVM_OPTS} -jar ignite-web-agent-${version}.jar "$@"
+"$JAVA" ${JVM_OPTS} -cp ignite-web-agent-${version}.jar org.apache.ignite.console.agent.AgentLauncher
"$@"


Mime
View raw message