Configuring the application server

To customize IBM® WebSphere® Application Server Liberty, you can apply custom configurations when you activate Maximo® ManageMaximo Health.

About this task

You can add custom server properties for the application server in XML format when you configure Maximo ManageMaximo Health. The customizations are applied when Maximo ManageMaximo Health is activated.

When you add application server customizations, ensure that your content conforms to the requirements for adding configuration to server XML files. The rules are provided in the WebSphere Application Server Liberty documentation.

The custom configurations are applied to the server-custom.xml that is used for the Maximo ManageMaximo Health pods and are included in the server.xml as additional configuration. Administrators can view the server-custom.xml file in the Red Hat® OpenShift® console on the Terminal tab for the pod. After deployment, the file is located in the /config/manage/serverxml/config/health/serverxml directory.

Procedure

  1. Log in to Maximo Application Suite as a system administrator.
  2. From Suite administration, select Workspaces from the side navigation menu and then select the HealthManage tile.
  3. On the Manage workspace details page, click Actions and select Update configuration.
  4. On the Workspace details page, click Actions and select Update configuration.
  5. In the Server bundles section of the deployment window, in the Additional properties column for the server bundle that you want to configure, click View.
  6. In the Route subdomain field of the Additional server bundle properties window, specify the subdomain for the server bundle that you want to configure.
  7. In the Additional server config field, enter your custom server properties, as shown in the following example:
    <?xml version="1.0" encoding="UTF-8"?>
    <server description="new server">
    	<logging traceSpecification="JMSApi=all:WAS.j2c=all"/> 
    		<variable name="wmqJmsClient.rar.location" value="${wlp.install.dir}/../wmq/wmq.jmsra.rar"/>
    	<!--containerAuthData id="auth1" user="maximomif" password="xxxx"/-->
    	<jmsConnectionFactory jndiName="jms/maximo/int/cf/intcf" connectionManagerRef="MIFJMS">
    		 <properties.wmqJms 
    			transportType="CLIENT"
    			hostName="libertymanager-c553.qm.us-south.mq.appdomain.cloud" 
    			port="30216"
    			channel="CLOUD.APP.SVRCONN"
    			applicationName="maxliberty"
    			userName="xxx"
    			password="xxxxx"
    			queueManager="LIBERTYMANAGER"/>
    	</jmsConnectionFactory>
    	<connectionManager id="MIFJMS" maxPoolSize="20"/>
    	<jmsQueue id="sqout" jndiName="jms/maximo/int/queues/sqout">
          <properties.wmqJms baseQueueName="sqout" baseQueueManagerName="LIBERTYMANAGER"/>
        </jmsQueue>
    	<jmsQueue id="sqin" jndiName="jms/maximo/int/queues/sqin">
          <properties.wmqJms baseQueueName="sqin" baseQueueManagerName="LIBERTYMANAGER"/>
        </jmsQueue>
    	<jmsQueue id="jms/maximo/int/queues/cqin" jndiName="jms/maximo/int/queues/cqin">
          <properties.wmqJms baseQueueName="cqin" baseQueueManagerName="LIBERTYMANAGER"/>
        </jmsQueue>
  8. Save your changes.
  9. After you complete all your configuration changes, click Activate.