How to use remote Apache with Applications Manager

Document ID : KB000089830
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
How to use remote Apache with Applications Manager
Resolution:

Symptoms

You need to use Apache other than that installed with the product.


Resolution

1) Copy the web directory of the instance you wish to access to the remote apache home directory.
mine was:
/home/qa4/automic/am8/apache/web

2)Edit the httpd.conf alias on the remote apache to reflect the change and make sure you have the proper AddTypes:
alias /AM8/ "/home/qa4/automic/am8/apache/web/"
AddType application/x-java-jnlp-file JNLP
AddType application/x-java-jnlp-file JNLP jnlp
AddType application/x-java-jnlp-file JNLP jnlp
AddType text/html .cfm
AddType application/x-java-jnlp-file JNLP jnlp

3)Edit the .jnlp files in the web directory now located in the apache home to reflect the change in host name or IP and apache port.

Mine went from:
<jnlp codebase="http://vwasram8u01:6001/AM8/classes/" href="../Client.jnlp">
to:
<jnlp codebase="http://vwasup02:5059/AM8/classes/" href="../Client.jnlp">

4)Restart apache:
apachectl stop
apachectl start

5)Edit the web address and start the instance client. Mine went from:
http://vwasram8u01:6001/AM8/Intro.html
to:
http://vwasup02:5059/AM8/Intro.html