View Revisions: Issue #6631
Summary | 0006631: Deployment of WAR on Tomcat 10 | ||
---|---|---|---|
Revision | 2024-11-06 20:16 by elong | ||
Description | Make it easy to deploy a WAR on Tomcat 10, which is using Jakarta EE 10 platform and Servlet 3.0. Make it possible to deploy a WAR without a web.xml, using default application descriptors defined by annotations in the code. # Copy a JDBC JAR into web/WEB-INF/lib # Edit conf/log4j2.xml to set path and filename to symmetric.log bin/symadmin create-war --external-security sym.war cp sym.war ${TOMCAT_HOME}/webapps/ # Optional: Set system property for engines directory: -Dsymmetric.engines.dir=/path/to/dir # Optional: Set system property for security file: -Dsym.keystore.file=/path/to/keystore # Optional: Set system property for cacerts file: -Djavax.net.ssl.trustStore=/path/to/cacerts # Optional: Set system property for REST file: -Dsym.rest.properties.file=/path/to/rest.properties |
||
Revision | 2024-10-31 12:54 by elong | ||
Description | Make it easy to deploy a WAR on Tomcat 10, which is using Jakarta EE 10 platform and Servlet 3.0. Make it possible to deploy a WAR without a web.xml, using default application descriptors defined by annotations in the code. rm -f web/WEB-INF/web.xml rm -f web/WEB-INF/lib/websocket*.jar rm -f web/WEB-INF/lib/jetty*.jar # Copy a JDBC JAR into web/WEB-INF-/lib # Edit conf/log4j2.xml to set path and filename to symmetric.log bin/symadmin create-war --external-security sym.war cp sym.war ${TOMCAT_HOME}/webapps/ # Optional: Set system property for engines directory: -Dsymmetric.engines.dir=/path/to/dir # Optional: Set system property for security file: -Dsym.keystore.file=/path/to/keystore # Optional: Set system property for cacerts file: -Djavax.net.ssl.trustStore=/path/to/cacerts # Optional: Set system property for REST file: -Dsym.rest.properties.file=/path/to/rest.properties |