tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: tomcat6's home directory
Date Tue, 05 Oct 2010 10:15:27 GMT
2010/10/5 Juan Carlos Afonso <jafonso@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message