Difference between revisions of "Start-up IMSMA Server"

From IMSMA Wiki
Jump to: navigation, search
m (Alnaucler moved page Automatic start-up for IMSMAng server to Start-up IMSMA Server without leaving a redirect)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
These command lines may either be added to the end of
 +
# the '''[[Scheduling Backup | IMSMA backup script/bat]]''' file
 +
# the generate '''[[Scheduling the Staging Area creation | Staging area script/bat]]''' file
 +
'''OR'''
 +
as a separate script/bat file that is scheduled to be executed after the above scripts.
  
should be combined on how to [[Scheduling Backup | scheduling backup]] too.
+
<pre>
 +
cd c:\IMSMAng\trayLauncher
 +
:: Start server
 +
java -Xss2m -client -cp "C:\IMSMAng\java\lib\tools.jar;C:\IMSMAng\server\jboss4\lib\;C:\IMSMAng\server\jboss4\lib\commons-logging.jar;C:\IMSMAng\server\jboss4\lib\concurrent.jar;C:\IMSMAng\server\jboss4\lib\dom4j.jar;C:\IMSMAng\server\jboss4\lib\getopt.jar;C:\IMSMAng\server\jboss4\lib\gnu-regexp.jar;C:\IMSMAng\server\jboss4\lib\jaxen.jar;C:\IMSMAng\server\jboss4\lib\jboss-common.jar;C:\IMSMAng\server\jboss4\lib\jboss-jmx.jar;C:\IMSMAng\server\jboss4\lib\jboss-system.jar;C:\IMSMAng\server\jboss4\lib\log4j-boot.jar;C:\IMSMAng\server\jboss4\lib\namespace.jar;C:\IMSMAng\server\jboss4\lib\webdavlib.jar;C:\IMSMAng\server\jboss4\lib\xercesImpl.jar;C:\IMSMAng\server\jboss4\lib\xml-apis.jar;C:\IMSMAng\server\jboss4\bin\run.jar;C:\IMSMAng\trayLauncher\TrayLauncher-1.0.jar;C:\IMSMAng\common\repository\clojure-1.3.0.jar;C:\IMSMAng\common\repository\commons-codec-1.2.jar;C:\IMSMAng\common\repository\commons-collections-3.1.jar;C:\IMSMAng\common\repository\imsmautil-1.0.jar;C:\IMSMAng\common\repository\jdom-2.0.2.jar;C:\IMSMAng\common\repository\log4j-1.2.17.jar;C:\IMSMAng\common\repository\jfreechart-1.0.15.jar;C:\Program Files (x86)\ArcGIS\Engine10.1\java\lib\arcobjects.jar;C:\Program Files (x86)\ArcGIS\Engine10.1\bin" -Xmx1024m    com.fgm.imsma.util.TrayLauncher.util.TrayLauncherServer
 +
</pre>
  
 +
{{Note |
 +
# The starting server command should be on '''one''' row.
 +
# A command window will be open and needs to be remained open or otherwise the IMSMA Server will shutdown.
 +
# There is no output to the IMSMA log files so it is not possible to check in the Console window that the IMSMA server is successfully started.
 +
# If you would like to start the TrayLauncher also then add a row with ''IMSMA.exe'' to the script
 +
}}
 
{{NavBox Technical Notes}}
 
{{NavBox Technical Notes}}
  
[[Category:NoPublic]]
 
 
[[Category:NAA]]
 
[[Category:NAA]]

Latest revision as of 15:29, 20 October 2017

These command lines may either be added to the end of

  1. the IMSMA backup script/bat file
  2. the generate Staging area script/bat file

OR as a separate script/bat file that is scheduled to be executed after the above scripts.

cd c:\IMSMAng\trayLauncher
:: Start server
java -Xss2m -client -cp "C:\IMSMAng\java\lib\tools.jar;C:\IMSMAng\server\jboss4\lib\;C:\IMSMAng\server\jboss4\lib\commons-logging.jar;C:\IMSMAng\server\jboss4\lib\concurrent.jar;C:\IMSMAng\server\jboss4\lib\dom4j.jar;C:\IMSMAng\server\jboss4\lib\getopt.jar;C:\IMSMAng\server\jboss4\lib\gnu-regexp.jar;C:\IMSMAng\server\jboss4\lib\jaxen.jar;C:\IMSMAng\server\jboss4\lib\jboss-common.jar;C:\IMSMAng\server\jboss4\lib\jboss-jmx.jar;C:\IMSMAng\server\jboss4\lib\jboss-system.jar;C:\IMSMAng\server\jboss4\lib\log4j-boot.jar;C:\IMSMAng\server\jboss4\lib\namespace.jar;C:\IMSMAng\server\jboss4\lib\webdavlib.jar;C:\IMSMAng\server\jboss4\lib\xercesImpl.jar;C:\IMSMAng\server\jboss4\lib\xml-apis.jar;C:\IMSMAng\server\jboss4\bin\run.jar;C:\IMSMAng\trayLauncher\TrayLauncher-1.0.jar;C:\IMSMAng\common\repository\clojure-1.3.0.jar;C:\IMSMAng\common\repository\commons-codec-1.2.jar;C:\IMSMAng\common\repository\commons-collections-3.1.jar;C:\IMSMAng\common\repository\imsmautil-1.0.jar;C:\IMSMAng\common\repository\jdom-2.0.2.jar;C:\IMSMAng\common\repository\log4j-1.2.17.jar;C:\IMSMAng\common\repository\jfreechart-1.0.15.jar;C:\Program Files (x86)\ArcGIS\Engine10.1\java\lib\arcobjects.jar;C:\Program Files (x86)\ArcGIS\Engine10.1\bin" -Xmx1024m    com.fgm.imsma.util.TrayLauncher.util.TrayLauncherServer
Note.jpg
  1. The starting server command should be on one row.
  2. A command window will be open and needs to be remained open or otherwise the IMSMA Server will shutdown.
  3. There is no output to the IMSMA log files so it is not possible to check in the Console window that the IMSMA server is successfully started.
  4. If you would like to start the TrayLauncher also then add a row with IMSMA.exe to the script