users@glassfish.java.net

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

From: <glassfish_at_javadesktop.org>
Date: Fri, 02 May 2008 15:04:32 PDT

a servlet in my webapp creates a file and calls
new File(myfileName)).toURI().toURL().toExternalForm() . I want to change the location/working dir of this file to $HOME/domain/domain1/config . Is there a way to change default working directory of domain1 to change to $HOME/domain/domain1 or some other directory . Currently it is being set to $HOME/domain/domain1/config as the startup script load it . I can't change the code of webapp as it is not an option . Let me know if the question is not clear .
[Message sent by forum member 'manuvns' (manuvns)]

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