Start-up IMSMA Server

From IMSMA Wiki
Revision as of 14:29, 20 October 2017 by Alnaucler (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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