Commit Graph
427 Commits
Author SHA1 Message Date
Axel Uhl 79e06d4fda Merge branch 'master' into bug4221
Change-Id: I9b0f114101056455fa8f92947eae835c771e5d44
2019-02-15 09:56:38 +01:00
Axel Uhl a34583f354 added fragment com.sap.sse.jettyextensions with synchronized handler collections
Change-Id: Ib15866857428a21b8f7bb57a8b07b5bb34b255e4
2019-02-14 20:12:30 +01:00
Axel Uhl 0fc43dd366 added null-safety in case no fixes were added/replaced
Change-Id: I874f59e6b14884fd0655d04d075ec0184430fee5
2019-02-14 01:20:44 +01:00
Axel Uhl bec2969357 updated java/target/status script to use /gwt/status 2019-02-09 16:48:11 +01:00
Axel Uhl 17093b4dc6 availability checks now return non-2XX response code if unavailable; status script adjusted;
the java/target/status script now uses the consolidated
/sailingserver/api/v1/status end point and returns a 200 response if and
only if the RacingEventService has loaded all races it needs to load and
replication reports availability. In all other cases, non-2XX codes
are reported, such as 503 (not available) or 404 (not found)

Change-Id: I55ca3c98de993be0e6fff8e02837d17dd54431f6
2019-02-04 13:27:42 +01:00
Axel Uhl 6756171f29 increase number of Jetty threadpool threads from 64 to 250;
with long-running requests such as data-mining etc. it may be
helpful to follow the Jetty recommendations and exceed the
5*#CPUs which for a 16 CPU instance would already be 80 threads,
not 64. Ultimately, we should make this a setting that is
controlled by a property determined on the respective instance,
based on the #CPUs the instance has available.

Change-Id: I911558ce431da04800e0ec50858a79221882d008
2019-02-01 14:09:03 +01:00
Axel Uhl b4d168b836 Merge remote-tracking branch 'server/master' into bug4876
Change-Id: Ie3103aacead7f3a2d1c344e32540ad3dd7f55e32
2019-01-27 10:53:49 +01:00
Axel Uhl 878e5d9dd2 upgraded the MongoDB driver to version 3.6.4; upgraded target platform
Change-Id: I621d4af6d3a3b0bcbf70310f731153cacfecebfc
2019-01-25 16:46:46 +01:00
Axel Uhl 4289557e5a the refreshInstance.sh script's "install-release" option now defaults to the newest build-* release 2019-01-24 22:35:48 +01:00
Alessandro Stoltenberg dc5b5dd57a Added MONGODB_URI to status script 2019-01-23 15:30:17 +01:00
Axel Uhl f8a2d2fb0d java/target/status now delivers an exit code of 0 if the server is available, and 1 if not;
it considers the outputs of /index.html, scanning for a 2XX HTTP
response code, checks the availability of the RacingEventService using
the /sailingserver/api/v1/status end point and checks the replication
stack for availability using /replication/replication?action=STATUS

Change-Id: Ic277aa5a248b5bc31a7042f46b388e734655c980
2019-01-18 18:24:48 +01:00
EC2 Server cc16072f30 eliminate username/password information from MONGODB_URI in version.txt 2019-01-11 20:03:22 +00:00
Axel Uhl 806089a395 added handling of new debug.properties config file in buildAndUpdateProduct.sh and refreshInstance.sh
Change-Id: Ie5280dba773e2ee406ebf01d966e20ad68ff3b92
2019-01-11 12:28:19 +01:00
Axel Uhl 81284e434b moved com.google.gwt.servlet to sse feature (it's not target platform);
shortened MongoDB index names... AWS Document DB doesn't like long index names

Change-Id: I842e75b34b67dbf05df1948a970bf50b1349162f
2019-01-11 00:51:23 +01:00
Axel Uhl abf4ea3c03 added debug.properties for OSGi framework so activator exceptions are properly logged
Change-Id: Ib950166d06026db192c576f142beb3006aceb813
2019-01-10 22:22:56 +01:00
Axel Uhl 138990131b fixed system string regarding MONGODB_URI variable
Change-Id: I9d2e0bc93856c6b13e19c86eb79ab208663ca83b
2019-01-10 20:41:54 +01:00
Axel Uhl 55bc4c9536 removed extra log output from env.sh
Change-Id: I891df311f907094cb5d23f8e63a0c0741c473222
2018-12-20 12:28:32 +01:00
Axel Uhl 8e0df0856c enhanced JVM version recognition for better logging option tuning
Change-Id: I7624ec07e5e683322eb62b0d8fa1b26f1f7f2e0b
2018-12-20 12:26:53 +01:00
Axel Uhl a99f7453fc in env.sh defaults, set -Drestore.tracked.races=true; in start script added -Xms$MEMORY
Change-Id: Ia410b4aaf987c14e26eec7cbb18df77d8d5a7b0f
2018-12-07 09:01:47 +01:00
Axel Uhl 39fa8032df introduce a MONGODB_URI env variable and always pull container image 2018-12-05 10:42:28 +01:00
Axel Uhl 49db8126bb allow solution to run with both, Java8 and Java11 with same target platform
Change-Id: I4f7772aaa1d9d1b65a2452ad98d8c51809fef2b4
2018-11-30 21:20:06 +01:00
Axel Uhl 2d47d747b9 use ${project_loc:java} to find JavaSE-11.profile in launch config; use ZGC in env.sh
Change-Id: I6c455c23cae43bd1c1443b75550d8522efdcd33d
2018-11-28 10:18:53 +01:00
Axel Uhl 3c376e2367 also clean up Dockerfile; handle mail env variables to update mail.properties; turn off mail authentication by default 2018-11-27 21:26:05 +01:00
Axel Uhl dcf4f4f66c when using "start fg" use exec to replace the shell --> Docker-friendly 2018-11-27 20:57:12 +01:00
Axel Uhl 5b9099ae61 fixed env variable checks in env.sh
Change-Id: I3b303873b27e1a1a7ec024cbcf045b7516d50b89
2018-11-27 17:44:44 +01:00
Axel Uhl 12fe9e150d added JavaSE-11.profile to env.sh; fixed ADDITIONAL_JAVA_ARGS use in start script
Change-Id: Ie87af4809d7a5cbd1032bda6ccc9c27a7c6b575f
2018-11-27 16:08:44 +01:00
Axel Uhl b18d7bac4b updated env.sh to accept AUTO_REPLICATE env parameter
Change-Id: I575e15f99cc316b7945f599d8545f13f0aacce8f
2018-11-27 15:44:10 +01:00
Axel Uhl 78b5cf1bc6 use and in env.sh don't override environment variables that are already set
Change-Id: Ib084c6b3fee2819265484519b4b1b47a6ebb43a2
2018-11-27 14:49:46 +01:00
Axel Uhl 60f5faa11d include the JavaSE-11.profile stuff in build and start script
Change-Id: I33b871eb2d4fd3092195cc24791fc7f47048281a
2018-11-27 11:53:42 +01:00
Axel Uhl 8d772196de Adding com.sun.istack bundle to satisby jaxb implementation bundle's imports
Change-Id: Ia2a93ad709c16f81dcb3d9d15d2117e509f9c4e1
2018-11-26 22:11:52 +01:00
Axel Uhl 5ec51f65e9 adding missing equinox/osgi bundles
Change-Id: Idac0794fb215636855f9c05a62ec93c19429775b
2018-11-25 13:13:39 +01:00
Axel Uhl 165d0e6ed5 added Java VM option to provide osgi.ee capability
Change-Id: Ic4823a26191d7fdab232c02f9176be63a8182dbd
2018-11-22 22:24:42 +01:00
Steffen Wagner 6b7ac29731 adjusted systemd service for nextgen sailing ami 2018-07-23 00:37:26 +02:00
Steffen Wagner f317c7cb85 changed chmod 755 of start_foreground script 2018-07-23 00:04:52 +02:00
wagnst 35502b3345 added systemd service for sailing instances 2018-07-21 12:18:51 +02:00
Axel Uhl e16569ae17 removed setting of JAVA_HOME from env.sh
Change-Id: I8187d94a2b0fa6ea5fe9fe97d87d46df7a28c14c
2018-07-16 22:09:20 +02:00
Axel Uhl df6043ba9a added synchronization for "suspended" flag in mark passing calculator
Change-Id: Ia690c1cec0caac82e61da0dea8d640f7f100cf4f
2018-05-03 10:56:12 +02:00
Axel Uhl 06cb357fe5 aftermath of Jetty upgrade: the start script required an update because the Jetty port needs to be patched into a different file now
Change-Id: I4e563862e1924cff047a20362fab5dedd31b4340
2018-03-01 17:42:49 +01:00
Axel Uhl 407a59a61d enhanced server start-up mail; preserve mail.properties during release install
Change-Id: I72d4aff7f46e3192846f780e6e98545d277edb65
2018-02-26 15:50:32 +01:00
Steffen Schaefer b55cd9c232 Bug 4442: configs changes for Jetty 9.4 2018-02-06 15:36:38 +01:00
Axel Uhl 40ed796eb2 fixed compareServers script; leaderboard group names with , caused error 2017-10-28 09:50:47 +02:00
Axel Uhl 1b09f1ee17 adjusted compareServers script to exclude id and timepoint 2017-09-24 13:17:53 +02:00
EC2 Server 2d5492e5da adjusted ADDITIONAL_JAVA_ARGS in env.sh to accomodate for improved GC settings 2017-05-29 12:24:15 +00:00
Steffen Schaefer 9123771f34 normalized line endings 2017-05-16 09:42:02 +02:00
Axel Uhl 8ab46b3660 fixed synchronization for updating initial start/end of tracking time into new TrackedRace;
This way, other receivers will not see the TrackedRace as announced to
the DomainFactory before a callback was invoked which in this case
updates the start/stop tracking times.

Change-Id: I3cc513f0c893b116d7ea9dc6af93ac16f50c328b
2017-03-20 16:11:57 +01:00
Axel Uhl d4d3b3d7fe added FINE logging for operation replication and application
Change-Id: I1f1aa5a6a971be5de8adb3a5ba1cff48a44c8c14
2017-02-24 18:32:44 +01:00
Axel Uhl d10005be15 added -XX:ThreadPriorityPolicy=2 to the additional Java args in env.sh to support lower than NORM_PRIORITY thread priorities in Linux
Change-Id: I703d38090c8ea736f94a2f0828c1e70d9c08009e
2016-09-19 17:02:43 +02:00
Axel Uhl ed5e1a7a9e added GC options for extended GC pause times and enhanced logging
Change-Id: I3bb5287d0d3caeda46558bdd0d3dcef176765d52
2016-08-18 17:47:58 +02:00
Benjamin Barth cd49a414e2 Adjusted env.sh REPLICATE_ON_START property to reflect current dev state 2016-07-08 10:43:22 +02:00
Benjamin Barth d0693002d1 Adjusted env.sh and replication related launch configs to replicate
RegattaLogSensorDataTrackerTrackedRegattaListener on start
2016-05-03 17:53:18 +02:00