Changes between Version 22 and Version 23 of HOWTO-DeploySimulator


Ignore:
Timestamp:
09/07/2022 12:47:46 PM (4 years ago)
Author:
jdalbey
Comment:

Add clarifications in section one.

Legend:

Unmodified
Added
Removed
Modified
  • HOWTO-DeploySimulator

    v22 v23  
    11= How to deploy and run Simulator (dev/test environment) = 
    22== Deploy Simulator == 
    3 On a development machine checkout the TMC Simulator trunk from the SVN repo. 
     3On a development machine checkout the TMC Simulator trunk from the SVN repo. (This is the project checkout [https://tinyurl.com/y4579yw7 command].) 
    44 
    5 (On the DEV/TEST workstation the project may already be checked out in `C:\Users\PC\Documents\repo`, so open a terminal, cd to that folder, do an '`svn update`' instead). 
     5(On the DEV/TEST workstation the project may already be checked out in `C:\Users\PC\Documents\repo)`. 
    66 
    7 Open the project in !NetBeans. [[BR]]Clean and Build.[[BR]]Run Test Project and confirm any failed tests aren't system problems.[[BR]]Run the build target: package-jars 
     7Open the project in !NetBeans. [[BR]]Run Subversion Update, if necessary.[[BR]]Clean and Build.[[BR]]Run Test Project and confirm any failed tests aren't system problems.[[BR]]Run the build target: package-jars  (Go to the Files tab, expand TMCSim folder, right-click on build.xml, choose Run Target > package-jars).  This will construct several jar files in the deploy directory, each filename contains the revision number. 
    88 
     9{{{ 
     1009/07/2022  12:36 PM         1,723,451 CADclient_r651.jar 
     1109/07/2022  12:36 PM         1,720,489 CADDataTableTest_r651.jar 
     1209/07/2022  12:36 PM         3,110,868 CADserver_r651.jar 
     1309/07/2022  12:36 PM         1,720,483 ClockClient_r651.jar 
     1409/07/2022  12:36 PM         1,228,214 ShowUserDir.jar 
     1509/07/2022  12:36 PM         1,798,239 SimManager_r651.jar 
     1609/07/2022  12:36 PM         1,363,074 TrafficEventsAnimator.jar 
     1709/07/2022  12:36 PM             9,034 unifiedlogger.zip 
     18}}} 
    919(Alternately, without !NetBeans, run Ant from the command line in the folder: `trunk/IDE_metadata/NetBeans/TMCSim`) 
    1020 
    11 While connected to the TMC lab LAN open a network connection to STORAGE. (Note: it accepts anonymous connection without password.  If this fails, as a workaround just transfer the files using !SneakerNet - a USB Flash Drive.) 
     21While connected to the TMC lab LAN (TMC Simulator 5G) open a network connection to STORAGE. (Note: it accepts anonymous connection without password.  If this fails, as a workaround just transfer the files using !SneakerNet - a USB Flash Drive.) 
    1222 
    1323Copy `trunk/deploy` folder to STORAGE.   If needed, copy any changed config files, images, or data files. 
     
    2636Copy the `webapps `folder from repository trunk to Dev machine folder `C:\TMC Simulator 2019`. 
    2737 
    28 If necessary, copy `unifiedlogger.zip` from deploy folder to `webapps `folder.  (This may have been done prior to deployment). 
     38If necessary, copy `unifiedlogger.zip` from deploy folder to `webapps `folder.  (This may have been done in the previous step, or prior to deployment). 
    2939 
    3040Make sure Python 2.7 is installed. 
     
    3747The server GUI should appear displaying time 0:00:00. 
    3848 
    39 The Simulation Manager GUI should appear.   
     49The Simulation Manager GUI should appear. 
    4050 
    4151A terminal window should appear with console message: `Unified Logging Service v? starting from ``C:\TMC Simulator 2019` 
     
    5868 
    5969=== Troubleshooting === 
    60 The startup batch file provides a five second delay after starting the server  before launching the Sim Manager, which should be adequate, but if the  server is slow starting for some reason, the Sim Mgr terminal window  will show a console error to the effect that the server wasn't found.   If that happens, just close everything and run the batch file again. 
     70The startup batch file provides a five second delay after starting the server  before launching the Sim Manager, which should be adequate, but if the  server is slow starting for some reason, the Sim Mgr terminal window  will show a console error to the effect that the server wasn't found.   If that happens, just close everything and run the batch file again. 
    6171 
    6272----