tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Einfeldt" <ralph.einfe...@uptime-isc.de>
Subject AW: AW: unanswered questions: Multiple Tomcat Instances
Date Wed, 29 May 2002 06:39:29 GMT
I placed all jar files that our application needs 
under ${CATALINA_HOME}/webapps/<Context>/WEB-INF/lib

Class files are OK under 
${CATALINA_HOME}/webapps/<Context>/WEB-INF/classes
(We don't have any)

AFAIK, if you have more than one context and want to use 
the same classes across all contexts, you can place them
under ${CATALINA_HOME}/lib and {CATALINA_HOME}/classes.
(Haven't tried this, we just need one context)

I deleted everything from web.xml hat we didn't need.
The only thing we changed in web.xml was the welcome-file-list 
element.

I deleted everything from server.xml hat we didn't need.
For the first instance you don't have to change anything.
I changed some setting that are not mandatory. (Set the log file 
names to our convention, rename the default context, ...)
For every following instance you have to change all ports
to a unique value. (You should list the port numbers in
/etc/services so it's easier to find out which ports are 
used)

Wether this changes are sufficient for an online server I'm
not shure, as we haven't used tomcat as an online server.

> -----Urspr√ľngliche Nachricht-----
> Von: Neil Zanella [mailto:nzanella@cs.mun.ca]
> Gesendet: Dienstag, 28. Mai 2002 21:16
> An: Tomcat Users List
> Betreff: Re: AW: unanswered questions: Multiple Tomcat Instances
<snip/>
> Did you just copy the files under ${CATALINA_BASE}/conf from the
> corresponding ones in ${CATALINA_HOME}/conf or do these need to
> be altered in one way or another?
> Also, I am assuming that you are placing your java and class
> files under ${CATALINA_HOME}/webapps/<Context>/WEB-INF/classes
> Is this the case or can it be done differently?
> Do any settings need to be modified under
> ${CATALINA_HOME}/conf/server.xml ?
<snip/>

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message