Hello,

> You are probably using Tomcat?

Exactly...
 
> To solve the Tomcat (if started from batc file) edit the
> catalina.bat,
> and set either the absolute path to CATALINA_BASE or set the
> CATALINA_TMPDIR=%TEMP% or to any absolute path.

So then what is the reasoning behind the "!lockDir.isAbsolute())" statement below? Why 
can't this directory be relative?

private FSDirectory(File path, boolean create) throws IOException {
    directory = path;

   lockDir = new File(LOCK_DIR);
   if (!lockDir.isAbsolute()) {
     lockDir = new File(directory, LOCK_DIR);
   }
    if (create)
      create();

    if (!directory.isDirectory())
      throw new IOException(path + " not a directory");
  }

> The tomcat sets the java.io.tmpdir to "..\temp", so that's the
> cause of the
> problem thougth.

Do you think this raise any backward compatibility concerns?


Regards,
RBP





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to