e.org
Subject: Re: Obtain catalina-home variable
Thanks a lot.
Konstantin Kolinko wrote:
>
> Yes, it is OK for all operating systems.
>
>
> 2008/5/29 maux <[EMAIL PROTECTED]>:
>>
>> Hi Konstantin,
>>
>> That´s exactly what i wanted. But if I used
>&g
in Java tab in the configuration dialog).
>>>
>>>
>>> 2008/5/28 Mark Thomas <[EMAIL PROTECTED]>:
>>>> maux wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I would like to know how can i catch the catalina_home variable in a
>>>>> java
>>>>> code.
>>>>>
>>>>> Thanks in advance.
>>>>
>>&
Yes, it is OK for all operating systems.
2008/5/29 maux <[EMAIL PROTECTED]>:
>
> Hi Konstantin,
>
> That´s exactly what i wanted. But if I used
> "System.getProperty("catalina.home")", that is ok for windows and for linux
> Tomcat installation or is it only valid for windows?
>
> Thank you very m
gt;>
>>> I would like to know how can i catch the catalina_home variable in a
>>> java
>>> code.
>>>
>>> Thanks in advance.
>>
>> System.getenv()
>>
>> Mark
>>
>
> ---------
> To start a new topic, e-mail: users@tomcat.apache.
The answer is correct as a direct match to the question, but I would
recommend using the following code instead:
System.getProperty("catalina.home")
System.getProperty("catalina.base")
The catalina.bat / catalina.sh script passes values of CATALINA_*
environment variables as system properties, w
: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Obtain-catalina-home-variable-tp17509750p17514569.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To sta
maux wrote:
Hi,
I would like to know how can i catch the catalina_home variable in a java
code.
Thanks in advance.
System.getenv()
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL
Hi,
I would like to know how can i catch the catalina_home variable in a java
code.
Thanks in advance.
--
View this message in context:
http://www.nabble.com/Obtain-catalina-home-variable-tp17509750p17509750.html
Sent from the Tomcat - User mailing list archive at Nabble.com