Try to Install a v11 gateway on a new server. After installing java, mySQL 8 and ssg.security,
When I ran the setup.sh to config the gateway, I get the following error.
Error: Could not find or load main class com.l7tech.util.ApplicationLauncher
Caused by: java.lang.ClassNotFoundException: com.l7tech.util.ApplicationLauncher
java -version
openjdk version "11.0.18" 2023-01-17
OpenJDK Runtime Environment Temurin-11.0.18+10 (build 11.0.18+10)
OpenJDK 64-Bit Server VM Temurin-11.0.18+10 (build 11.0.18+10, mixed mode)
Release : 11.0, software gateway
The installed gateway using root somehow did not put proper permissions for the layer 7 /opt/SecureSpan/Gateway/runtime/lib. Granted the read and execution permission for the group layer 7.
The proper permission should look like
drwxr-xr-x 4 layer7 layer7 16384 Jan 19 2023 lib
After set up the permission, the setup can load the class and runs fine.