Running the TIBCO stack on a RHEL 4.7 environment I recently hit a problem where uploading a new .ear file through the Adminstrator console would error and render a blank page.  Some digging into the logs yielded an error when trying to write to a temporary folder that was under /tmp.  Restarting the entire system would re-create the new directory under /tmp but after a few days it dissappeared (o/s cleaned it up) and the error re-occurred.

Setting the java.property.java.io.tmpdir environment variable acts as a permanent fix for this as you can specify a custom directory that will not be purged automatically.

Modify these config files:

<tibco_home>/administrator/domain/<domain_name>/bin/tibcoadmin_<domain_name>.tra
<tibco_home>/tra/domain/<domain_name>/hawkagent_<domain_name>.tra


To add the following:

# CUSTOM – Specify the location of the temporary files for upload.  System default of
#
/tmp will error after a few days as the dirs get cleaned out.
java.property.java.io.tmpdir=<path>

ie. java.property.java.io.tmpdir=/opt/tibcotmp

** NOTE: Using a custom token in your comment (ie: CUSTOM) will allow easy identification of all config files that you modified you add a custom property that is outside the normal configuration.

Post to Twitter Tweet This Post