JVB2 from git on Oracle Linux 7

Installed from packages (RPM):
java-11-openjdk
gtk2
libXScrnSaver
prosody

maven:
Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Maven home: /opt/maven
Java version: 11.0.11, vendor: Red Hat, Inc., runtime: /usr/lib/jvm/java-11-openjdk-11.0.11.0.9-1.0.1.el7_9.x86_64
Default locale: en_US, platform encoding: UTF-8
OS name: “linux”, version: “5.4.17-2102.201.3.el7uek.x86_64”, arch: “amd64”, family: “unix”

export JVB_HOME=/opt/jitsi-videobridge/ && cd $JVB_HOME && mvn install end without error.

./jvb.sh --host=localhost --domain=jitsi.mydomain.dev --port=5347 --secret=YOURSECRET1 &
and
[root@idl-dev-jitsi-01 ~]# export SC_HOME_DIR_LOCATION=/etc/jitsi/videobridge/
[root@idl-dev-jitsi-01 ~]# export SC_LOG_DIR_LOCATION=/var/log/jitsi
[root@idl-dev-jitsi-01 ~]# /usr/share/jitsi-videobridge/jvb.sh --“apis=,”
End with Exception:
Exception in thread “main” java.lang.NoClassDefFoundError: kotlin/jvm/internal/Intrinsics
at org.jitsi.videobridge.MainKt.main(Main.kt)
Caused by: java.lang.ClassNotFoundException: kotlin.jvm.internal.Intrinsics
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
… 1 more

Help please!
PS: Oracle Linux - is corporative requirements ( In plan use JIBRI on other server).
PPS: Installation from the docker image goes off with a bang! Is it possible to install from docker, but with JIBRI on another server? This would fix the problem.

Why the two folders

Hello Damian! Thatks for reply!

I think that there are still a lot of similar situations on my way, so I will ask again: Is it possible to install from docker, but with JIBRI on another server? I think this feature will greatly simplify my efforts.

I’m found in /opt/jitsi-videobridge/debian several files:
[root@idl-dev-jitsi-01 debian]# cat install
jvb/target/dependency/* usr/share/jitsi-videobridge/lib
jvb/lib/videobridge.rc usr/share/jitsi-videobridge/lib
jvb/lib/logging.properties etc/jitsi/videobridge
jitsi-videobridge.jar usr/share/jitsi-videobridge
jvb/resources/jvb.sh usr/share/jitsi-videobridge
resources/graceful_shutdown.sh usr/share/jitsi-videobridge
resources/collect-dump-logs.sh usr/share/jitsi-videobridge

//# callstats-java-sdk
log4j2.xml etc/jitsi/videobridge
config/callstats-java-sdk.properties etc/jitsi/videobridge

jitsi-videobridge etc/logrotate.d
config/20-jvb-udp-buffers.conf etc/sysctl.d

[root@idl-dev-jitsi-01 debian]# cat jitsi-videobridge2.service
[Unit]
Description=Jitsi Videobridge
After=network-online.target
Wants=network-online.target

[Service]
SuccessExitStatus=143
//# allow bind to 80 and 443
AmbientCapabilities=CAP_NET_BIND_SERVICE
EnvironmentFile=/etc/jitsi/videobridge/config
Environment=LOGFILE=/var/log/jitsi/jvb.log
User=jvb
RuntimeDirectory=jitsi-videobridge
RuntimeDirectoryMode=0750
PIDFile=/var/run/jitsi-videobridge/jitsi-videobridge.pid
//# more threads for this process
TasksMax=65000
//# allow more open files for this process
LimitNPROC=65000
LimitNOFILE=65000
ExecStart=/bin/bash -c “exec /usr/share/jitsi-videobridge/jvb.sh ${JVB_OPTS} < /dev/null >> ${LOGFILE} 2>&1”
ExecStartPost=/bin/bash -c “echo $MAINPID > /var/run/jitsi-videobridge/jitsi-videobridge.pid”
Restart=on-failure
RestartSec=2

[Install]
WantedBy=multi-user.target

So, I copied files as provided in “install” file. Now I’m additionaly copied:
/opt/jitsi-videobridge/jvb/target/jitsi-videobridge-2.1-SNAPSHOT/lib/* /usr/share/jitsi-videobridge/lib/
And service started normaly. but I do not see JVB_PORT=5347 in listen.

We no longer use xmpp components.

Hello, can you tell me about used domain names?
As I understand (for example - main domain is example.com):
prosody - auth.jitsi.example.com
jicofo - conference.example.com
jibri - recorder.example.com
jitsi-meet - jitsi.example.com
jvb - ??

I’m try to use 3 servers:
jitsi-meet+prosody+jicofo
jibri
jvb