2010/1/8 Dean Chester <dean.g.chester@googlemail.com>:
> 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
per-instance.
> 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:
http://tomcat.apache.org/tomcat-6.0-doc/security-manager-howto.html
Best regards,
Konstantin Kolinko
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
|