Tomcat Help

P

Paul W

I'm new to Java and this isn't my idea, so don't beat me up on this...

Due to a poorly written application that my company is thinking about
buying, I have to setup a server to run 3 (or more!) instances of
Tomcat at the same time.

The server is running Windows 2003 and each instance must run as a
service on the server under a different Windows User Account. Also,
the server is already running IIS and Lotus (stripped down) as a web
server.

Tomcat version is 4.1.8 and I don't think the vendor has tested their
product against a newer version of Tomcat.

Questions:

1) Can I expect any resources problems running 3 or more instances of
Tomcat on the same server? Clearly each has to be using a different
port and running them with IIS and Lotus is just another extra twist.
2) Anyone try to run multiple instances of Tomcat as a service on the
same box?
3) Do I have to change anything on the Tomcat side to get it to run
under a different Windows User?

Yes, I'm going to test this, but I wanted to see if any of you more
experienced Java guys out there sees anything that raises a red flag.

Thanks for any advice (outside that I'm insane) that you can provide,
Paul W
 
R

Robert kebernet Cooper

Paul said:
1) Can I expect any resources problems running 3 or more instances of
Tomcat on the same server? Clearly each has to be using a different
port and running them with IIS and Lotus is just another extra twist.

If you have the resources, not. Each instance will start with about
30mb of memory utilization and it will rise depending on the app and
the number of users.
2) Anyone try to run multiple instances of Tomcat as a service on the
same box?

All the time on *nixes. Never tried it on NT, though. You might have to
make your own service bootstrap. Not sure if the jakarta installer will
do that for you.
3) Do I have to change anything on the Tomcat side to get it to run
under a different Windows User?

Nope. Tocat really doesn't care what user it is as long as it has
permissions to its directories and permission to bind its ports.
 
J

Juha Laiho

Paul W said:
Due to a poorly written application that my company is thinking about
buying, I have to setup a server to run 3 (or more!) instances of
Tomcat at the same time. ....
Thanks for any advice (outside that I'm insane) that you can provide,

No advice to give, sorry for that, but just a word of encouragement
that I'm running several Tomcat instances on Unix platform without
problems. Or, ok, at times I'd welcome more memory on the machines,
but then, this shouldn't be an issue with any near-current Intel
system; memory is rather inexpensive there.
 
R

Ryan Stewart

Paul W said:
1) Can I expect any resources problems running 3 or more instances of
Tomcat on the same server? Clearly each has to be using a different
port and running them with IIS and Lotus is just another extra twist.
As the others have said, memory is cheap, and Tomcat itself has a rather
small footprint.
2) Anyone try to run multiple instances of Tomcat as a service on the
same box?
Yes, and on a Windows XP box. Piece of cake.
3) Do I have to change anything on the Tomcat side to get it to run
under a different Windows User?
Aside from logging in as a different user to start it? This I can't help you
with. Try the Tomcat user mailing list.
 
P

Paul W

2) Anyone try to run multiple instances of Tomcat as a service on
the
All the time on *nixes. Never tried it on NT, though. You might have to
make your own service bootstrap. Not sure if the jakarta installer will
do that for you.

How easy\hard is that? Looks like I need to read up on Java a bit
more.

Thanks, for everyone's help. Looks like this might be easier then I
thought!
Paul W

PS Sorry for the delay in responding, Xmas got in the way.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top