[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Clustering different web apps  XML
Forum Index -> Terracotta for Spring
Author Message
vijay

journeyman

Joined: 03/02/2007 06:07:24
Messages: 22
Offline

Can we cluster different web applications across Terracotta?
tgautier

seraphim

Joined: 06/05/2006 12:19:26
Messages: 1781
Offline

Definitely.

If you download the DSO package, use the welcome application to launch the samples launcher. From the samples launcher you can try all of the samples at the same time - all using a single server.

As mentioned in another thread, you can even share the same data across *different* applications. See Hung's blog for more thoughts on this theme: http://unserializableone.blogspot.com/2006/10/share-precious-heap-memory-accross.html

[WWW]
tgautier

seraphim

Joined: 06/05/2006 12:19:26
Messages: 1781
Offline

Just to be clear, my previous post instructed you how to run multiple standalone apps, the same can be done for webapps. Just follow my instructions but download the sessions application.

Using the Welcome Application, with the sessions product, launch the "Configurator". This is an application that comes pre-packaged with two logical tomcat instances, on port 9081 and port 9082. You can start the TC server and the Tomcat instnaces all from this application, and it comes bundled with several demo web apps.

Finally, you can try out your own web app with the configurator, just go to "File | Import web app".

[WWW]
 
Forum Index -> Terracotta for Spring
Go to:   
Powered by JForum 2.1.7 © JForum Team