Oops...that should be "Context's docBase".


John

On Thu, 26 Jun 2003 08:28:45 -0400, John Turner <tomcat- [EMAIL PROTECTED]> wrote:


That's why the best practice is to set CATALINA_HOME and JAVA_HOME and be done with it.


The only time your multiple environments (many operating systems) cause problems is if developers are lazy and hardcode paths into their properties and source code.

If you don't hardcode paths, you can refer to the environment variables that all the documentation says to use: CATALINA_HOME for the location of Tomcat, and JAVA_HOME for the location of the JDK. Since the servlet specification is written to encourage web-app portability, properly using relative paths and properly using environment variables such as CATALINA_HOME is the best practice, since all files that the web application needs will either be under the Host's docBase or in some other location reachable by Tomcat's ClassLoader. Simple.

John

On Thu, 26 Jun 2003 12:07:42 +0200, Hayo Schmidt <[EMAIL PROTECTED]> wrote:

<off-topic>I have a Folder C:\Programme and a Folder C:\Program Files on
my windows system, just because some installers are not programmed
correctly.</off-topic>.

The point is, i can do what i like with my personal system. But i am
working together with colleagues and clients, i might use several
systems (FreeBSD, SuSE, Mandrake, Debian...) that members of my computer
club (http://www.hmh-ev.de) have set up. And all people can do what they
like on their systems.

Having an official *recommendation*, just that, would make life much
easier than it is now.

Yes, standards make life easier.

Hayo

Jason Bainbridge schrieb:

On Wed, 25 Jun 2003 17:09, Hayo Schmidt wrote:


The different locations make it difficult to understand systems other
people have set up.  And that wastes time.

This obviously is a general problem of Linux.



I hate statements like that... What about the fact that one of the first options within just about any Windows based installset is to select the location you wish to install to? I've seen C:\Program Files\, D:\Program Files and even on E:...


So it's a quirk of human nature not of any O/S related problem, different people like different things so they do things differently. :)

At least on Linux normal users are restricted to their Home directory so they can't muck up the actual filesystem without knowing at least a little about what they are doing...







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to