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.
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: