Re: Advice for Hosting Many Individual Webapps?

2005-08-18 Thread Seth Ladd
Asad Habib wrote: .NET and PHP may have better development/deployment environments, but quite frankly I would rather use Java than C# or PHP to develop web applications. Just look at the robust Java open-source frameworks that exist (i.e. Spring, Turbine, Struts, JSF) just to name a few. Also, .N

Re: Advice for Hosting Many Individual Webapps?

2005-08-18 Thread George L. Sexton
To re-start tomcat, I start a second instance running on a different port and after the second instance is running, change the port forwarding to activate it. > If so is there an advantage to doing that over clustering? It's a simple configuration that only requires one machine. As nice as clu

Re: Advice for Hosting Many Individual Webapps?

2005-08-18 Thread Asad Habib
.NET and PHP may have better development/deployment environments, but quite frankly I would rather use Java than C# or PHP to develop web applications. Just look at the robust Java open-source frameworks that exist (i.e. Spring, Turbine, Struts, JSF) just to name a few. Also, .NET applications are

Re: Advice for Hosting Many Individual Webapps?

2005-08-18 Thread Seth Ladd
Allistair Crossley wrote: we used to just schedule updates and let all our staff know there would be a small amount of downtime (for our intranet) but you can't do this on external production servers, so you need to go with either load balancing/clustering that allows you to close a node down

Re: Advice for Hosting Many Individual Webapps?

2005-08-18 Thread Seth Ladd
Mikolaj Rydzewski wrote: Seth Ladd wrote: The frequency is so much that the uptime of all of our applications is affected as we continually take down Tomcat servers in production to deploy a new application (or new version of the application). Because hot deploy does not work (the old favori

Re: Advice for Hosting Many Individual Webapps?

2005-08-18 Thread Brian Cook
Sorry still not following. If Tomcat is being restarted how do you not have start up time? Is it that you have two instances of Tocmat and you are having the firewall just point to one instance while you bounce the second? If so is there an advantage to doing that over clustering? George

Re: Advice for Hosting Many Individual Webapps?

2005-08-18 Thread George L. Sexton
The net effect is that users have to re-login, but there is no down time. They get bounced, but can immediately log back in. Right now, startup time for my hosted machine is running in the area of 5 minutes. So, I'm eliminating a 5 minute startup cycle. I'm running 60 virtual hosts on one machi

RE: Advice for Hosting Many Individual Webapps?

2005-08-18 Thread Allistair Crossley
Tomcat Users List > Subject: Re: Advice for Hosting Many Individual Webapps? > > > > I think I missed something here. Are you not still bouncing Tomcat > here? If so isnt the service still going down? What is the > benifit of > changign the ports around? I h

Re: Advice for Hosting Many Individual Webapps?

2005-08-18 Thread Mikolaj Rydzewski
Seth Ladd wrote: The frequency is so much that the uptime of all of our applications is affected as we continually take down Tomcat servers in production to deploy a new application (or new version of the application). Because hot deploy does not work (the old favorite OOM error w/ too many

Re: Advice for Hosting Many Individual Webapps?

2005-08-18 Thread Brian Cook
I think I missed something here. Are you not still bouncing Tomcat here? If so isnt the service still going down? What is the benifit of changign the ports around? I have a feeling I missed something in the expliation. George Sexton wrote: The technique I use is this: Run the HTTP con

Re: Advice for Hosting Many Individual Webapps?

2005-08-18 Thread Brian Cook
My solution for this is not elegant. I run 8 apps on one instance of Tomcat and it will be growing to 12 soon. All of those apps are set with autoReload set to true. When I need to update something I manually copy the individual class or JSP file to the proper folder to over write the exis

Re: Advice for Hosting Many Individual Webapps?

2005-08-16 Thread Radek Wierzbicki
Hi, I very often deploy client's applications in multiple tomcat instances. It is normal and each application does not affect another. You just need a strong multiprocessor server with a lot of memory to sustain the last :) The only difference is that I often configure a separate apache instance f

RE: Advice for Hosting Many Individual Webapps?

2005-08-16 Thread George Sexton
The technique I use is this: Run the HTTP connector on port 8080. Forward port 80 to port 8080. To re-start the system: edit the server.xml and run the HTTP connector on port 7080 Change the shutdown port to 8006 Start tomcat, and wait till it comes up. Re-run the firewall script to forward p