2010/10/5 Juan Carlos Afonso <jafo...@grafcan.com>:
> Hello,
>
> My tomcat6 executes as a daemon and I need to know where is its home 
> directory, because tomcat6 user executes a pg_dump command and it needs to 
> find the .pgpass file. Thanks in advance.
>

You mean  System.getProperty("user.home"); ?

http://download.oracle.com/javase/6/docs/api/java/lang/System.html#getProperties%28%29


Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to