Where to place the tomcat distribution in file system

2003-06-23 Thread Hayo Schmidt
Neil Zanella schrieb:

[...]

This sets CATALINA_HOME correctly according to the current installation of 
tomcat4 under /var/tomcat4 (whose correctness according to FHS I am not
yet convinced of).
 

What's the official recommendation?

The RedHat rpm, which BTW is not marked as RedHat in jakarta download 
area, installs in /var/tomcat4. UnitedLinux 1.0 installs in 
/opt/jakarta/tomcat. I thought it would be a good idea to install in 
/usr/java/tomcat.

Hayo

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


Re: Where to place the tomcat distribution in file system

2003-06-23 Thread John Turner
I don't think there is an official recommendation.  I put anything 
unrelated to the official OS distribution under /usr/local, but that's me.

John

On Mon, 23 Jun 2003 15:25:14 +0200, Hayo Schmidt <[EMAIL PROTECTED]> wrote:

Neil Zanella schrieb:

[...]

This sets CATALINA_HOME correctly according to the current installation 
of tomcat4 under /var/tomcat4 (whose correctness according to FHS I am 
not
yet convinced of).


What's the official recommendation?

The RedHat rpm, which BTW is not marked as RedHat in jakarta download 
area, installs in /var/tomcat4. UnitedLinux 1.0 installs in 
/opt/jakarta/tomcat. I thought it would be a good idea to install in 
/usr/java/tomcat.

Hayo

-
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]


RE: Where to place the tomcat distribution in file system

2003-06-23 Thread Atreya Basu
I put Tomcat in the same place where Apache likes to go:  /usr/local.

I don't make symbolic links anywhere because they are a pain to clean up
later and I like everything to be in one place.  But that may just be
because I'm from a Windows background where everything (should go)goes
in /Program Files.

_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca

-Original Message-
From: Hayo Schmidt [mailto:[EMAIL PROTECTED] 
Sent: June 23, 2003 10:25 AM
To: Tomcat Users List
Subject: Where to place the tomcat distribution in file system

Neil Zanella schrieb:

>[...]
>
>
>This sets CATALINA_HOME correctly according to the current installation
of 
>tomcat4 under /var/tomcat4 (whose correctness according to FHS I am not
>yet convinced of).
>  
>
What's the official recommendation?

The RedHat rpm, which BTW is not marked as RedHat in jakarta download 
area, installs in /var/tomcat4. UnitedLinux 1.0 installs in 
/opt/jakarta/tomcat. I thought it would be a good idea to install in 
/usr/java/tomcat.

Hayo


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


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



Re: Where to place the tomcat distribution in file system

2003-06-25 Thread Hayo Schmidt
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.

Hayo

John Turner schrieb:

I don't think there is an official recommendation.  I put anything 
unrelated to the official OS distribution under /usr/local, but that's 
me.

John

On Mon, 23 Jun 2003 15:25:14 +0200, Hayo Schmidt <[EMAIL PROTECTED]> wrote:

Neil Zanella schrieb:

[...]

This sets CATALINA_HOME correctly according to the current 
installation of tomcat4 under /var/tomcat4 (whose correctness 
according to FHS I am not
yet convinced of).


What's the official recommendation?

The RedHat rpm, which BTW is not marked as RedHat in jakarta download 
area, installs in /var/tomcat4. UnitedLinux 1.0 installs in 
/opt/jakarta/tomcat. I thought it would be a good idea to install in 
/usr/java/tomcat.

Hayo

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






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


Re: Where to place the tomcat distribution in file system

2003-06-25 Thread Jason Bainbridge
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...

-- 
Jason Bainbridge
http://jblinux.org

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



Re: Where to place the tomcat distribution in file system

2003-06-25 Thread Jonathan Peterson


Jason Bainbridge wrote:

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.
   

It's more a problem of people not documenting stuff. The more you 
deviate from the accepted standard the more you have to document. If 
there are no accepted standards you have to document even more. I'm not 
sure Linux or windows are better or worse than each other in this 
respect. In both cases I've met software that grumbled about not being 
installed "the way it expected" which is very annoying.

 



--
Jonathan Peterson
Technical Manager, BMJ Knowledge, +44 (0)20 7383 6092
[EMAIL PROTECTED]


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


Re: Where to place the tomcat distribution in file system

2003-06-25 Thread John Turner
Your comment is incorrect and illogical.

Every UNIX or Linux system on and off the planet has the capability to have 
a directory called /usr/local.

Where you put your distribution is up to you.  That's the beauty of open 
source, you can do what you like.

If you are using a specific package distribution such as a RPM, then the 
RPM will put the files where they need to go and your question is moot.

John

On Wed, 25 Jun 2003 11:09:00 +0200, Hayo Schmidt <[EMAIL PROTECTED]> 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.

Hayo

John Turner schrieb:

I don't think there is an official recommendation.  I put anything 
unrelated to the official OS distribution under /usr/local, but that's 
me.

John

On Mon, 23 Jun 2003 15:25:14 +0200, Hayo Schmidt <[EMAIL PROTECTED]> wrote:

Neil Zanella schrieb:

[...]

This sets CATALINA_HOME correctly according to the current 
installation of tomcat4 under /var/tomcat4 (whose correctness 
according to FHS I am not
yet convinced of).


What's the official recommendation?

The RedHat rpm, which BTW is not marked as RedHat in jakarta download 
area, installs in /var/tomcat4. UnitedLinux 1.0 installs in 
/opt/jakarta/tomcat. I thought it would be a good idea to install in 
/usr/java/tomcat.

Hayo

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






-
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]


Re: Where to place the tomcat distribution in file system

2003-06-26 Thread Hayo Schmidt
I have a Folder C:\Programme and a Folder C:\Program Files on
my windows system, just because some installers are not programmed
correctly..
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]


Re: Where to place the tomcat distribution in file system

2003-06-26 Thread John Turner
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:

I have a Folder C:\Programme and a Folder C:\Program Files on
my windows system, just because some installers are not programmed
correctly..
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]


Re: Where to place the tomcat distribution in file system

2003-06-26 Thread John Turner
Oops...that should be "Context's docBase".

John

On Thu, 26 Jun 2003 08:28:45 -0400, John Turner  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:

I have a Folder C:\Programme and a Folder C:\Program Files on
my windows system, just because some installers are not programmed
correctly..
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]