tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <>
Subject Re: Running two tomcat servers on same system?
Date Fri, 08 Jan 2010 03:49:46 GMT
2010/1/8 Dean Chester <>:
> Hi,
> I am wondering if it would be possible to have two tomcat servers running on
> the same system

Yes, it is possible.

See "Multiple Tomcat Instances" in file RUNNING.txt that comes with
a Tomcat distributive.

The next 6.0.x version will allow even more options to be configurable

> this is because some features of my software have to be on
> the internal network and there is a set directory that is accessible to the
> outside world. And my idea is to split the application in to two.

That is your decision. I cannot comment much on this.

One thing that you cannot achieve running a single Tomcat instance is
to use different system users to run it. From the operating system
point of view, there is a single user that runs a Java VM that
executes Tomcat. If you need different OS users, you will need
different instances of Tomcat.

If you need to limit system access from inside a single Tomcat
instance (e.g. which web applications have read/write access to which
file paths), you can run with a SecurityManager and configure your
policy according to your needs, see:

Best regards,
Konstantin Kolinko

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message