title: Is it safe to set java.io.tmpdir to <INSTANCE>/tmp in JBoss
body: <p>We have multiple instances of JBoss 5.1.0 running on the same physical server, using multiple instances of the same VM:</p>
  
  <pre><code>&lt;JBOSS_HOME&gt;/server/instance1
  &lt;JBOSS_HOME&gt;/server/instance2
  </code></pre>
  
  <p>with the appropriate configuration to avoid port clashes etc.</p>
  
  <p>For each instance there is the tmp folder:</p>
  
  <pre><code>&lt;JBOSS_HOME&gt;/server/instance1/tmp
  &lt;JBOSS_HOME&gt;/server/instance2/tmp
  </code></pre>
  
  <p>To keep things separate, is it ok to set the <code>java.io.tmpdir</code> variable to <code>&lt;JBOSS_HOME&gt;/server/&lt;INSTANCE&gt;/tmp</code>?</p>
  
  <p>Thanks in advance</p>
  
  <p>Rich</p>