tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ion Larranaga <>
Subject RE: Multiple Tomcat-servers on a single machine
Date Wed, 20 Feb 2002 17:24:25 GMT

I think that you have two possibilities to do what you want:

- You could set up one instance of Tomcat with X different contexts,
  so that each user has his own. Servlets from different users would
  have different physical directories, so each user would have a different
  working directory. This way, users would access their specific servlets
  with URLs:


- But if you want the course to be more complete, including configuration
  of Tomcat, of course you should set up different Tomcat instances for
  one. These instances should listen on a different port, so they will need
  different configuration files (server.xml), updating the port each
  HttpConnector listens to. This way, the URLs to access the servlets would


Just as long as different instances do not try to listen to the same port
there should be no problem. If you will connect to Tomcat through Apache, it
basically the same, but changing the port of ajp or warp connectors
(depending on
the Apache module you use)

Hope it helps,


-----Mensaje original-----
De: Anders Gunnare []
Enviado el: miercoles, 20 de febrero de 2002 17:49
Asunto: Multiple Tomcat-servers on a single machine

Hello World,

How shall I do if I would like to have multiple Tomcat-servers on a
single machine?

I have tried to read the doc, but I can't understand how I practically
shall do the work...
For example, 5 different UNIX-users shall have 5 different
one user=one Tomcat-server.

The reasons is that I shall have a Servlet-course and I have one
UNIX-server where we shall do our work.

Best regards
Anders Gunnare

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message