Changes between Version 22 and Version 23 of HOWTO-DeploySimulator
- Timestamp:
- 09/07/2022 12:47:46 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HOWTO-DeploySimulator
v22 v23 1 1 = How to deploy and run Simulator (dev/test environment) = 2 2 == Deploy Simulator == 3 On a development machine checkout the TMC Simulator trunk from the SVN repo. 3 On a development machine checkout the TMC Simulator trunk from the SVN repo. (This is the project checkout [https://tinyurl.com/y4579yw7 command].) 4 4 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)`. 6 6 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-jars7 Open 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. 8 8 9 {{{ 10 09/07/2022 12:36 PM 1,723,451 CADclient_r651.jar 11 09/07/2022 12:36 PM 1,720,489 CADDataTableTest_r651.jar 12 09/07/2022 12:36 PM 3,110,868 CADserver_r651.jar 13 09/07/2022 12:36 PM 1,720,483 ClockClient_r651.jar 14 09/07/2022 12:36 PM 1,228,214 ShowUserDir.jar 15 09/07/2022 12:36 PM 1,798,239 SimManager_r651.jar 16 09/07/2022 12:36 PM 1,363,074 TrafficEventsAnimator.jar 17 09/07/2022 12:36 PM 9,034 unifiedlogger.zip 18 }}} 9 19 (Alternately, without !NetBeans, run Ant from the command line in the folder: `trunk/IDE_metadata/NetBeans/TMCSim`) 10 20 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.)21 While 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.) 12 22 13 23 Copy `trunk/deploy` folder to STORAGE. If needed, copy any changed config files, images, or data files. … … 26 36 Copy the `webapps `folder from repository trunk to Dev machine folder `C:\TMC Simulator 2019`. 27 37 28 If necessary, copy `unifiedlogger.zip` from deploy folder to `webapps `folder. (This may have been done prior to deployment).38 If necessary, copy `unifiedlogger.zip` from deploy folder to `webapps `folder. (This may have been done in the previous step, or prior to deployment). 29 39 30 40 Make sure Python 2.7 is installed. … … 37 47 The server GUI should appear displaying time 0:00:00. 38 48 39 The Simulation Manager GUI should appear. 49 The Simulation Manager GUI should appear. 40 50 41 51 A terminal window should appear with console message: `Unified Logging Service v? starting from ``C:\TMC Simulator 2019` … … 58 68 59 69 === 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.70 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. 61 71 62 72 ----
