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 and MaxMetaspaceSize value should be adjusted.
    Note: A 64-bit application server and JVM are usually required for values greater than 2048.
  • 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.