THE INFORMATION IN THIS ARTICLE APPLIES TO:
- DMZ Gateway version 3.0.0 and later
DISCUSSION
By default, DMZ Gateway allows you to connect to up to 15 EFT Server Sites simultaneously. You can override the profile limit by editing a system property, as described below.
The Quality Assurance team tested the system with up to 15 Sites; increasing this limit may cause as yet unknown issues.
To override the profile limit:
- Open the file <InstallDir>\conf\DMZGatewayServerService.conf in a
text editor.
- Locate the section labeled "Additional Java Parameters,” which will be
similar to the following text:
#
Additional Java parameters. Add parameters as needed starting from 1.
# By
default, use the server Virtual Machine.
wrapper.java.additional.1=-server
wrapper.java.additional.2=-DDMZSharedConfigurationDirectory=%DMZ_SHARED_CONFIG_DIRECTORY%
wrapper.java.additional.2.stripquotes=TRUE
wrapper.java.additional.3=-Djava.ext.dirs=bin/jre1.6.0_24/lib/ext
- Add the following line at the end of the section:
wrapper.java.additional.<Index>=-DProfileLimit=<New Limit>
Where “<Index>” is 1 more than the index number
in the previous line and “<New Limit>” is the desired profile limit. For
example:
# Additional Java parameters. Add parameters as needed
starting from 1.
# By default, use the server Virtual Machine.
wrapper.java.additional.1=-server
wrapper.java.additional.2=-DDMZSharedConfigurationDirectory=%DMZ_SHARED_CONFIG_DIRECTORY%
wrapper.java.additional.2.stripquotes=TRUE
wrapper.java.additional.3=-Djava.ext.dirs=bin/jre1.6.0_24/lib/ext
wrapper.java.additional.4=-DProfileLimit=100
Will set the profile limit to 100.
- Save your changes.
- Restart the DMZ Gateway Server Windows Service.
- To verify that the changes have taken effect, open the file <InstallDir>\logs\DMZGatewayServer.log
and locate the most recent log message containing the text "Number
of Profiles is limited to." This line will display the active profile limit.
Refer to https://kb.globalscape.com/KnowledgebaseArticle11201.aspx for other DMZ Gateway configuration settings.