users@glassfish.java.net

Re: changing domain startup directory from $HOME/domain/domain1/config .

From: <glassfish_at_javadesktop.org>
Date: Thu, 08 May 2008 10:50:15 PDT

Why not use a standard mechanism for this, since your webapp will most likely not have any write access to $HOME/domain/domain1?

The following section of the Servlet spec should help:

  SRV.4.7.1 ("Temporary Working Directories"):

  Servlet containers must provide a private temporary directory for each servlet context,
  and make it available via the javax.servlet.context.tempdir context attribute. The objects
  asscociated with the attribute must be of type java.io.File.

Jan
[Message sent by forum member 'jluehe' (jluehe)]

http://forums.java.net/jive/thread.jspa?messageID=273383