Diese Java LTS Version wird vom Tomcat 9.x wie auch Spring 5.x unterstützt, jedoch nicht von neueren Versionen oder dem Payara 5 Glassfish Server (nur bis Java 11).
Jira Tickets
NUCLOS-10398 - Abrufen der Vorgangsdetails... STATUS
Integrationstest
Um eine möglichst hohe Kompatibilität zu gewährleisten wurden die Integrationstest umgestellt (Stand Oktober 2023 / Nuclos 4.2023.31ff)
Nuclos | Apache Tomcat | Payara Glassfish |
---|---|---|
bis 4.2023.30 | nur Server (JAVA_HOME) | Server (JAVA_HOME) + Webclient |
ab 4.2023.31 | Server (java.17.home) + Webclient | nur Server (JAVA_HOME) |
java.17.home (Property in nuclos/pom.xml)
Vorbelegt mit /usr/lib/jvm/java-17-openjdk-amd64
(Standard unseres Jenkins / Ubuntu), kann aber für lokale Testläufe mittels mvn -Djava.17.home=/path/to/java/17/home ...
überschrieben werden.
Entwicklungsumgebung
Zum Starten von Server und Client aus einer Entwicklungsumgebung sind weitere VM Options mit anzugeben:
VM Options | |
---|---|
Tomcat 9.x | --add-opens=java.base/java.io=ALL-UNNAMED |
Richclient | --add-exports=java.desktop/sun.swing=ALL-UNNAMED --add-exports=java.desktop/sun.swing.table=ALL-UNNAMED --add-exports=java.desktop/sun.swing.plaf.synth=ALL-UNNAMED --add-opens=java.desktop/javax.swing.plaf.synth=ALL-UNNAMED --add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED --add-opens=java.desktop/javax.swing=ALL-UNNAMED --add-opens=java.desktop/javax.swing.tree=ALL-UNNAMED --add-opens=java.desktop/java.awt.event=ALL-UNNAMED --add-exports=java.desktop/sun.awt.shell=ALL-UNNAMED --add-exports=java.base/sun.security.action=ALL-UNNAMED --add-exports=java.desktop/com.sun.swing.internal.plaf.basic.resources=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.desktop/java.awt=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED |
Ein Nuclos Installer Lauf setzt dies für den Tomcat automatisch, und ein laufender Server gibt es beim Download der JNLP für die Clients mit.
Siehe auch | Im Code | BitBucket Link |
---|---|---|
Installer | Klasse | Config.java |
Server | Resource jnlp.xsl Attribute java-vm-args | jnlp.xsl |