Deploying Unica Plan on JBoss
You must follow a set of guidelines when you deploy Unica Plan on JBoss.
- Perform the following steps:
- Clear the recent items for all the users. Note: Administrator: Please communicate to all the users to clear their respective recent items prior to the migration to JBOSS.
- Clear the directory <Plan_home>/recentdata.
- Migrate to JBOSS.
From the bin directory under your JBoss installation directory, locate and open the standalone.conf or standalone.conf.bat script appropriate for your operating system in a text editor. Scroll to the JAVA_OPTIONS property, and add the following entries. Use a space to separate entries.
-Dplan.home=<Plan_Home>
Where <HCL_Unica_Home> is the path to the top-level directory and <Plan_Home> is the path to the directory where you installed Unica Plan. Typically this directory is HCL_Unica/Plan.
- -Dfile.encoding=UTF-8
Make sure that the version of JBoss meets the requirements that are described in the Unica Enterprise Products Recommended Software Environments and Minimum System Requirements document. Use the following guidelines when you deploy Unica Plan on JBoss:
Use the following guidelines when you deploy the Unica Plan products on any supported version of JBoss:
- Deploy the HCL plan.war file as an enterprise application.
For example: deploy <Plan_home>\plan.war
See https://docs.jboss.org/jbossweb/3.0.x/deployer-howto.html for instructions on Deploying Web Server Application in JBoss.
- Complete the following tasks if your installation must support non-ASCII characters, for example
for Portuguese or for locales that require multi-byte characters:
- Edit the
standalone.confscript in the bin directory under your JBOSS /bin directory to add-Dfile.encoding=UTF-8 -Dclient.encoding.override=UTF-8 to JAVA_VENDOR. - Restart JBoss server.
- Edit the
By default JBOSS is configured to process requests with a maximum size of 10 MB. If you expect users to download large files, configure the max-post-size as needed.
<buffer-cache name="default"/>
<server name="default-server">
<http-listener name="default" socket-binding="http" redirect-socket="https" max-post-size="20971520" enable-http2="true"/>For more information, see JBOSS documentation.