How to use remote Apache with Applications Manager
search cancel

How to use remote Apache with Applications Manager

book

Article ID: 89830

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

How to use remote Apache with Applications Manager?

Environment

CA Automic Applications Manager

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://hostname1:6001/AM8/classes/" href="../Client.jnlp">
to:
<jnlp codebase="http://hostname2: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://hostname1:6001/AM8/Intro.html
to:
http://hostname2:5059/AM8/Intro.html