User Tools

Site Tools


multiple_awp

Multiple Instances

Introduction

Each AWP installation uses a configured instance name to find its configuration. This name is specified in the awp-config.xml file with the default name awp.

If multiple instances are required, some changes are necessary to use different instances.

Configure Instance

Server Console

After installation the webapp will use the instance name awp by default. To create a new instance, you must duplicate an existing instance. Open the Server Console and click the Duplicate button and enter the new instance name. Apply the required changes and save.

Tomcat

Navigate to the Tomcat folder and open the webapps directory. Duplicate the awp directory and rename the copy as required. To edit what instance is used by the copied webapp, go to the conf folder \webapps\awp-copy\WEB-INF\conf and open the configuration file awp-config.xml with an UTF-8 compatible editor.

Change the

<instanceName>awp</instanceName>

to the name you've entered when copying the instance in the Server Console. For example:

<instanceName>awp-copy</instanceName>

Save the xml file and restart Tomcat.

multiple_awp.txt · Last modified: 2021/02/09 09:00 (external edit)