SOCKET_FAMILY

By default, the Genero Application Server uses UNIX™ domain sockets to communicate between the dispatcher and the proxies on 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 specified whether UNIX domain sockets or TCP sockets are to be used on UNIX systems. The configured default is UNIX. To use TCP sockets, change the value to TCP.

CAUTION:
Forcing TCP sockets on UNIX should only be done for debugging purposes, at the request of support.

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.

Usage example

<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>
  <LIMIT_REQUEST_SIZE>0</LIMIT_REQUEST_SIZE>
  <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>