Deploying Unica Centralized Offer Management on JBoss
You can deploy Unica products on JBOSS application server. Use the following guidelines when you deploy Unica Centralized Offer Management on JBOSS:
- Verify that your version of JBoss meets the requirements that are described in the Recommended Software Environments and Minimum System Requirements guide, including any necessary fix packs or upgrades.
- HCL Marketing Software products customizes the JVM used by JBoss. You might need to create a JBoss instance that is dedicated to HCL Marketing Software products, if you encounter JVM-related errors.
- If you are deploying in a production environment, set the JVM memory heap
size parameters to at least
1024
by adding the following line to the standalone.conf file in the JBOSS_EAP_HOME/bin:JAVA_OPTS="-Xms1024m -Xmx1024m -XX:MetaspaceSize=96M - XX:MaxMetaspaceSize=256m "
These are the suggested minimum values. Analyze your sizing requirements to determine correct values for your needs. Depending upon system load-Xmx
andMaxMetaspaceSize
value should be adjusted.Note: A 64-bit application server and JVM are usually required for values greater than2048
. - Modify the
JAVA_OPTIONS
parameter to add the following value in setenv.bat/sh:set "JAVA_OPTS=%JAVA_OPTS% -DUNICA_PLATFORM_CACHE_ENABLED=true -Dclient.encoding.override=UTF-8 -DOFFER_HOME=<UNICA_HOME>\<Offer_Home>"
- Navigate to the JBoss Enterprise Application management Console, for example http://<Jboss_Host_IP>:<Port>/management.
- Deploy Offer.war on JBOSS.
- You can also deploy Offer.war using
jboss-cli.bat/sh. Run the following command:
jboss-cli.bat/sh
and connect to the JBoss instance using the following command:
connect <Jboss_Host_IP>:<JBOSS management Port> deploy <UNICA_HOME>/CentralizedOffer/Offer.war
- For the Oracle database, set the following system
property:
-Doracle.jdbc.J2EE13Compliant=true
- After making the changes, restart the JBoss application server.