AW: AW: unanswered questions: Multiple Tomcat Instances

2002-05-29 Thread Ralph Einfeldt

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:[EMAIL PROTECTED]]
 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:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




AW: unanswered questions: Multiple Tomcat Instances

2002-05-28 Thread Ralph Einfeldt

I don't know if it's the minimal set, but it works for me:

${CATALINA_BASE}/conf
${CATALINA_BASE}/conf/server.xml
${CATALINA_BASE}/conf/tomcat-users.xml
${CATALINA_BASE}/conf/web.xml
${CATALINA_BASE}/conf/catalina.policy
${CATALINA_BASE}/webapps/Context
  // Replace Context with the name of your
  // Context (Default=ROOT)

You access it with an url like
localhost:8080 
if you are browsing from the server.

hostname:8080
if you are browsing from your intranet

8080 is the port you defined in server.xml for the http connector.

 -Ursprüngliche Nachricht-
 Von: Neil Zanella [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 28. Mai 2002 01:47
 An: Tomcat Users Mailing List
 Betreff: unanswered questions: Multiple Tomcat Instances
 
 
 
 Does anyone know what a minimal installation of files under 
 ${CATALINA_BASE}
 should consist of in order to allow the running of servlets and jsps?
 Where should they be placed? How do I access them with a web browser?

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




Re: AW: unanswered questions: Multiple Tomcat Instances

2002-05-28 Thread Neil Zanella


Thanks!

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 ?

Thanks,

Neil

On Tue, 28 May 2002, Ralph Einfeldt wrote:

 I don't know if it's the minimal set, but it works for me:
 
 ${CATALINA_BASE}/conf
 ${CATALINA_BASE}/conf/server.xml
 ${CATALINA_BASE}/conf/tomcat-users.xml
 ${CATALINA_BASE}/conf/web.xml
 ${CATALINA_BASE}/conf/catalina.policy
 ${CATALINA_BASE}/webapps/Context
   // Replace Context with the name of your
   // Context (Default=ROOT)
 
 You access it with an url like
 localhost:8080 
 if you are browsing from the server.
 
 hostname:8080
 if you are browsing from your intranet
 
 8080 is the port you defined in server.xml for the http connector.
 
  -Ursprüngliche Nachricht-
  Von: Neil Zanella [mailto:[EMAIL PROTECTED]]
  Gesendet: Dienstag, 28. Mai 2002 01:47
  An: Tomcat Users Mailing List
  Betreff: unanswered questions: Multiple Tomcat Instances
  
  
  
  Does anyone know what a minimal installation of files under 
  ${CATALINA_BASE}
  should consist of in order to allow the running of servlets and jsps?
  Where should they be placed? How do I access them with a web browser?
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 



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