Deploying Custom Pages
To deploy the custom pages, you must configure the standalone.xml file.
Procedure
- Go to $JBOSS_HOME/standalone/configuration directory and open the standalone.xml file.
-
To deploy custom pages to a common folder in the cluster environment, add the following system property:
<system-properties><system-properties> <property name="MQ_CUSTOMFORMS_HOME" value="C:/MDM_Installations/MDMversionWFYORA_COMMON"/>
Note: The configuration properties vary according to your application server. For deploying the custom pages in the cluster environment on WebLogic Application Server, see Configuring TIBCO MDM for WebLogic Application Server and for deploying the custom pages in the cluster environmenton WebSphere Application Server, see Configuring TIBCO MDM for WebSphere Application Server. -
Add the location and path of the
MDMCustomui-content file
<subsystem xmlns="urn:jboss:domain:undertow:3.1"> <buffer-cache name="default"/> <server name="default-server"> <http-listener name="default" socket-binding="http" redirect-socket="https" enable-http2="true"/> <https-listener name="https" socket-binding="https" security-realm="ApplicationRealm" enable-http2="true"/> <host name="default-host" alias="localhost"> <location name="/" handler="welcome-content"/> <location name="/eml/components" handler="MDMCustomui-content"/> <filter-ref name="server-header"/> <filter-ref name="x-powered-by-header"/> </host> </server> <servlet-container name="default"> <jsp-config/> <websockets/> </servlet-container> <handlers> <file name="welcome-content" path="${jboss.home.dir}/welcome-content"/> <file name="MDMCustomui-content" path="${MQ_HOME}/dynservices/customui" follow-symlink="true"/> </handlers> <!--For the custom pages deployment in the cluster environment--> <handlers> <file name="MDMCustomui-content" path="${MQ_CUSTOMFORMS_HOME}/dynservices/customui" follow-symlink="true"/> <filters> <response-header name="server-header" header-name="Server" header-value="WildFly/10"/> <response-header name="x-powered-by-header" header-name="X-Powered-By" header-value="Undertow/1"/> </filters> </subsystem>
- Save the standalone.xml file.
-
Copy the existing custom page artifacts to the new location.
cp -avr /home/apps/MDM_Installations/MDMversionJBOSSEAPSQL/mdm/version/dynservices/customui/home/apps/MDM_Installations/MDMversionJBOSSEAPSQL_COMMON/dynservices
- Restart the server in case of cluster setup.
Copyright © Cloud Software Group, Inc. All rights reserved.