Re: Running two tomcat servers on same system?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 1/7/2010 4:56 PM, Caldarale, Charles R wrote: >> From: John Tangney [mailto:jo...@industriallogic.com] >> Subject: Re: Running two tomcat servers on same system? >> >>> Also is it possible to share >>> shutdown ports of tomcat servers? >> >> I am not sure. It's easy enough to give it a try. > > No, it is not possible. However if you're running on Windows, you don't > actually need the shutdown port; a CTRL-C in the command prompt window or > stopping the service will suffice. Not sure about running on Linux. Ctrl-C will work if you run Tomcat using "catalina.sh run". "kill -9" usually works whether regardless. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktHWlgACgkQ9CaO5/Lv0PCjKACguijsnVmhEaPMrggZC+Y0cy4P qeEAnA1joc6MOgypYIeWO1W6qwbWHdn9 =jCdN -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Running two tomcat servers on same system?
Ok then, Dean, why the two entirely different app servers instead of just two different applications in the same server? You stated two primary goals: 1) Separate public/private apps and 2) Not have them interfere with one another. A 10 hit a month app isn't going to interfere with anything unless those hits require a huge burden of processing. With that said, running it within a different Tomcat instance within the same machine isn't going to solve the problem. -Original Message- From: Dean Chester [mailto:dean.g.ches...@googlemail.com] Sent: Thursday, January 07, 2010 3:57 PM To: Tomcat Users List Subject: Re: Running two tomcat servers on same system? What is usage like on the server running two application servers. Please bare in mind my admin/private application might get 10 users a month. While the public stuff we hope more frequent. Dean On Thu, Jan 7, 2010 at 9:51 PM, John Tangney wrote: > Dean, > > > On Jan 7, 2010, at 1:47 PM, Dean Chester wrote: > > I am wondering if it would be possible to have two tomcat servers running >> on >> the same system >> > > Yeah, we do this all the time. All you gave to do is to make sure that all > the ports listed in your server.xml are unique. > > > Also is it possible to share >> shutdown ports of tomcat servers? >> > > I am not sure. It's easy enough to give it a try. > > --johnt > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Running two tomcat servers on same system?
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 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-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Running two tomcat servers on same system?
> From: Dean Chester [mailto:dean.g.ches...@googlemail.com] > Subject: Re: Running two tomcat servers on same system? > > What is usage like on the server running two application servers. That's determined entirely by the webapps you're using. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Running two tomcat servers on same system?
What is usage like on the server running two application servers. Please bare in mind my admin/private application might get 10 users a month. While the public stuff we hope more frequent. Dean On Thu, Jan 7, 2010 at 9:51 PM, John Tangney wrote: > Dean, > > > On Jan 7, 2010, at 1:47 PM, Dean Chester wrote: > > I am wondering if it would be possible to have two tomcat servers running >> on >> the same system >> > > Yeah, we do this all the time. All you gave to do is to make sure that all > the ports listed in your server.xml are unique. > > > Also is it possible to share >> shutdown ports of tomcat servers? >> > > I am not sure. It's easy enough to give it a try. > > --johnt > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
RE: Running two tomcat servers on same system?
> From: John Tangney [mailto:jo...@industriallogic.com] > Subject: Re: Running two tomcat servers on same system? > > > Also is it possible to share > > shutdown ports of tomcat servers? > > I am not sure. It's easy enough to give it a try. No, it is not possible. However if you're running on Windows, you don't actually need the shutdown port; a CTRL-C in the command prompt window or stopping the service will suffice. Not sure about running on Linux. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Running two tomcat servers on same system?
Dean, On Jan 7, 2010, at 1:47 PM, Dean Chester wrote: I am wondering if it would be possible to have two tomcat servers running on the same system Yeah, we do this all the time. All you gave to do is to make sure that all the ports listed in your server.xml are unique. Also is it possible to share shutdown ports of tomcat servers? I am not sure. It's easy enough to give it a try. --johnt - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org