[Building Sakai] Is it possible to have Multiple Sakai instances with one Tomcat?

Matthew Jones jonespm at umich.edu
Tue Apr 5 16:56:15 PDT 2011


I might say it's possible but I've never read about anyone doing it. I know
that tomcat supports virtual hosts, but it would be a really different setup
and don't know how it would work with the components directory. If it did
work it seems like the only thing you *might* gain is improved memory usage.
However you wouldn't gain on CPU performance, and if you had to make a
change to one host or if one was having problems you'd have to restart them
all. (No graceful configuration reload for most settings)

We've also done as Steve described and just deployed to separate tomcats and
setup the virtual hosting/proxied from Apache HTTP (and Nginx). Multiple
tomcat instances in separate JVM's is easy and for sure more common.

On Tue, Apr 5, 2011 at 7:41 PM, Steve Swinsburg
<steve.swinsburg at gmail.com>wrote:

> Whats your use case for this?
>
> The different versions of artifacts deployed to shared/lib will cause
> classloader issues and the other artifacts deployed to shared/lib and
> webapps will overwrite each other.
>
> Your best bet is to just run multiple Tomcats. I have six tomcats on this
> machine, one for each version of Sakai I want to run up.
>
> cheers,
> Steve
>
>
> On 06/04/2011, at 6:59 AM, Ravenal wrote:
>
> > Is it possible to have Multiple Sakai instances with one Tomcat?
> >
> > Ravenal
> >
> > --
> > View this message in context:
> http://sakai-project-mail-list-archives.1343168.n2.nabble.com/Is-it-possible-to-have-Multiple-Sakai-instances-with-one-Tomcat-tp6243807p6243807.html
> > Sent from the DG: Development / Buidling Sakai (
> sakai-dev at collab.sakaiproject.org) mailing list archive at Nabble.com.
> > _______________________________________________
> > sakai-dev mailing list
> > sakai-dev at collab.sakaiproject.org
> > http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> >
> > TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110405/9a0945f5/attachment.html 


More information about the sakai-dev mailing list