[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]
Restarting terracotta 2.4 while tomcat is running  XML
Forum Index -> Terracotta for Web Sessions
Author Message
erezhara

master

Joined: 08/01/2007 02:36:19
Messages: 57
Offline

I have a terracotta server and two tomcat servers sharing sessions.
All works well till I restarted terracotta. from that point on nothing works.
- tomcat servers do not response to requests.
- terracotta repeatedly logs the following error:
INFO - Unable to find communications stack. ConnectionID(1.91ba486324e84fd59eed8900d803f03e) not found. This is usually caused by a client from a prior run trying to illegally reconnect to the server. While that client is being rejected, everything else should proceed as normal.
[Email]
ari

seraphim

Joined: 05/24/2006 14:23:21
Messages: 1665
Location: San Francisco, CA
Offline

You need to put the server in persistent mode in order to restart it. It then keeps track of connected JVMs and allows them back in to the cluster upon restart. If you do not enable persistent mode, there is no way for the terracotta server to know about clients and thus a client that connects to a "fresh" server and announces itself as "reconnecting" is turned away because the server knows nothing about what that client had been doing in the past.

This search gives many links explaining the situation, architecture, and the appropriate remedies:

http://www.terracotta.org/confluence/display/orgsite/Search+Results?cx=011330805590965408378%3Al-uxr17yka0&cof=FORID%3A9&q=persistent+mode&sa=Search

Hope this helps,

--Ari
[WWW]
erezhara

master

Joined: 08/01/2007 02:36:19
Messages: 57
Offline

10x
now it works
[Email]
 
Forum Index -> Terracotta for Web Sessions
Go to:   
Powered by JForum 2.1.7 © JForum Team