Pin runtime to JDK 21 via run.sh; document full feature set

- run.sh: start/stop/restart/status/logs for the whole stack, JAVA_BIN
  override, pinned to /usr/lib/jvm/java-21-openjdk (Java 25 breaks
  logback ThrowableProxy inside fat jars and kills Tomcat threads)
- -Xmx320m per service, health-gated startup, logs/ dir (gitignored)
- README: requirements, run.sh workflow, full current feature list
- verified: 25-round load test across all pages under JDK 21 — 0 failures
This commit is contained in:
2026-09-11 22:08:50 +03:00
parent e21df93345
commit b532d2ede2
13 changed files with 332 additions and 20 deletions

31
logs/gateway.log Normal file
View File

@@ -0,0 +1,31 @@
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v4.0.8)
2026-09-11T22:04:12.830+03:00 INFO 1510927 --- [gateway] [ main] r.ysu.lms.gateway.GatewayApplicationKt : Starting GatewayApplicationKt v0.1.0-SNAPSHOT using Java 21.0.12.1 with PID 1510927 (/home/mermutef/IdeaProjects/LMS/services/gateway/build/libs/gateway-0.1.0-SNAPSHOT.jar started by mermutef in /home/mermutef/IdeaProjects/LMS)
2026-09-11T22:04:12.865+03:00 INFO 1510927 --- [gateway] [ main] r.ysu.lms.gateway.GatewayApplicationKt : No active profile set, falling back to 1 default profile: "default"
2026-09-11T22:04:16.812+03:00 INFO 1510927 --- [gateway] [ main] o.s.cloud.context.scope.GenericScope : BeanFactory id=612ed396-a469-39b4-af0b-71ee5741bcaf
2026-09-11T22:04:18.692+03:00 INFO 1510927 --- [gateway] [ main] o.s.c.g.r.RouteDefinitionRouteLocator : Loaded RoutePredicateFactory [After]
2026-09-11T22:04:18.692+03:00 INFO 1510927 --- [gateway] [ main] o.s.c.g.r.RouteDefinitionRouteLocator : Loaded RoutePredicateFactory [Before]
2026-09-11T22:04:18.692+03:00 INFO 1510927 --- [gateway] [ main] o.s.c.g.r.RouteDefinitionRouteLocator : Loaded RoutePredicateFactory [Between]
2026-09-11T22:04:18.692+03:00 INFO 1510927 --- [gateway] [ main] o.s.c.g.r.RouteDefinitionRouteLocator : Loaded RoutePredicateFactory [Cookie]
2026-09-11T22:04:18.692+03:00 INFO 1510927 --- [gateway] [ main] o.s.c.g.r.RouteDefinitionRouteLocator : Loaded RoutePredicateFactory [Header]
2026-09-11T22:04:18.692+03:00 INFO 1510927 --- [gateway] [ main] o.s.c.g.r.RouteDefinitionRouteLocator : Loaded RoutePredicateFactory [Host]
2026-09-11T22:04:18.692+03:00 INFO 1510927 --- [gateway] [ main] o.s.c.g.r.RouteDefinitionRouteLocator : Loaded RoutePredicateFactory [Method]
2026-09-11T22:04:18.692+03:00 INFO 1510927 --- [gateway] [ main] o.s.c.g.r.RouteDefinitionRouteLocator : Loaded RoutePredicateFactory [Path]
2026-09-11T22:04:18.692+03:00 INFO 1510927 --- [gateway] [ main] o.s.c.g.r.RouteDefinitionRouteLocator : Loaded RoutePredicateFactory [Query]
2026-09-11T22:04:18.692+03:00 INFO 1510927 --- [gateway] [ main] o.s.c.g.r.RouteDefinitionRouteLocator : Loaded RoutePredicateFactory [ReadBody]
2026-09-11T22:04:18.692+03:00 INFO 1510927 --- [gateway] [ main] o.s.c.g.r.RouteDefinitionRouteLocator : Loaded RoutePredicateFactory [RemoteAddr]
2026-09-11T22:04:18.692+03:00 INFO 1510927 --- [gateway] [ main] o.s.c.g.r.RouteDefinitionRouteLocator : Loaded RoutePredicateFactory [Version]
2026-09-11T22:04:18.692+03:00 INFO 1510927 --- [gateway] [ main] o.s.c.g.r.RouteDefinitionRouteLocator : Loaded RoutePredicateFactory [XForwardedRemoteAddr]
2026-09-11T22:04:18.693+03:00 INFO 1510927 --- [gateway] [ main] o.s.c.g.r.RouteDefinitionRouteLocator : Loaded RoutePredicateFactory [Weight]
2026-09-11T22:04:18.693+03:00 INFO 1510927 --- [gateway] [ main] o.s.c.g.r.RouteDefinitionRouteLocator : Loaded RoutePredicateFactory [CloudFoundryRouteService]
2026-09-11T22:04:19.562+03:00 INFO 1510927 --- [gateway] [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoints beneath base path '/actuator'
2026-09-11T22:04:20.493+03:00 INFO 1510927 --- [gateway] [ main] o.s.boot.reactor.netty.NettyWebServer : Netty started on port 8080 (http)
2026-09-11T22:04:20.581+03:00 INFO 1510927 --- [gateway] [ main] r.ysu.lms.gateway.GatewayApplicationKt : Started GatewayApplicationKt in 9.567 seconds (process running for 12.369)