Deploy on Tomcat 10 / Java 17
Deploy your upgraded Bloomreach Experience Manager 16 implementation project to a Tomcat 10 / Java 17 environment.
For full on-premise installation and deployment instructions, refer to the configure Tomcat on Linux page.
Common libraries
The distribution file as created by -Pdist, see create a project distribution, has changed.
For brXM 16, its /common/lib directory contains:
- jakarta.activation-api.jar
- jakarta.mail-api.jar
- angus-activation.jar
- angus-mail.jar
instead of a single jakarta.mail.jar from Sun for brXM 15.
The geronimo-jta_1.1_spec.jar and jcr.jar should still be present.
No activation/mail related jars should be present in the cms.war nor in the site.war, nor be pre-installed in Tomcat already, for instance in the /usr/local/share/tomcat-common/lib as mentioned in the documentation for brXM 15.
context.xml
Because of the javax → jakarta change, any "mail/Session" resource in conf/context.xml must have its type changed from "javax.mail.Session" to "jakarta.mail.Session":
<Resource name="mail/Session" auth="Container" type="jakarta.mail.Session" mail.smtp.host="localhost" mail.smtp.port="2525" />