Deploying Unica Campaign on JBoss Application Server

You can deploy Unica products on Jboss application server.

About this task

Use the following guidelines when you deploy Unica Campaign on Jboss:
  • Verify that your version of JBoss meets the requirements that are described in the Recommended Software Environments and Minimum System Requirements document, including any necessary fix packs or upgrades.
  • HCL Unica products customizes the JVM used by Jboss. You might need to create a Jboss instance that is dedicated to HCL Unica 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 in the JBOSS_EAP_HOME/bin

    e.g : 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 that 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

    -Djboss.as.management.blocking.timeout=3600"

  • Go to the JBoss Enterprise Application management Console e.g http://<Jboss_Host_IP>:<Port>/management
  • Deploy Campaign.war/EAR on JBOSS.
  • Alternately you can also deploy Campaign.war using jboss-cli.bat/sh.

    e.g Execute the command: jboss-cli.bat/sh and connect to Jboss instance using the command - connect <Jboss_Host_IP>:<JBOSS management Port>

    deploy <Campaign_Install_Path/Campaign/Campaign.war

  • After all these changes restart the Jboss application server.