tomcat base vs. home

2005-08-02 Thread Sternbergh, Cornell
Sorry for the basic stuff here guys...  I'm a bit under the gun and
haven't found the answer in an admittedly cursory search, so I thought
I'd ask those who know all (that's you ;-)

I've eclipse (3.0) with sysdeo's plugin for tomcat, and tomcat (4.1).
In eclipse/window/preferences/tomcat there's a text box for Tomcat
home, currently h:\tomcat.  Under tomcat, in advanced, there's a text
box for Tomcat base, also h:\tomcat.

Is Tomcat home the place tomcat looks for its stuff and Tomcat base
where it looks for applications?  And then where would the HTML/JSP
pages go?

Why do I ask

Now, with my limited understanding of this stuff, there's a directory
with the java stuff in it, for the application server, a directory for
the HTML and JSP stuff, for the http server, and a directory for the
libraries used to actually run the application server.

When I'd worked with Visual Age for Java, we had the source code in, for
example, C:\project\ etc. and the HTML/JSPs in C:\Program
Files\IBM\...\DEFAULT_HOST\ProjectApp\ etc.  I'm guessing that VAJ's
libraries were also in C:\Program Files\IBM etc.

In support of that, we also have Visual Source Safe pointing to the same
directories, as it contains the Java/HTML/JSP and conf and prop and etc
files.

I'd put Eclipse and Tomcat on C:\tomcat, and had to move it to a network
drive, H:\tomcat. (because of the zips and McAfee)

But, I need to get tomcat to get the Java, HTML and JSPs from the same
place that VSS is pointed at, i.e. back at C:\project and C:\program
files\ibm\etc.  (so as to minimize my straying from the standard ;-)

So what do I set to c:\project and what do I set to C;\program
files\ibm\ etc.?

Thanks

Thank you
R. Cornell Sternbergh
PennDOT/BIS
APRASTeam
(717) 787-6760
[EMAIL PROTECTED]
 

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



RE: tomcat base vs. home

2005-08-02 Thread Peter Crowther
 From: Sternbergh, Cornell [mailto:[EMAIL PROTECTED] 
 Is Tomcat home the place tomcat looks for its stuff and Tomcat base
 where it looks for applications?  And then where would the HTML/JSP
 pages go?

Not quite.  HOME is where the Tomcat binaries live.  BASE allows you to
set up an alternative structure of conf/logs/temp/webapps/work so that
you can host multiple Tomcats from the same set of binaries - I use this
to run several Tomcat 5.0.28s.  My batch file is as follows:

set CATALINA_HOME=C:\Progra~1\APACHE~2\TOMCAT~1.0
set CATALINA_BASE=c:\cattery\bodington2
cd %CATALINA_HOME%\bin
start catalina run

Under c:\cattery\bodington2 (one of my Tomcat installations) you'll find
conf, logs, temp, webapps and work, with conf/server.xml and so forth.
So possibly not quite what you want - there's more there than just the
applications.

You might want to investigate the appBase attribute in server.xml,
however.

- Peter

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



Re: tomcat base vs. home

2005-08-02 Thread Manfred Steurer
I don't know VSS, but using CVS I would do a new checkout to the H: 
drive, so Tomcat and VSS would use the same location and there is no 
extra config to do.

- Manfred

Sternbergh, Cornell wrote:


Sorry for the basic stuff here guys...  I'm a bit under the gun and
haven't found the answer in an admittedly cursory search, so I thought
I'd ask those who know all (that's you ;-)

I've eclipse (3.0) with sysdeo's plugin for tomcat, and tomcat (4.1).
In eclipse/window/preferences/tomcat there's a text box for Tomcat
home, currently h:\tomcat.  Under tomcat, in advanced, there's a text
box for Tomcat base, also h:\tomcat.

Is Tomcat home the place tomcat looks for its stuff and Tomcat base
where it looks for applications?  And then where would the HTML/JSP
pages go?

Why do I ask

Now, with my limited understanding of this stuff, there's a directory
with the java stuff in it, for the application server, a directory for
the HTML and JSP stuff, for the http server, and a directory for the
libraries used to actually run the application server.

When I'd worked with Visual Age for Java, we had the source code in, for
example, C:\project\ etc. and the HTML/JSPs in C:\Program
Files\IBM\...\DEFAULT_HOST\ProjectApp\ etc.  I'm guessing that VAJ's
libraries were also in C:\Program Files\IBM etc.

In support of that, we also have Visual Source Safe pointing to the same
directories, as it contains the Java/HTML/JSP and conf and prop and etc
files.

I'd put Eclipse and Tomcat on C:\tomcat, and had to move it to a network
drive, H:\tomcat. (because of the zips and McAfee)

But, I need to get tomcat to get the Java, HTML and JSPs from the same
place that VSS is pointed at, i.e. back at C:\project and C:\program
files\ibm\etc.  (so as to minimize my straying from the standard ;-)

So what do I set to c:\project and what do I set to C;\program
files\ibm\ etc.?

Thanks

Thank you
R. Cornell Sternbergh
PennDOT/BIS
APRASTeam
(717) 787-6760
[EMAIL PROTECTED]


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