What is stored in the subdirectory /tmp/rtworks when RTserver is launched?

What is stored in the subdirectory /tmp/rtworks when RTserver is launched?

book

Article ID: KB0091779

calendar_today

Updated On:

Products Versions
TIBCO SmartSockets -
Not Applicable -

Description

Resolution:
This directory is used for a number of  purposes.

1) Under the older SmartSockets 5.x and earlier products (RTworks) the RTserver's debug file was by default written to /tmp/rtworks/srv_&ltpid>.dbg.  Beginning with SmartSockets 6.0 the new default behavior is that output is directed to stdout. In order to direct the output to a file you must set the value for the RTserver option Trace_File.

2) If using the “local” protocol when setting the RTserver conn_names option, as in:
          setopt conn_names local:node_name:address  
the directory /tmp/rtworks will contain the file descriptor handle with the name "address" (RTSERVER by default)  which is to be used with the “local” protocol. (a Unix domain socket file)

3). It is where Publishing GMD RTclients by default put GMD related files. The RTclient option, Ipc_Gmd_Directory can be used to specify a different directory which will be used to store messages for file-based GMD. Read and write access to this directory is required.

The default location of this file differ under different OS’s :
UNIX: /tmp/rtworks
Windows: %TEMP%\rtworks

The directory /tmp/rtworks is world read/write for GMD purposes. If this is changed to be a non write able subdirectory RTserver will complain upon startup with the error message, “'TutGetSocketDir' can't create /tmp/rtworks”,  and then exit.

Issue/Introduction

What is stored in the subdirectory /tmp/rtworks when RTserver is launched?