You may want to install multiple instances of the same application on the same JVM.
Multiple Instances on the Same JVM
For example, you may want to install both a development and test environment for Assure DQ on Windows. Each environment will communicate with its corresponding development or test environment of ER, Insight, or Perceive.
Follow the instructions below to install multiple instances of the same application on the same JVM. The instructions use the parameters for the scenario described above.
- Extract the installation files for the Assure DQ application. See Initial Setup.
-
Follow the instructions to create the properties files for the first installation, the
Assure DQ development environment, using the default configuration.
See Configuration.
For example:
init-config.bat IAwhere
IAis the product parameter for the Assure DQ development environment. - Customize the properties files, as needed, to identify the Assure DQ development environment. See Configure Properties.
-
Customize the following properties in the product-specific properties file,
IA.properties, to support multiple instances on the same JVM. The values must be unique for each instance. The values for the properties are based on the example and reflect the Assure DQ development environment.solution.name=InfogixAssureDevsolution.short.name=IADEVsolution.context.root=infogixassuredevsolution.context.root.api=casapi(This property is unique to Assure DQ.)
For more information about these properties, see the Properties Guide.
-
Continue with the installation process to perform the following tasks:
- Validate the configuration. See Validate Configuration.
- Populate the database. See Database Setup.
- Deploy the application to the default directory. See Deployment.
-
Follow the instructions to create the properties files for the second installation, the
Assure DQ test environment, using a separate configuration.
For example:
init-config.bat -c test IAwhere
testis the name of the new configuration andIAis the parameter for the Assure DQ test environment.Important: You must include the-c testargument each time you run a subsequent command. - Customize the properties files, as needed, to identify the Assure DQ test environment. See Configure Properties.
-
Customize the following properties in the product-specific properties file,
IA.properties, to support multiple instances on the same JVM. The values must be unique for each instance. The values for the properties are based on the example and reflect the Assure DQ test environment.solution.name=InfogixAssureTestsolution.short.name=IATESTsolution.context.root=infogixassuretestsolution.context.root.api=testcasapi(This property is unique to Assure DQ.)
For more information about these properties, see the Properties Guide.
-
For WildFly only, customize the following property in the advanced
appserver properties to point to the default configuration.
For example, change:
WildFly_INSTANCE_NAME=testto
WildFly_INSTANCE_NAME=igx -
Continue with the installation process to perform the following tasks for each
configuration:
- Validate the configuration. See Validate Configuration.
- Populate the database. See Database Setup.
- Deploy the application. See Deployment.