GAS Configuration Reference / Configuration file elements |
By default, the Genero Application Server uses Linux®/UNIX™ domain sockets to communicate between the dispatcher and the proxies on Linux/UNIX systems. The Genero Application Server uses TCP sockets to communicate between the dispatcher and proxies on Windows® and with the J2EE dispatcher.
The SOCKET_FAMILY element specifies whether Linux/UNIX domain sockets or TCP sockets are to be used on Linux/UNIX systems. The configured default is Linux/UNIX. To use TCP sockets, change the value to TCP.
On Windows, it is configured to TCP, but it is not used. It must exist, however, as it is required by the schema validating the file.
<RESOURCE_LIST> <WNT> <RESOURCE Id="res.dispatcher.socket.family" Source="INTERNAL">TCP</RESOURCE> <RESOURCE Id="res.dispatcher.socket.path" Source="INTERNAL">C:\temp</RESOURCE> </WNT> <UNX> <RESOURCE Id="res.dispatcher.socket.family" Source="INTERNAL">UNIX</RESOURCE> <RESOURCE Id="res.dispatcher.socket.path" Source="INTERNAL">/tmp</RESOURCE> </UNX> ... <INTERFACE_TO_CONNECTOR> <TCP_BASE_PORT>$(res.ic.base.port)</TCP_BASE_PORT> <TCP_PORT_OFFSET>$(res.ic.port.offset)</TCP_PORT_OFFSET> <DOCUMENT_ROOT>$(res.path.docroot)</DOCUMENT_ROOT> <TEMPORARY_DIRECTORY>$(res.path.tmp)</TEMPORARY_DIRECTORY> <SOCKET_FAMILY>$(res.dispatcher.socket.family)</SOCKET_FAMILY> <SOCKET_PATH>$(res.dispatcher.socket.path)</SOCKET_PATH> </INTERFACE_TO_CONNECTOR>