Hi Andre,

I am using a standard Tomcat installation downloaded from tomcat.apache.org.

I am confused as to how you determined that am using a packaged version of
Tomcat :)

--
D

On Tue, Nov 9, 2010 at 3:55 PM, André Warnier <a...@ice-sa.com> wrote:

> Hi.
>
> As I recall, you are using a packaged version of Tomcat (meaning not the
> original one from the tomcat website download, but one already packaged by
> the people who do such things for your OS version).
>
> You should then look carefully at what scripts are used to start/stop
> Tomcat on your particular system (starting with /etc/init.d/tomcat e.g.),
> what they invoke and when, to determine what you can put into
> CATALINA_HOME/x and CATALINA_BASE/y.
> For example, these packages often use a file /etc/default/tomcat that sets
> some environment values, which are later used to determine what other
> scripts do.
>
> What Konstantin indicates below is based on the standard catalina.sh as
> provided in the standard Tomcat download, but there is no guarantee that
> this script has not been modified (or is even used) in your particular
> package.
>
>
>
> Ziggy wrote:
>
>> I am using Tomcat v5.5
>>
>> Do you mean that for newer versions of Tomcat, if i want to move some of
>> the
>> scripts from $CATALINA_HOME/bin to $CATALINA_BASE/bin i will not be able
>> to?
>>
>>
>> Thanks
>>
>> On Tue, Nov 9, 2010 at 1:38 PM, Konstantin Kolinko
>> <knst.koli...@gmail.com>wrote:
>>
>>  2010/11/9 Ziggy <zigg...@gmail.com>:
>>>
>>>> Are there any side effects to doing this? Can tomcat use both
>>>> $CATALINA_BASE/bin/ and $CATALINA_HOME/bin during startup?
>>>>
>>>>  From catalina.sh:
>>>
>>> if [ -r "$CATALINA_BASE"/bin/setenv.sh ]; then
>>>  . "$CATALINA_BASE"/bin/setenv.sh
>>> elif [ -r "$CATALINA_HOME"/bin/setenv.sh ]; then
>>>  . "$CATALINA_HOME"/bin/setenv.sh
>>> fi
>>>
>>> i.e. it takes setenv.sh from $CATALINA_BASE if it exists, otherwise
>>> from $CATALINA_HOME.
>>>
>>> All the other script files are supposed to remain in $CATALINA_HOME/bin.
>>>
>>> I am talking about the latest version of those scripts. I do not know
>>> how old your Tomcat version is. You may look at your catalina.sh for
>>> yourself.
>>>
>>> Best regards,
>>> Konstantin Kolinko
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>>
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to