aXes 4.2.0 - How to create multiple instances with axes services webserver?

Use this Forum to post tips and techniques for using aXes. Please explain in detail. This Forum is managed by the aXes user community. LANSA cannot guarantee the accuracy of any information posted to this Forum.

Moderator: jeanmichel

Post Reply
User avatar
Posts: 106
Joined: 23 May 2014, 11:37
Location: Sydney

aXes 4.2.0 - How to create multiple instances with axes services webserver?

Post by jeanmichel » 15 Aug 2019, 14:14

This quick guide is to highlight how to create another instance for aXes 4.2.0 using the new aXes services web server.

Let's assume you have installed axes in /AXES and axes services is /AXESJSM

1) Navigate to your instance located at /AXESJSM/jsm/instance/www/instance. This folder contains htdocs and logs

2) Make a copy of htdocs and call it httest. You can use your Microsoft Windows Explorer to do that.

3) Once it is done, open the file: /AXESJSM/jsm/instance/system/httpd.xml

4) Copy the section that starts with
<instance name="WebServer" active="true" root="www/instance/htdocs" index="index.html">
and finishes with

5) Paste the section you have just copied in the same httpd.xml file under the </instance> tag

6) Change the first line of your pasted section to
<instance name="TestServer" active="true" root="www/instance/httest" index="index.html">
Also change the listening port about 10 lines under the instance tag.
<listen port="8421" interface="*ALL" backlog="256"
Also make sure to change any required values which require changing insde your pasted section.

7) Save the httpd.xml and restart the AXESJSM using the ENDSBS AXESJSM *immed command, followed by STRSBS AXEJSM/AXESJSM command

Jean-Michel Rapin

Address: 122 Arthur Street, North Sydney, NSW 2060, Australia
Tel: +61 289 070 262 | |

Post Reply