[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]
What kind of Java Apps TC4Spring can cluster ?  XML
Forum Index -> Terracotta for Spring Go to Page: Previous  1, 2
Author Message
tgautier

seraphim

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

Alex Kozlenkov wrote:
Starting an application four times in a row exhausts the maximum number of connections for the evaluation copy and stops until I restart the server--perhaps there is another reason for this behaviour.
 


Correct, if you start four instances of your application each one will consume a connection.

The trial version is limited to four simultaneous connections. If one of your applications stops (the VM must terminate) the connection should be made available again.

We are more than willing to help you out -- if you need a trial license that supports more than four connections you can get in touch with us at sales@terracottatech.com.

Taylor
[WWW]
Alex Kozlenkov

neo

Joined: 09/28/2006 06:22:46
Messages: 7
Offline

This raises two questions.
(a) How do we clean up the shared objects?
(b) The evaluation version is then really restrictive as even non-concurrent sequential runs against a shared object seem to count.
Thanks, Alex
tgautier

seraphim

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

Alex Kozlenkov wrote:
This raises two questions.
(a) How do we clean up the shared objects?
 


You should not be accumulating objects in your shared datastructures unless you are explicitly intending to do so.

For example if you are using a queue, when you add an object to the queue the queue will hold that object. If your application quits that object will still be in the queue. When your application performs a take() the object will no longer be in the queue and will not live indefinitely (the queue will of course).

It may be that you have shared everything in your app unintentionally. You should only share the objects which need to be shared. We generally show a picture of an application running with Terracotta that has a small subset of shared objects and the rest of the heap is local to the VM.

Another alternative is that you can call clear() on any collection that you want to clear out - but that usage would be application specific.

In general I think it is probably best for us to engage over a different medium than these support forums. I believe you mentioned that some TC representatives are already engaged with your organization. You could also send an email to me at tgautier@terracottatech.com or sales@terracottatech.com and we can setup a phone call to go over these issues.


(b) The evaluation version is then really restrictive as even non-concurrent sequential runs against a shared object seem to count.
Thanks, Alex 


The evaluation version allows 4 simultaneous connections. If you run an application, and then stop it, another application can connect. This can happen indefinitely - the limit is only on the number of simultaneously connected Java VMs.
[WWW]
tgautier

seraphim

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

Alex,

I've posted the Master/Worker pattern and an implementation, a parallel web spider, that uses it.

Read more at http://javathink.blogspot.com/2006/09/lets-go-distributed-how-to-build.html

Taylor
[WWW]
mouadbox

neo

Joined: 09/13/2006 06:58:37
Messages: 8
Location: MGP
Offline

Hi TC team,

I found the toturials very helpful to start using TC solutions for clustering Java Apps.

For this forum readers, I'am posting this link http://www.informit.com/guides/content.asp?g=java&seqNum=264&rl=1
could be useful to get an idea about techniques that TC is using to cluster Java Apps.

Great work TC team, go ahead.

Cheers.
[Yahoo!]
grose

journeyman

Joined: 08/04/2006 07:58:08
Messages: 17
Location: Terracotta, Inc.
Offline

Thanks!

Regards,

Gordon

Gordon Rose
Sr. Systems Engineer
Terracotta, Inc.
Mike Jacobs

neo

Joined: 02/21/2007 15:26:17
Messages: 1
Offline

Taylor wrote:

The trial version is limited to four simultaneous connections.
 


Is this still true?

Mike
steve

ophanim

Joined: 05/24/2006 14:22:53
Messages: 619
Offline

The open source version which is currently functionally the same as the enterprise version has no limitations on connections or server uptime. The only restriction is that if you redistribute it you have to do a form of GUI attribution.

Cheers,
Steve

Want to post to this forum? Join the Terracotta Community
 
Forum Index -> Terracotta for Spring Go to Page: Previous  1, 2
Go to:   
Powered by JForum 2.1.7 © JForum Team