Configuring TCP on application servers
You need to set Linux kernel parameters or Windows
registry keys to correctly configure TCP on the application
server.
This allows the application server to recover more efficiently when TCP connections are dropped by the server.
To configure TCP on an application server:
-
Change the kernel parameter values or registry keys, based on
operating-system-specific files provided with the NexJ Studio
plugin.
- On Linux, do one of the following:
- If the /etc/sysctl.conf file exists, edit the file to match the values in the NEXJ_PLUGIN/core/etc/config/os/tcp-linux.conf file.
- Otherwise, copy the NEXJ_PLUGIN/core/etc/config/os/tcp-linux.conf file to the /etc/sysctl.d directory. Ensure that none of the other .conf files in that directory specify the parameters listed in the tcp-linux.conf file.
- On Windows, double-click the NEXJ_PLUGIN\core\etc\config\os\tcp-os.reg file, where os is one of: xp, server2003, or server2008-Vista-7. Accept the confirmation messages to update registry settings.
- On Linux, do one of the following:
- Restart the computer.